站群、Adsense、Media Buy
VPS

VPS

Concept

Ref

Read more
Wordpress Ecommerce website
Frontend Questions

Frontend Questions

  1. Why assigning too many ids to html elements is not a good practice?
Read more
CSS & HTML tips

CSS & HTML tips

CSS

Background

1
2
3
body {
background: #ffffff url("img_tree.png") no-repeat right top;
}
Read more
PDF
Log4js

Log4js

Tips

  • By default, log4js level for default category is set to OFF, thus not outputting any logs. To turn on logging, level must be set other than OFF.
  • Levels: TRACE -> DEBUG -> INFO -> WARN -> ERROR -> FATAL
Read more
Using Oracle in node.js

Using Oracle in node.js

FAQ

Foat precision

  • When retrieving float number, there will be precision problems.
    • Solution: fetchAsString
    • Solution: trim number to certain digits like 10 or 12

execute() options

Using MongoDB in node.js