Skip to content

Instantly share code, notes, and snippets.

codesign -dvvvv osxfusefs.fs/Support/osxfusefs.kext
Executable=osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs
Identifier=com.github.osxfuse.filesystems.osxfusefs
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20200 size=724 flags=0x0(none) hashes=28+3 location=embedded
Hash type=sha1 size=20
CDHash=06b5ab8f4785c4519a921d10aef3737c4a6fc61f
Signature size=8571
Authority=Developer ID Application: Benjamin Fleischer (3T5GSNBU6W)
Authority=Developer ID Certification Authority
AFNetworking - HTTP
SDWebImage - Images
ObjectiveSugar - Enhancements
YapDatabase - Storage (maybe check out Realm?)
Mantle - Object Serialization (binary and JSON)
YOLayout - View Layout**
MRProgress - Progress Indicators
GHUITable - Tables**
GHKit - Enhancements**
Slash - Attributed Text
#
# Usage:
# tree.rb -l <low-value> -h <hi-value> -f <file>
# Function:
# Read in the file, one value per line. Then output all words between
# [<low-value>,<hi-value>] inclusive to standard output, in sorted order.
# This is a test-of-concept for a server function that will preload a binary-tree
# and then serve queries in O(log(n) + m) time, where n is the number of
# items in the input file, and m is the number of items in the output set.
@gabriel
gabriel / gist:12bf61bbe3bbeade76d9
Created August 20, 2015 23:09
Bingo nights (SF)
Monday: Elixir
Wednesdays: Sycamore? (7:30ish)
Wednesdays: Hi Top (http://hitopssf.com/)
Thursdays: Knockout (http://www.theknockoutsf.com/)
<?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>Colors</key>
<dict>
<key>Background</key>
<string>0.078 0.078 0.078</string>
<key>InsertionPoint</key>
<string>1.000 1.000 1.000</string>
//
// GTMStackTrace.m
//
// Copyright 2007-2008 Google Inc.
//
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// GTMStackTrace.h
//
// Copyright 2007-2008 Google Inc.
//
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
<?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>Colors</key>
<dict>
<key>Background</key>
<string>0.078 0.078 0.078</string>
<key>InsertionPoint</key>
<string>1.000 1.000 1.000</string>
# Goes to the current iPhone simulator app directory
alias simwd='cd "/Users/$USER/Library/Application Support/iPhone Simulator/User/Applications/" && cd `ls -t | cut -f 1 | head -1` && echo "Changed to `pwd`"'
NSData *data = [NSData dataWithContentsOfFile:@"example.json"];
YAJLParser *parser = [[YAJLParser alloc] initWithParserOptions:YAJLParserOptionsAllowComments];
parser.delegate = self;
[parser parse:data];
if (parser.parserError) {
NSLog(@"Error:\n%@", parser.parserError);
}
parser.delegate = nil;