You can use bookmarklets like
Geeklad's script
or you can do it manually with by entering the following into your browser
Monday, February 27, 2012
Saturday, February 11, 2012
Using Colourlovers.com API with NodeJS
Colourlovers.com has a pretty good and straightforward API.
The following snippet fetches the top palettes with the help of NodeJS
The following snippet fetches the top palettes with the help of NodeJS
Monday, January 30, 2012
Customizing The Mongodb Interactive Shell
When the shell is launched, it checks the user's home directory for a javascript file named .mongorc.js.
If this file is found, its contents are interpreted and run by the shell prior to displaying the prompt for the first time.
This allows the user to define variables, customize the prompt, or update information that they would like updated every time they launch a shell.
Here is my .mongorc.js
If this file is found, its contents are interpreted and run by the shell prior to displaying the prompt for the first time.
This allows the user to define variables, customize the prompt, or update information that they would like updated every time they launch a shell.
Here is my .mongorc.js
Tuesday, January 24, 2012
Show file history in git
There are two amazing tools to show a history of a file in git.
or
gitk /path/of/fileor
tig /path/of/file
Saturday, January 21, 2012
Google Chrome 'Confirm to Quit' on Lion
To avoid accidentally closing the browser, executing this line in Terminal makes Google Chrome require
Shift + Cmd + Q to quit.
Shift + Cmd + Q to quit.
Thursday, January 19, 2012
localStorage in iOS5 Private Browsing mode
Attempting to use localStorage.setItem in iOS5 Private Browsing mode will throw the exception
QUOTA_EXCEEDED_ERRROR DOM Exception 22.
But getItem and removeItem calls do not throw.
You can see some details about that in the jStorage discussion
QUOTA_EXCEEDED_ERRROR DOM Exception 22.
But getItem and removeItem calls do not throw.
You can see some details about that in the jStorage discussion
Subscribe to:
Posts (Atom)