This gist is part of a blog post. Check it out at:
Credit to Jason Rudolph for inspiration:
@level1 = [ | |
['#', '#', '#', '#', '#', '#', '#', '#'], | |
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'], | |
['#', '.', ' ', ' ', ' ', 'o', '@', '#'], | |
['#', ' ', ' ', ' ', ' ', ' ', ' ', '#'], | |
['#', '#', '#', '#', '#', '#', '#', '#'] | |
] | |
def input_allowed?(input) | |
allowed = %w{w a s d q} |
This gist is part of a blog post. Check it out at:
Credit to Jason Rudolph for inspiration:
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", |
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 | |
); |