Category Archives: Uncategorized

Blackberry Now Supports IDLE on IMAP Accounts

Wahoo! Not sure when it started, but yesterday I noticed IMAP mail was flowing immediately to my Blackberry Curve (I’m a BIS user on T-mobile). Then today, I see this post over at Blackberry Cool which confirms I’m not the only one! http://www.blackberrycool.com/2008/09/bis-customers-now-getting-instant-imap-e-mail/

Sync iCal with Google Calendar

Products like Spanning Sync allow you to sync your iCal with your Google calendar. Now Google has a new service called “Google Calendar CalDAV” that allows you to do the same thing. Details at: Enable Google Calendar in iCal I tried it and it works very good. Everything sync’d within a couple of minutes (I […]

Add a Virtual IP Address in Linux

nano /etc/sysconfig/network-scripts/ifcfg-eth0 Should look something like this DEVICE=eth0 BOOTPROTO=static BROADCAST=172.16.0.255 HWADDR=00:00:00:00:00:00 IPADDR=172.16.0.2 NETMASK=255.255.255.0 NETWORK=172.16.0.0 ONBOOT=yes Duplicate that and open the new file cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 nano /etc/sysconfig/network-scripts/ifcfg-eth0:0 Change device name, set new IP, remove reference to hardware DEVICE=eth0:0 BOOTPROTO=static BROADCAST=172.16.0.255 IPADDR=172.16.0.3 NETMASK=255.255.255.0 NETWORK=172.16.0.0 ONBOOT=yes

Pause a Linux Shell Script using Sleep

It’s easy to pause a shell script during execution. Just add: sleep 10 (where 10 is the number of seconds you want the script to pause.) Some code for testing would be… #!/bin/sh before=”$(date +%s)” echo $before sleep 3 after=”$(date +%s)” echo $after elapsed_seconds=”$(expr $after – $before)” echo Elapsed time for code block: $elapsed_seconds Have […]