configuration for afraid-dyndns on Fedora and other similar distro.

2011-03-04 1 min read Fedora Linux
First install afraid-dyndns with the command: 1 <td> <div class="text codecolorer"> sudo yum install afraid-dyndns </div> </td> </tr> Now open the configuration file /etc/afraid-dyndns.cfg and we need to change the following: Notify = root@localhost # leave empty to suppress notifications CacheFile = /var/cache/afraid-dyndns/IP AccountHash = For the Account hash, head over to http://freedns.afraid.org/api/ login and then click one of the XML or the ASCII links there. Once the page has loaded, look at the URL which is of form: Continue reading

Perl script to create csv files with a pattern – Generic script.

2010-01-19 1 min read Learning Linux perl
I was having a really bad day and needed a quick solution to create some csv files. And this I needed to do for multiple data kinds and patterns, so I created this small script to do the job for me… #Number of rows required in the output. $rows = 100; #The config and the output file open (CF_FILE, &#8221;<Config.test&#8221;); open (OUT_FILE, &#8221;>test.csv&#8221;); #————————————————————————— # No need to change anything below this. Continue reading
Newer posts