Getting your wordpress self hosted stats on your console with bash script.

2010-06-29 3 min read bash Learning
Some time back I wrote a blog on how to get your site stats using curl in <a class="zem_slink freebase/en/bash" title="Bash" rel="homepage" href="http://tiswww.case.edu/php/chet/bash/bashtop.html">bash shell. Today we will use the same script to get the stats every few seconds on the terminal on the same line, similar to progress meter. Here is the script and the description: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Continue reading

Minimize the download size for updates.

2010-02-10 1 min read Fedora Linux
Fedora has rolled out presto repositories. What this means to the users is that the download size for the updates would be greatly reduced. To use the feature, first install the yum plugin: sudo yum install yum-presto.noarch Presto uses delta rpms. These delta rpms are quite small in size (eg few kbs instead of 15 MB for firefox 3.5). These delta rpms are used to re-create the original rpm and this is completely transparent to the end user. Continue reading

Database of vulnurability at milw0rm.com – udpate and makeindex with cron.

2009-09-08 1 min read bash Uncategorized
I am quite regular visitor of milw0rm and generally try to keep up with the vul&#8217;s. For doing this I wrote a small scripts rather set of scripts to keep myself update. Here&#8217;s what we are going to do: Get the latest tar from the site. Extract it. Make the index Have a shortcut to search the index. Download the attached files for the first 2 points. <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/makeindex-milw0rm.sh">makeindex-milw0rm and <a href="http://blog. Continue reading