Author: Chris Perivolaropoulos
The way callables work in python can be a bit strange. You have methods that take an argument self
but only when called from an object and classmethods and static methods etc. Let's take a more in-depth look at how cpython handles all this
Mac OS X comes with a command line tool for maniplating the clipboard
called pbcopy
. It's usage is simple: you throw stuff in it's stdin
and that stuff is copied to the clipboard. This way we can teach emacs
to copy stuff to the clipboard with this function
(defun paste-to-osx …
What we are doing here is adding a search engine to firefox like real men ie programmatically. This is nice because you can then write scripts to do interesting stuff with them.
READ MORE
There are times when you want to have everything on RAM. There are times when everything is more than 500M. And then there are times when you want both. That's when everything goes to hell.
READ MORE