python interactive console intellisense

Great tip! http://fernandotakai.wordpress.com/2008/06/17/adding-autocomplete-to-a-python-console/

git add nuances

As a git newbie, I keep forgetting the difference between “git add .” and “git add -A”. git add -A stages All git add . stages new and modified, without deleted git add -u stages modified and updated, without new http://help.github.com/git-cheat-sheets/

Rails 3 Console Error

I could not start the rails console while I was in the project directory with: rails c Issue was with readline and ncurses libraries. Go to ~/.rvm/src/ruby-1.9.2-p0/ext/readline ruby extconf.rb make make install That should do it…

webmin installation on ubuntu

Edit repository list, update apt-get, get the key and install webmin. sudo vim etc/apt/sources.list deb http://download.webmin.com/download/repository sarge contrib wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc apt-get update apt-get install webmin https://localhost:10000

jQuery cookie plugin

I use jQuery for almost every JavaScript I need to write.  I didn’t know about this plugin which manages cookies via jQuery API. http://plugins.jquery.com/project/cookies It is simple and useful…

pageLoad() and ready()

If ever wondered the difference between .ready() abd pageLoad() in JQuery and ASP.NET AJAX frameworks, here is the gist. $(document).ready() Ideal for onetime initialization. Optimization black magic; may run slightly earlier than pageLoad(). Does not re-attach functionality to elements affected by partial postbacks. pageLoad() Unsuitable for onetime initialization if used with UpdatePanels. Slightly less optimized [...]

Better DOS prompt in CMD

If you want to shorten the command prompt, this is very helpful. Thanks to Scott Hanselman…

Enterprise Library 4.1 Install Issue

If you tried to install Enterprise Library 4.1 along side 4.0, it will fail. you need to uninstall 4.0 AND remove this registry key which is not removed by the 4.0 uninstall process: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enterprise Library v4

Copy text from unselectable dialog box

You can capture what is on your computer screen by the “Print Screen” button. You can capture a dialog box to an image by “ALT + Print Screen”. Did you know that you can select the text in a dialog box if there is no right click -> copy or selectable text on it? Very [...]

Follow

Get every new post delivered to your Inbox.