View gist:a71629350eae1050e1ae932095268059
ACTION = build
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = grantdavis
View gist:e2eeefbb74eca0ccfb7996653b788a68
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
View LineaSDK.h
/****h* Functions
In order to use Linea in your program, several steps have to be performed:
- Include LineaSDK.h and libLineaSDK.a in your project.
- Go to Frameworks and add ExternalAccessory framework
- Edit your program plist file, add new element and select "Supported external accessory protocols" from the list, then add two items to it - \ and
/****h* Barcode Engine
View TweetViaTweetbot.applescript
-- TweetViaTweetbot.applescript
-- Copy title and URL in the front most window of Safari to Tweetbot with link
-- Author: Romain Briche
on copyTitleAndLinkToTweetbot(theTitle, theURL)
tell application "System Events"
set tweet to theTitle & " " & theURL & " via @"
set the clipboard to tweet as text
View AZModel.h
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface AZModel : NSObject
+ (AZModel *)sharedModel;
- (__strong NSManagedObjectContext *)managedObjectContextForCurrentThread;
- (__autoreleasing NSManagedObjectContext *)newManagedObjectContextForCurrentThread;
View NSObject+setValuesForKeysWithJSONDictionary.h
// NSObject+setValuesForKeysWithJSONDictionary.h
// SafeSetDemo
// Created by Tom Harrington on 12/29/11.
// Copyright (c) 2011 Atomic Bird, LLC. All rights reserved.
#import <Foundation/Foundation.h>
View IPInsetLabel.h
// IPInsetLabel.h
// Instapaper
// Created by Marco Arment on 7/23/11.
// Copyright 2011 Instapaper LLC, released to the public domain.
#import <UIKit/UIKit.h>
View YouTubeHacks.m
// Ok, this stuff is straight out of
// Business-like it's probably not a good idea to share this
// but I just really love helping people and open sourcing stuff.
// Consider this snipped licensed under MIT, by Peter Steinberger.
// This uses all kinds of nasty private API, but I don't see another way.
// I tried to extract the mp4 URL in this project,,
// but it required *lots* of hacks, is slow, and doesn't worked very well on iOS5.
// Turns out, Google _really_ doesn't want people access to their mp4 sources.
View TBXML+NSDictionary.h
#import "TBXML.h"
@interface TBXML (TBXML_NSDictionary)
+ (NSDictionary*)dictionaryWithXMLNode:(TBXMLElement*)element;
+ (NSDictionary*)dictionaryWithXMLData:(NSData*)data;