Great tip! http://fernandotakai.wordpress.com/2008/06/17/adding-autocomplete-to-a-python-console/
All posts in category tips and tricks
python interactive console intellisense
Posted by Altug Sahin on January 20, 2011
http://altugsahin.wordpress.com/2011/01/20/python-interactive-console-intellisense/
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/
Posted by Altug Sahin on November 30, 2010
http://altugsahin.wordpress.com/2010/11/30/git-add-nuances/
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…
Posted by Altug Sahin on November 13, 2010
http://altugsahin.wordpress.com/2010/11/13/rails-3-console-error/
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
Posted by Altug Sahin on November 12, 2010
http://altugsahin.wordpress.com/2010/11/12/webmin-installation-on-ubuntu/
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…
Posted by Altug Sahin on April 28, 2010
http://altugsahin.wordpress.com/2010/04/28/jquery-cookie-plugin/
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 [...]
Posted by Altug Sahin on April 21, 2010
http://altugsahin.wordpress.com/2010/04/21/pageload-and-ready/
Better DOS prompt in CMD
If you want to shorten the command prompt, this is very helpful. Thanks to Scott Hanselman…
Posted by Altug Sahin on April 21, 2010
http://altugsahin.wordpress.com/2010/04/21/better-dos-prompt-in-cmd/
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
Posted by Altug Sahin on April 21, 2010
http://altugsahin.wordpress.com/2010/04/21/enterprise-library-4-1-install-issue/
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 [...]
Posted by Altug Sahin on April 21, 2010
http://altugsahin.wordpress.com/2010/04/21/copy-text-from-unselectable-dialog-box/