Skip to content

Instantly share code, notes, and snippets.

View spacecowboy's full-sized avatar

Jonas Kalderstam spacecowboy

View GitHub Profile
@spacecowboy
spacecowboy / master.py
Created September 8, 2011 16:04
A simple proof of concept for building your own super computer in python, assuming you have access to many machines.
from multiprocessing.managers import BaseManager
from mathenate import mathenate
#Define manager
class QueueManager(BaseManager): pass
QueueManager.register('get_job_queue')
QueueManager.register('get_result_queue')
#Connect to server
m = QueueManager(address=('my.computer.org', 50000), authkey='password')
@spacecowboy
spacecowboy / picasa_download.rb
Created August 9, 2011 11:01 — forked from jubo/picasa_download.rb
Backs up all the photos from Google Picasa Web Albums. Multithreaded
# Backs up all the photos from Google Picasa Web Albums.
#
# The script downloads the original version of the photos, and is not limited to
# 1600x1200 thumbnails.
#
# Author:: Victor Costan
# Copyright:: Copyright (C) 2010 Victor Costan
# License:: MIT
#