Skip to content

Instantly share code, notes, and snippets.

View toasterlovin's full-sized avatar

Rico Jones toasterlovin

View GitHub Profile
@toasterlovin
toasterlovin / sokoban.rb
Created January 20, 2015 05:51
Our group's solution to the sokoban problem
@level1 = [
['#', '#', '#', '#', '#', '#', '#', '#'],
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'],
['#', '.', ' ', ' ', ' ', 'o', '@', '#'],
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'],
['#', '#', '#', '#', '#', '#', '#', '#']
]
def input_allowed?(input)
allowed = %w{w a s d q}
@toasterlovin
toasterlovin / about.md
Created October 29, 2012 15:23 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@toasterlovin
toasterlovin / Services_Exception April 1st
Created April 2, 2012 17:42
Output from Console.app when using this plugin: http://qsapp.com/dev/Services_Exception.zip (April 1st)
4/2/12 10:40:45.984 AM Quicksilver: -[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0xac728624
4/2/12 10:40:45.985 AM Quicksilver: Exception in - (NSArray *)actions: -[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0xac728624 for service: {
NSMenuItem = "";
NSMessage = loadDataFromExternalSource;
NSPortName = "";
NSSendTypes = (
"com.compuserve.gif",
"public.tiff",
"public.jpeg",
"com.microsoft.bmp",
@toasterlovin
toasterlovin / Services Console Output
Created March 31, 2012 15:48
Output from Console.app when using this plugin: http://qsapp.com/dev/Services.zip
This file has been truncated, but you can view the full file.
3/31/12 8:46:39.791 AM Quicksilver: item Path: /Developer/Examples/Qt/widgets/windowflags/windowflags.app
Dictionary: {
CFBundleExecutable = windowflags;
CFBundleGetInfoString = "Created by Qt/QMake";
CFBundleIconFile = "";
CFBundleIdentifier = "com.yourcompany.windowflags";
CFBundlePackageType = APPL;
CFBundleSignature = "????";
NOTE = "This file was generated by Qt/QMake.";
}
3/31/12 8:38:55.170 AM Quicksilver: There's a problem with: {
NSMenuItem = {
default = "Paparazzi!/Capture URL";
};
NSMessage = captureSelection;
NSPortName = "Paparazzi!";
NSSendTypes = (
NSStringPboardType,
NSFilenamesPboardType
);