Monthly Archives: April 2015

Script to simulate multiple DHCP clients

#!/bin/sh #simulate 255 IPhones requesting DHCP     # Apple OUI = D8:96:95 BASE=”d8:96:95:08:96″ FROM=$1 shift TO=$2   if [ -e $FROM ]; then FROM=1; fi if [ -e $TO ]; then TO=1; fi   for i in `seq $FROM … Continue reading

Posted in Uncategorized | Leave a comment

Daily backup of local git changes

While working on a ticket and not ready to commit, it’s a good idea to backup all of our changes to an archive file. The following script does all that and executed daily by cronjob automatically. create a file, say … Continue reading

Posted in Uncategorized | Leave a comment