I hereby claim:
- I am penman on github.
- I am penman (https://keybase.io/penman) on keybase.
- I have a public key whose fingerprint is 9B36 DC74 20E5 0DC0 278D C839 05CC 00A7 63F8 2E0B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { | |
| "constituency": "Hackney North and Stoke Newington", | |
| "email": "[email protected]", | |
| "id": 172, | |
| "name": "Ms Diane Abbott MP", | |
| "party": "Labour", | |
| "tel": "020 7219 4426", | |
| "twitter": "@hackneyabbott", | |
| "website": "http://www.dianeabbott.org.uk" | 
| import Foundation | |
| typealias Forest = Tree[] | |
| protocol Tree { | |
| func parent() -> Tree? | |
| func nodes() -> Forest | |
| } | |
| func nodes(tree: Tree) -> Forest { | 
| import Darwin | |
| let isLittleEndian = Int(OSHostByteOrder()) == OSLittleEndian | |
| let htons = isLittleEndian ? _OSSwapInt16 : { $0 } | |
| let htonl = isLittleEndian ? _OSSwapInt32 : { $0 } | |
| let htonll = isLittleEndian ? _OSSwapInt64 : { $0 } | |
| let ntohs = isLittleEndian ? _OSSwapInt16 : { $0 } | |
| let ntohl = isLittleEndian ? _OSSwapInt32 : { $0 } | |
| let ntohll = isLittleEndian ? _OSSwapInt64 : { $0 } | 
| #import "socket.h" | 
| @import "web-fonts"; | |
| @include web-fonts("Open Sans", "Droid Serif", "Pacifico"); | 
| brew install rbenv ruby-build | |
| echo "eval $(rbenv init -)" >> ~/.zshrc | |
| source ~/.zshrc | |
| rbenv install 2.1.1 | |
| rbenv global 2.1.1 | |
| gem install jekyll | |
| rbenv rehash | 
And you thought iTunes was bad.
| Pod::Spec.new do |spec| | |
| spec.name = 'IIIAsync' | |
| spec.version = '0.2.0' | |
| spec.license = { :type => 'MIT' } | |
| spec.homepage = 'https://github.com/stevestreza/IIIAsync' | |
| spec.authors = { 'Steve Streza' => '[email protected]' } | |
| spec.summary = 'Concurrency control flow system for Objective-C' | |
| spec.source = { :git => 'https://github.com/stevestreza/IIIAsync.git', :commit => '4e403e1a27542b7fa5defd49416d30930eb3b540' } | |
| spec.source_files = 'IIIAsync/IIIAsync.{h,m}' | |
| spec.requires_arc = true | 
| module Async | |
| class << self | |
| def waterfall(objects, handler, &block) | |
| enumerator = objects.each | |
| prev_result = nil | |
| run_next = lambda do | |
| begin | |
| # onwards! | |
| prev_result = handler.(enumerator.next, prev_result) do |success| | |
| success ? run_next.call : block.(false) |