How to use:
./wordle.sh
Or try the unlimit mode:
#define MIN_PASTE(A,B) A##B | |
#define MIN_IMPL(A,B,L) ({ __typeof__(A) MIN_PASTE(__a,L) = (A); __typeof__(B) MIN_PASTE(__b,L) = (B); MIN_PASTE(__a,L) < MIN_PASTE(__b,L) ? MIN_PASTE(__a,L) : MIN_PASTE(__b,L); }) | |
#define MIN(A,B) MIN_IMPL(A,B,__COUNTER__) |
// function | |
void with(id obj, void (^block)(id obj)) | |
{ | |
block(obj); | |
} | |
// example use | |
with(blah, ^(Blah *blah) { | |
// use blah here | |
}); |
#!/usr/bin/env ruby | |
# rubycocoa | |
require 'osx/cocoa' | |
include OSX | |
OSX.require_framework 'ScriptingBridge' | |
class GraffleConverter | |
def initialize | |
@graffle = SBApplication.applicationWithBundleIdentifier_("com.omnigroup.OmniGraffle") |
@interface NSKeyedUnarchiver (Xcode5Fix) | |
@end | |
@implementation NSKeyedUnarchiver (Xcode5Fix) | |
+ (void)load | |
{ | |
[self exchangeInstanceMethod:@selector(decodeInt32ForKey:) | |
withMethod:@selector(xcode5Fix_decodeInt32ForKey:)]; | |
} |
""" File: reveal.py | |
Add to ~/.lldbinit: | |
command script import ~/.lldb-scripts/reveal.py | |
Q: Want to automatically load the Reveal lib on launch while debugging from Xcode? | |
A: In Xcode: | |
Add a Symbolic Breakpoint | |
Symbol: "UIApplicationMain" | |
Action: Debugger Command with value "reveal" |
""" | |
Automate loading of F-Script Anywhere into any app. | |
By Daniel Jalkut - @danielpunkass - http://indiestack.com/ | |
To set up: | |
0. Make sure you have FScript.framework installed in /Library/Frameworks (http://www.fscript.org) | |
1. Copy this script to ~/.lldb/fsa.py | |
2. Add the following to your ~/.lldbinit file: |