Monthly Archive: November 2014

error: libudev.h: No such file or directory 0

error: libudev.h: No such file or directory

Problem: error: libudev.h: No such file or directory Solution: $> sudo yum install libudev-devel Another related error : /usr/bin/ld: skipping incompatible /usr/lib64/libudev.so when searching for -ludev /usr/bin/ld: cannot find -ludev collect2: ld returned 1...

Singleton pattern in RequireJS 0

Singleton pattern in RequireJS

Yes this is possible and has its advantage. I use it often for Toolbox-like functions. This is the basic approach define(function (require) { var singleton = function () { return { ... }; };...

Create a ISPConfig server with mail MX support 0

Create a ISPConfig server with mail MX support

() Follow official doc () Make sure you have the right root email before you activate email so you dont spam the wrong inbox : echo "myhostname.com" > /etc/mailname /etc/init.d/postfix restart Troubleshooting If you...