I hereby claim:
- I am neonichu on github.
- I am neonacho (https://keybase.io/neonacho) on keybase.
- I have a public key whose fingerprint is B9E8 141C 6924 9896 9911 7D94 AD0B A760 2CAD 97ED
To claim this, I am signing this object:
#!/usr/bin/env python | |
from github3 import login, GitHub | |
gh = login('user', 'password') | |
repo = gh.repository('CocoaPods', 'CocoaPods') | |
for issue in repo.iter_issues(): | |
if issue.is_closed(): | |
continue |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Create 1x versions of all images in the CWD. | |
# | |
IFS=$'\n' | |
for file in `ls *@2x*` | |
do | |
new_file=`echo $file|sed 's/@2x//g'` |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'date' | |
require 'json' | |
input = JSON.parse(ARGF.read) | |
output = { 'meta' => { 'timestamp' => DateTime.now.strftime('%Y-%m-%d %H:%M:%S.%6N') } } | |
symbols = {} |
#!/usr/bin/env ruby | |
require 'json' | |
require 'net/http' | |
exit 1 if ARGV.nil? || ARGV.count == 0 | |
project = ARGV[0].gsub(/(http(s)?:\/\/)?(github.com\/)?(.*?)(.git)?/, '\4') | |
coveralls_uri = URI("https://coveralls.io/r/#{project}.json") |
#!/usr/bin/env ruby | |
def build_option(option_name) | |
output = `xcodebuild -showBuildSettings 2>/dev/null`.split("\n") | |
output = output.select { |line| line[/#{option_name}/] } | |
output.map { |line| line.split(' ')[2..-1].join(' ') } | |
end | |
require 'xcodeproj' |
#!/bin/sh | |
ruby-build -p 1.9.3-p484 /target/path < /path/to/ruby.diff |
#!/bin/sh | |
if [ ! -f "$1" ] | |
then | |
echo "$1: No such file or directory" | |
exit 1 | |
fi | |
TMP=`mktemp -t presentation` |
#!/usr/bin/env xcrun swift | |
import Foundation | |
class Base { | |
} | |
class Sub : Base { | |
} |
#!/usr/bin/env xcrun swift | |
func info<T>(x: T) { | |
println("\(x) is a \(_stdlib_getDemangledTypeName(x))") | |
} | |
let array = [0, 1, 2] // appending 'as AnyObject' here yields a compiler error | |
info(array) |