Skip to content

Instantly share code, notes, and snippets.

View eliperkins's full-sized avatar
🍞
Let’s get this bread.

Eli Perkins eliperkins

🍞
Let’s get this bread.
View GitHub Profile
@eliperkins
eliperkins / Spacegray.dvtcolortheme
Created January 7, 2014 16:53
Spacegray color theme for Xcode
<?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>DVTConsoleDebuggerInputTextColor</key>
<string>0.7653 0.699234 0.758969 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Bold - 13.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.6431 0.5881 0.637824 1</string>
@eliperkins
eliperkins / UISearchBar+RACAdditions.m
Created March 18, 2014 18:07
ReactiveCocoa UISearchBar additions
//
// Created by Eli Perkins on 3/18/14.
// Copyright (c) 2014 One Mighty Roar. All rights reserved.
//
#import <objc/runtime.h>
#import "UISearchBar+RACAdditions.h"
#import "NSObject+RACDescription.h"
#import "RACDelegateProxy.h"

Keybase proof

I hereby claim:

  • I am eliperkins on github.
  • I am eliperkins (https://keybase.io/eliperkins) on keybase.
  • I have a public key whose fingerprint is A070 61B5 49FC 9868 589D 19D2 57E2 D483 0330 3D60

To claim this, I am signing this object:

Entity

Entity operation

Request: GET /:entity

Required Scope:

Request Data:

{
@eliperkins
eliperkins / gist:b367ec0aafc1ad42142d
Created June 6, 2014 19:09
UIView animateWithDuration in Swift
UIView.animateWithDuration(1) {
view.center = CGPoint(x: 500, y: 0)
view.alpha = 0
}
@eliperkins
eliperkins / AFAmazonS3Client.podspec
Last active August 29, 2015 14:03
AFAmazonS3Client compatible with AFNetworking 2.2.x
Pod::Spec.new do |s|
s.name = "AFAmazonS3Client"
s.version = "2.2.0"
s.summary = "AFNetworking Client for the Amazon S3 API."
s.homepage = "https://github.com/AFNetworking/AFAmazonS3Client"
s.social_media_url = "https://twitter.com/AFNetworking"
s.license = 'MIT'
s.author = { "Mattt Thompson" => "m@mattt.me" }
s.source = { :git => "https://github.com/AFNetworking/AFAmazonS3Client.git",
:tag => "2.0.0" }
@eliperkins
eliperkins / Mantle.podspec.json
Last active August 29, 2015 14:04
Mantle.podspec.json
{
"name": "Mantle",
"version": "2.0",
"summary": "Model framework for Cocoa and Cocoa Touch.",
"homepage": "https://github.com/Mantle/Mantle",
"license": "MIT",
"authors": {
"GitHub": "support@github.com"
},
"source": {
RAC(self, results) = [self.searchCommand.executionSignals flattenMap:^(RACSignal *querySearchSignal) {
@strongify(self);
return [[querySearchSignal
concat:[self.searchMoreCommand.executionSignals concat]]
scanWithStart:@[] reduce:^(NSArray *running, NSArray *next) {
return [running arrayByAddingObjectsFromArray:next];
}];
}];
/** The token structure. */
typedef struct yaml_token_s {
/** The token type. */
yaml_token_type_t type;
/** The token data. */
union {
/** The stream start (for @c YAML_STREAM_START_TOKEN). */