Skip to content

Instantly share code, notes, and snippets.

Original titles and years from:
http://www.colinlevy.com/upload/Scorsese_foreign-film-list.jpg
Metropolis (1927)
Nosferatu, eine Symphonie des Grauens (1922)
Dr. Mabuse, der Spieler - ein Bild der Zeit (1922)
Napoleon (1927)
La Grande Illusion (1937)
La Regle de jeu (1939)
Les Enfants du Paradis (1945)
@xorrbit
xorrbit / gist:2771494
Created May 22, 2012 20:42
GNU true source
/* Exit with a status code indicating success.
Copyright (C) 1999-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
Reply from 192.168.0.2: bytes=32 time=7ms TTL=64
Reply from 192.168.0.2: bytes=32 time=5ms TTL=64
Reply from 192.168.0.2: bytes=32 time=3ms TTL=64
Reply from 192.168.0.2: bytes=32 time=2ms TTL=64
Reply from 192.168.0.2: bytes=32 time=1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time=8ms TTL=64
Reply from 192.168.0.2: bytes=32 time=7ms TTL=64
Reply from 192.168.0.2: bytes=32 time=6ms TTL=64
Reply from 192.168.0.2: bytes=32 time=5ms TTL=64
$ git status
error: object file .git/objects/e1/34d8f722cfb999b1aa5ab73698dc58309fd16b is empty
fatal: loose object e134d8f722cfb999b1aa5ab73698dc58309fd16b (stored in .git/objects/e1/34d8f722cfb999b1aa5ab73698dc58309fd16b) is corrupt
$
Embedded / Electronics night featuring a functionality and design demo of the μJoypad, the world's (unofficially) smallest NES controller |+ ..|
Monday, November 5th, 2012
7:00 pm
SkullSpace Lounge, 3rd floor, 125 Adelaide St.
After the success of our last embedded / electronics night, I thought we should have another! I'm proposing we get together on November 5th at 7:00
and I will start things off with a short, informal demo of my latest project, the μJoypad, a nickel sized NES controller[1][2]. I designed the board
using the free and open source tools available as part of the gEDA project and will be showing how I used those tools to quickly put together the
schematic and PCB layout.
We couldn’t find that file to show.
@xorrbit
xorrbit / gist:4083851
Created November 16, 2012 03:46
FOR THE DOCTOR
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/adc.h"
void main(void) {
unsigned long ulValue;
//
// Enable the first sample sequencer to capture the value of channel 0 when
// the processor trigger occurs.
//
@xorrbit
xorrbit / array_with_then.rb
Created December 18, 2012 18:00
Array range set thing
class Array
def with(range)
range.each do |i|
self.push i if not self.include? i
end
self
end
def then(range)
self.with(range)
gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable'
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
aorr@l00055-ubu:~/whatme/store2/db/migrate$ ls
20130118015901_spree_one_two.spree.rb
20130118015902_add_tax_rate_label.spree.rb
20130118015903_add_toggle_tax_rate_display.spree.rb
20130118015904_remove_unused_preference_columns.spree.rb
20130118015905_add_lock_version_to_variant.spree.rb
20130118015906_add_states_required_to_countries.spree.rb
20130118015907_add_on_demand_to_product_and_variant.spree.rb
20130118015908_remove_not_null_constraint_from_products_on_hand.spree.rb
20130118015909_split_prices_from_variants.spree.rb