Learn Python the Hard Way
(Source: learnpythonthehardway.org)
This past Saturday was the JS.Everywhere conference put on by Wakanda. It was a lot of fun, and there were some really great presenters. Douglas Crockford gave a brief history and description of our favorite language,Julian Aubourg showed off jQuery’s “magical” deferreds, and Dave Terry gave a very slick demo of Wakanda.
The above link is for the event’s twitter stream. I’ll likely follow up with more detailed posts about particular topics.
If you use the bash shell, you probably already know that hitting up will show the last command. Nice, but at some point you’ve probably had to go back dozens of lines before you got to the command you wanted, at which point just typing the command again is easier than hitting up 37 times.
Control R solves this problem. Type Ctrl-R; it will prompt you, and what you type will filter your entire command line history.
Lets say you want to restart your apache server, again, but you don’t remember that cryptic command you used 5 hours ago. You do remember it was something something restart, and so you type in:Ctrl-r resta
and before you even finish typing restart, the following command appears:sudo /etc/init.d/apache2 restart
Awesome! Hit enter to use this command. Or continue hitting Ctrl-r to scroll through more matching results.
If you’re an Emacs user, you’ll notice that Ctrl-r is the command for reverse search, which is exactly what we are doing.
I had been using the command line for 6 years before I discovered this gem. I wish somebody had written a blog post about it.
Douglas Crockford on the creation of JavaScript; The Tale of JavaScript. I Mean ECMAScript
(Source: channel9.msdn.com)
Learn Python the Hard Way
(Source: learnpythonthehardway.org)
didn’t see this coming… In the middle of Python Docs
(Source: docs.python.org)
Paul Graham, Programming Bottom-Up
(Source: paulgraham.com)
Paul Graham, Great Hackers
(Source: paulgraham.com)
$string is a fantastic variable name!"