Author: frank
How to update a node module with npm (npm update module?)
How to npm update module for node.js ? (1) First step is to go to the folder node_module: $> cd vendor/node_modules (modify for your own project) (2) Run npm update <module>, let say the...
Breaking the cross-domain barrier in AJAX and Backbone
XHRfield withCrendentials, Cookies, JSONP, CORS and all those stuff... what to do for the needed scenario. It is really a mess out there and I clarified for myself all of this and put it...
Change hostname on CentOS
Greeting mortal friend, welcome to my shorter tech-help article ever ! I wrote it because I always forget it myself : $> sudo gedit /etc/sysconfig/network Then edit the line with HOSTNAME=donkey Click here to...
'XYZ' probably isn't a 64-bit LSB-first ELF file.
Solution: Install both chrpath.x86_64 and chrpath.i686 ! $> sudo yum install chrpath.x86_64 You might also need to only install i686 version. For that first remove the one above: (1) $> sudo yum remove chrpath...
/usr/bin/ld: cannot find -lbz2
Solution: $> sudo aptitude install libbz2-dev or $> sudo yum install bzip2-devel
/bin/sh: chrpath: command not found
Solution: sudo yum install chrpath Note : You might then have problems like this : chrpath -r `readlink -f arch/linux-i686/thelib`:`readlink -f ../arch/linux-i686/stage/opt/haivision/lib` arch/linux-i686/crtmpserver/crtmpserver `arch/linux-i686/crtmpserver/crtmpserver' probably isn't a 64-bit LSB-first ELF file. Solution :...
Link for ajax calls that do nothing : javascript:doNothing(); return false;
Solution: Use javascript:void(0); Here are the full explanations. Some link are processed via ajax and binded with the ID or class and don't have use of a HREF value because they don't go anywhere...
Debug Joomla
Debug your Joomla installation by enabling these two config: Global Configuration > System > Debug System: Yes Global Configuration > Server > Error Reporting > Maximum That's it !
PHP Fatal error: Class 'JoomFishManager' not found in XYZ.php
Fatal error: Class 'JoomFishManager' not found After copying a Joomla website, you might stumble on this kind of error : "Fatal error: Class 'JoomFishManager' not found" Solution: Disable the mod_translate from the Module...
Recent Comments