For some reason this seems confusing– but it isn’t! That said, I always forget the specifics. Here’s how you use ssh-agent to do key forwarding to remove machines.
On your local machine, execute:
eval `ssh-agent`
Note the back ticks around ssh-agent. you need to eval this, not run it!
Now you need to add the identities you want [...]
The JSON module supports encoding (aka serializing) for all the basic built-in python types– strings, lists, dictionaries, tuples, etc. but if you have your own user-defined class that you want to store, I found the documentation to be pretty ambiguous. And since I also didnt see any complete examples out there of custom object [...]
Lately I find myself writing a lot of python scripts that involves a ton of text flying by, and me inventing increasingly creative combinations of obscure symbols to delineate different portions of the output. Luckily, if you’re not using windows using a sensible operating system, then you probably have an underappreciated tool at your disposal– [...]
Lately I’ve really been enjoying the NASA Image of the Day, and so I decided to make a script to update my gnome background daily with the new images. here’s a really great one that came in the other day:
I thought of making a nice python script using the elegant universal feed parser; something able [...]
these are basically my notes as a total n00b coming to postgres and postgis from previous experience with mysql. hopefully, they will be useful to others as well in finding their feet. i am using ubuntu, but except for the package names below these instructions should be rather generic for non-windozz systems.
first thing’s is [...]