#Every Single Option Under The Sun
- optimization level options
- automatic crashing options
- debug info options
- swift internal options
- swift debug/development internal options
- linker-specific options
- mode options
#!/usr/bin/env ruby | |
require "active_support" | |
def assetCatalogsAtPath(path) | |
results = [] | |
contents = Dir.entries(path) | |
#Every Single Option Under The Sun
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
} | |
NodeList.prototype.__proto__ = Array.prototype; |
Puts on glasses: | |
(•_•) | |
( •_•)>⌐■-■ | |
(⌐■_■) | |
Takes off glasses ("mother of god..."): | |
(⌐■_■) | |
( •_•)>⌐■-■ |
console.log "I can do a remote interview if needed." |
June 1, 2014 – September 15, 2014
Percentage of total visits for sessions among the top 100 pages on ASCIIwwdc.
#!/usr/bin/env ruby | |
subdomain="CHANGE_THIS" | |
api_key="CHANGE_THIS" | |
incident_key="SORIA82E" | |
endpoint="https://events.pagerduty.com/generic/2010-04-15/create_event.json" | |
service_access_key="a9c73c38e9cf4fa197802c7f2eb25b78" | |
subject="This is a check_cron alert. This service is not running." |
@interface UIColor (WBDebugExtensions) | |
@end | |
@implementation UIColor (DebugExtensions) | |
- (id)debugQuickLookObject { | |
UIGraphicsBeginImageContext(CGSizeMake(128, 128)); | |
[self setFill]; | |
[[UIBezierPath bezierPathWithRect:CGRectMake(0, 0, 128, 128)] fill]; |
#!/bin/bash | |
git branch --merged | while read line | |
do | |
# If the line is in the format '* master' (indicating the current branch), | |
# this will be effectively empty, so we don't somehow delete the current | |
# branch | |
BRANCH=`echo "$line" | awk -F '*' '{ print $1 }'` | |
if [ -z "$BRANCH" ] |
static BOOL PSPDFIsDevelopmentBuild(void) { | |
#if TARGET_IPHONE_SIMULATOR | |
return YES; | |
#else | |
static BOOL isDevelopment = NO; | |
static dispatch_once_t onceToken; | |
dispatch_once(&onceToken, ^{ | |
// There is no provisioning profile in AppStore Apps. | |
NSData *data = [NSData dataWithContentsOfFile:[NSBundle.mainBundle pathForResource:@"embedded" ofType:@"mobileprovision"]]; | |
if (data) { |