< Browse > Home / Archive by category 'Programming'

| RSS



Perl – Migrating User Accounts From Old To New Linux Distribution

Migrating user accounts can be very troublesome when you have a large numbers of users. So, is always recommended to deploy active directory or LDAP to have a centralized authentication system. If your organization don’t have AD or LDAP and have large portion of users needed to transfer from 1 to another server. Don’t worry, [...]

[ More ] October 22nd, 2008 | View Comments | Posted in Programming |

PHP – Tax Calculator

I wrote a simple tax calculator with PHP, feel free to use it. This tool only supports Singapore Tax 2008. All calculations are based on the documents and formula from the official site (http://www.iras.gov.sg). Please report to me if you found any errors or miscalculations. Tax Calculator

[ More ] October 10th, 2008 | View Comments | Posted in Programming |

Filter ifconfig with Perl

Linux/Unix: Below is the commands to filter ifconfig to show only the eth0 IP address in Linux. Perl Script: Option 1 eth0 | grep “inet addr”| awk {‘print $2′} | perl -e ‘while(<>){ ($a,$b)=split/:/; print $b; }’ Option 2 ifconfig eth0 | grep “inet addr” | perl -e ‘while (<>) { ($inet, $addr, $ip, $others) [...]

[ More ] October 7th, 2008 | View Comments | Posted in Programming |

World Vision / WWF

World Vision
One Life - Do Something
I support WWF

Subscribe

Follow Me Twitter Follow Me Friendfeed Subscribe RSS to receive content updates in your favorate reader
Follow Me Facebook Follow Me LinkedIn
RSS Subscribe in a reader
RSS Or, subscribe via email: