Life runs on code

Links

GlusterFS fix faulty bricks

GlusterFS fix faulty bricks

Great tutorial to manage glusterFS : readthedocs if you are getting error like volume add-brick: failed: Incorrect number of bricks supplied 1 with count 2 Then you are trying to add  distribute leg, which requires multiple bricks based on replication setting, try following command gluster vol add-brick <vol-name> <brick1><brick2>

Fix Logitech MX Master Scroll Wheel Issue

Fix Logitech MX Master Scroll Wheel Issue

https://toemat.com/logitech-mx-master-fix/

Cache a large array: JSON, serialize or var_export?

Cache a large array: JSON, serialize or var_export?

http://techblog.procurios.nl/k/n618/news/view/34972/14863/cache-a-large-array-json-serialize-or-var_export.html

Writing modular JavaScript without polluting the global namespace

Writing modular JavaScript without polluting the global namespace

http://marcofranssen.nl/writing-modular-javascript-without-polluting-the-global-namespace/

HTML5 a tag download Attribute

HTML5 a tag download Attribute

In HTML5, you can download file when clicking on the link instead of redirecting to the file. Read More : http://www.w3schools.com/tags/att_a_download.asp

A proper way to prepare IN Query in WordPress

A proper way to prepare IN Query in WordPress

A good article on wp_kses Performance

A good article on wp_kses Performance

https://www.tollmanz.com/wp-kses-performance/

WordPress Multisite Crontab using WP-CLI Raw

WordPress Multisite Crontab using WP-CLI Raw

How to add Swap on ubuntu

How to add Swap on ubuntu

https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04