Featured Posts

Adding HTML Signature to your iPhone 4 without Jailbreaking itAdding HTML Signature to your iPhone 4 without Jailbreaking... One of the features missing on the iPhone is HTML signature for Mail, and if you are using two different email addresses like me you probably want to have two different...

Readmore

Play Tetris Using Mac Leopard TerminalPlay Tetris Using Mac Leopard Terminal Terminal Tetris is actually part of the Gnu Emacs and is something you should able to do on any unix system that has Emacs on it. I attached text and video instructions. To...

Readmore

Automate a Remote Login Using SSH - LinuxAutomate a Remote Login Using SSH - Linux To do just that you need to create SSH Key Pair 1. we need to use ssh-agent to create an SSH key pair. To do that run this command: ssh-keygen -t rsa When prompted...

Readmore

Free Google Wave InvitesFree Google Wave Invites Do you really want a Google Wave Invite but don't want to pay $$$ on eBay??? I got one for you.... The deal is: I give you an Invitation and once you get it...

Readmore

Start Google Chrome in Incognito ModeStart Google Chrome in Incognito Mode I'm Using Mozilla FireFox as my default web browser But I like using Chrome for Private Browsing. Google Chrome doesn't provide an option to load Incognito by default so...

Readmore

Cool Geex Rss

Viewing file differences in Terminal using colors

Posted on : 08-13-2009 | By : Cool Geex | In : Linux, Mac Leopard, Terminal

0

So, a friend asked me who come my terminal is full of colors and he have one color.

To make your files list in color just type ls -G, or make ‘ls’  show colors by default, this is how:

Video Version:

Text Version:

Start Google Chrome in Incognito Mode

Posted on : 08-12-2009 | By : Cool Geex | In : Apple, Mac Leopard, Script Editor, Windows

28

I’m Using Mozilla FireFox as my default web browser But I like using Chrome for Private Browsing.

Google Chrome doesn’t provide an option to load Incognito by default so I created one.

Windows

If you’re using windows

  1. Place a Google Chrome shortcut on the desktop.
  2. Rename the shortcut to Incognito.
  3. Right click on the shortcut and select ‘Properties’.
  4. On the ‘Target’ field add an –incognito to the end of program path. (Note: Make sure there is a space between the last apostrophe and the dash)
  5. Your incognito browser is now ready for launch.


Mac

If you’re using Mac

1.Set google.com as your home page

2.Open Apple Script Editor and copy paste that script:

PHP Email Address Validator

Posted on : 08-10-2009 | By : Cool Geex | In : PHP / MySql

0

email-validator

Few Years ago I wrote an email validator function for sites forms, one that I used until I found email address validator from Google Code.Enjoy the code by clicking the download now button.

Place Google Voice calls directly from iPhone

Posted on : 08-10-2009 | By : Cool Geex | In : Apple, iPhone, Mac Leopard, Script Editor

1

The script works by adding numbers to contacts in Address Book that dial your contact via Google Voice. The new number is prefixed with your Google Voice number, your pin, and the number two. It dials into your Google Voice number and places the call to your contact.

Here is the code. Replace PIN_HERE and GV_NUMBER with your Google Voice pin # and your google voice number.

Enter this in Script Editor then compile and run:
[applescript]
set mymypin to “PIN_HERE”
set gvnumber to “GV_NUMBER”

tell application “Address Book”
repeat with thePerson in people
set nums to the phones of thePerson
repeat with num in nums
if the (label of num) contains “GV” then
tell thePerson
delete num
end tell
else
set gvPhone to {label:”", value:”"}
set label of gvPhone to “GV” & the (label of num)
set value of gvPhone to gvnumber & “,” & mypin & “,2,” & the (value of num)
tell thePerson
make new phone at end of phones with properties gvPhone
end tell
end if
end repeat
end repeat
end tell
[/applescript]
Use that method until Google will release API for Google Voice

Play Tetris Using Mac Leopard Terminal

Posted on : 08-08-2009 | By : Cool Geex | In : Games, Linux, Mac Leopard, Terminal, Unix

1

Terminal Tetris is actually part of the Gnu Emacs and is something you should able to do on any unix system that has Emacs on it.

I attached text and video instructions.

To start it all you have to do is:

1. Open Terminal

2. type: “emacs” and wait for the emacs screen to load

3. hit “esc” then type “x”

4. type “tetris” (lowercase letters)

5.Enter

A Tetris game will load in the window and you can play it by using the arrow keys & space to control the falling blocks.