Skip to content

Instantly share code, notes, and snippets.

Avatar

Rico Jones toasterlovin

View GitHub Profile
@toasterlovin
toasterlovin / sokoban.rb
Created Jan 20, 2015
Our group's solution to the sokoban problem
View sokoban.rb
@level1 = [
['#', '#', '#', '#', '#', '#', '#', '#'],
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'],
['#', '.', ' ', ' ', ' ', 'o', '@', '#'],
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'],
['#', '#', '#', '#', '#', '#', '#', '#']
]
def input_allowed?(input)
allowed = %w{w a s d q}
@toasterlovin
toasterlovin / about.md
Created Oct 29, 2012 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
View about.md
@toasterlovin
toasterlovin / Services_Exception April 1st
Created Apr 2, 2012
Output from Console.app when using this plugin: http://qsapp.com/dev/Services_Exception.zip (April 1st)
View Services_Exception 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 Mar 31, 2012
Output from Console.app when using this plugin: http://qsapp.com/dev/Services.zip
View Services Console Output
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.";
View Services_Exception Console Output
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
);