Search Ali's Blog

Wednesday, April 23, 2008

The Evolution of a Programmer

The complete evolution is here

My favorite part:

Middle Manager

  mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.

Senior Manager

  % zmail jim
I need a "Hello, world." program by this afternoon.

Chief Executive

  % letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Monday, April 21, 2008

HOWTO change iPhone MAC address!

Update: I've published an easier way using BossPrefs

For those who need to spoof their MAC address in the iPhone, follow these instructions:
1. Install Term-vt100 on you iPhone (via the App installer & Conceited Software source, also available in cydia)
2. Open the terminal (default password is "alpine"), if it doesn't ask for password, run 'su' then type 'apline'
-- Do use local terminal rather than SSH since you're gonna change network configuration.
3. Run "ifconfig", and write down you original MAC address as appears in ifconfig output (see snapshot above)
4. Choose fake MAC address (for those who's trying to bypass MAC filtering mechanism, you need to find one, use your imagination.. or sneak to your friends laptop -- avoid MAC conflicts!)
5. Run the following commands on your iPhone
echo "ifconfig en0 ether ORIG_MAC" > ./
echo "ifconfig en0 ether FAKE_MAC" > ./
chmod +x
6. We're done, to switch to the new MAC address:
- Run (from terminal) "./"
to switch back to your original MAC address:
- Run (from terminal) "./"

NOTE: your MAC is restored after iPhone restart
If you wish to make your fake MAC constant:
1. Run
(from terminal or ssh): echo /var/root/ >> /etc/rc.local
2. Run (from terminal or ssh): chmod 755 /etc/rc.local
3. Restart your iphone

Happy hacking.

Thursday, April 17, 2008

iPhone Ad-Hoc

For those who cannot connect their iPhone to wireless network (many reason: MAC filtering, security, no router..)
you may follow these simple steps:
1. Configure you wireless network connection to be an adhoc connection:
1.1 On Windows XP: double click on wireless connection icon
1.2 properties, wireless networks tab, add
1.3 SSID=iphone-proxy
1.4 set password, and select the "adhoc" option
1.5 go back to TCP/IP configuration and set IP=, netmask=
2. Configure your iPhone
2.1 settings, Wi-Fi, select iphone-proxy network and set these parameters
2.2 IP=, netmask=, manual proxy:
3. Share your internet connection on your host, for Windows XP PC:
3.1 double click on the network icon to be shared
3.2 advanced tab, and then enable sharing
3.3 if your administrator disabled this option(bastards!) the install your own proxy:
3.3.1 download and install burpsuite:
URL1: (if this link is filtered by your admin, try URL2)
3.3.2 extract the zip file and run the executable, a GUI windows will be opened
3.3.3 proxy, option, unselect "looback interface only", unselect "intercept if"
4. Enjoy!


Monday, April 07, 2008

The Ultimate Rejection Letter

Herbert A. Millington
Chair - Search Committee
412A Clarkson Hall, Whitson University
College Hill, MA 34109

Dear Professor Millington,

Thank you for your letter of March 16. After careful consideration, I regret to inform you that I am unable to accept your refusal to offer me an assistant professor position in your department.

This year I have been particularly fortunate in receiving an unusually large number of rejection letters. With such a varied and promising field of candidates, it is impossible for me to accept all refusals.

Despite Whitson's outstanding qualifications and previous experience in rejecting applicants, I find that your rejection does not meet my needs at this time. Therefore, I will assume the position of assistant professor in your department this August. I look forward to seeing you then.

Best of luck in rejecting future applicants.

Chris L. Jensen


Wednesday, April 02, 2008

Windows HW identifications

Last time I installed a PC for a friend it took me time to identify the HW he got in the box and to download the appropriate drivers.
This is useful link explains how to identify your hardware and install relevant drivers on Windows.

Of course you can always move to Linux.

Tuesday, April 01, 2008

Interactive screens

different interactive screens, very nice technologies: