This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imp | |
try: | |
imp.find_module("gdb") | |
except ImportError: | |
raise Exception("This file is a GDB script.\n" | |
"It is not intended to be run outside of GDB.\n" | |
"Hint: to load a script in GDB, use `source this_file.py`") | |
import gdb | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
def wait_until_all_threads_finish(): | |
all_threads = threading.enumerate() | |
all_threads.remove(threading.current_thread()) | |
for t in all_threads: | |
t.join() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface NSObject (SPBindings) | |
-(void)sp_bind:(NSString*)binding toObject:(id)observable withKeyPath:(NSString*)observableKeyPath; | |
-(void)sp_unbind:(NSString*)binding; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# (Above line comes out when placing in Xcode scheme) | |
# | |
# Inspired by original script by incanus: | |
# https://gist.github.com/1186990 | |
# | |
# Rewritten by martijnthe: | |
# https://gist.github.com/1379127 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example use: | |
// See below for FancyLoader.src.js source | |
var loader = FancyLoader(); | |
var defs = { | |
scripts: { | |
j: { | |
src: 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', | |
doesExist: loader.doesJQueryExist, | |
dependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1) Vul PASNR en REKENINGNUMMER in. | |
// 2) Copy & paste de code | |
// 3) Maak een bookmark aan met deze regel code als URL. | |
// 4) Als je op de inlog pagina bent, klik dan de bookmark aan om je rekeningnr en pasnr automatisch te laten invullen. | |
javascript:document.getElementById('AuthBpasNrv4').value='PASNR';document.getElementById('AuthIdv4').value='REKENINGNR'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>English</string> | |
<key>CFBundleExecutable</key> | |
<string>$(EXECUTABLE_NAME)</string> | |
<key>CFBundleIdentifier</key> | |
<string>com.martijnthe.${PRODUCT_NAME:rfc1034identifier}.xcodeplugin</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{msg:"yay!"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/freetype/__init__.py b/freetype/__init__.py | |
index e175d52..e602d9c 100644 | |
--- a/freetype/__init__.py | |
+++ b/freetype/__init__.py | |
@@ -30,15 +30,24 @@ import ctypes.util | |
__dll__ = None | |
__handle__ = None | |
FT_Library_filename = ctypes.util.find_library('freetype') | |
+ | |
if not FT_Library_filename: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Isl < Formula | |
homepage 'http://www.kotnet.org/~skimo/isl/' | |
url 'http://garage.kotnet.org/~skimo/isl/isl-0.11.1.tar.bz2' | |
mirror 'ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.10.tar.bz2' | |
sha1 'd7936929c3937e03f09b64c3c54e49422fa8ddb3' | |
head 'http://repo.or.cz/w/isl.git' |
OlderNewer