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

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). */
@eliperkins
eliperkins / Helpshift-4.12.1.podspec.json
Last active August 29, 2015 14:26
Corrected Helpshift Podspec (supports `use_frameworks!`)
{
"name": "Helpshift",
"version": "4.12.1",
"summary": "Customer service helpdesk for mobile applications.",
"license": {
"type": "Commercial",
"text": "See http://www.helpshift.com/terms/"
},
"homepage": "http://www.helpshift.com/",
//: Playground - noun: a place where people can play
import UIKit
struct Todo {
let id: NSUUID
let text: String
let complete: Bool
}