Internet neutrality is a big deal. It enables you, or anyone else, to complete at a true level playing field with large corporations. Please do support Net neutrality Early last year Mark Zuckerberg had pushed to break net neutrality in India. It failed! Read here more about Facebook’s biggest âŠ
Read more âOpen-Source
Posts tagged with
cron errors only
If you run a cron job and you would like to only see the errors reported use cronic on Centos or chrronic on Ubuntu. The latter comes with the package moreutils apt-get install moreutils
Read more âSearch for a text string within files
At times you see that a particular image or so is not found when loading a web page and you are at a loss where the call came from. At least I had that today when I noticed that a menu image was called. The command to search for that is actually really straight forward: grep -rnw 'directory' -e âŠ
Read more âMinify files
I use yui-compressor to minify my files. Itâs so easy. In Ubuntu (15.04) itâs available via apt-get. To install it (on Ubuntu) type the following in your terminal window apt-get install yui-compressor The command structure to run it is yui-compressor SOURCE > TARGET e.g. yui-compressor âŠ
Read more âPrepend and append example of a redirect file using awk and sed
I needed to generate a .htaccess redirect file where each line has a simple command redirect 301 old-file new-file The file called crawl-error.txt with all the required urls that needed a redirect was quite long so I did the following in no time. First ensure that the file is really a proper text âŠ
Read more â