I hereby claim:
- I am crsantos on github.
- I am crsantos (https://keybase.io/crsantos) on keybase.
- I have a public key whose fingerprint is 4FF1 2840 B9EE CE15 BC0A E54B 8412 AFDD 619A D848
To claim this, I am signing this object:
from github import Github # https://github.com/PyGithub/PyGithub | |
import time | |
new_labels_to_add = [ | |
("low", "78d60c"), | |
("medium", "f4df42"), | |
("high", "d12349") | |
] | |
g = Github("ADD_YOUR_ACCESS_TOKEN_HERE") |
import Foundation | |
public typealias ServiceFactoryClosure<Service> = () -> Service | |
public protocol ServiceLocatorModule { | |
func registerServices(_ serviceLocator: ServiceLocator) | |
} | |
public class ServiceLocator { |
I hereby claim:
To claim this, I am signing this object:
// based on http://stackoverflow.com/a/29075908/468868 answer | |
const unsigned *tokenBytes = [deviceToken bytes]; | |
NSString *hexToken = [NSString stringWithFormat:@"%08x%08x%08x%08x%08x%08x%08x%08x", | |
ntohl(tokenBytes[0]), ntohl(tokenBytes[1]), ntohl(tokenBytes[2]), | |
ntohl(tokenBytes[3]), ntohl(tokenBytes[4]), ntohl(tokenBytes[5]), | |
ntohl(tokenBytes[6]), ntohl(tokenBytes[7])]; |
#!/usr/bin/env python | |
import subprocess, sys, threading | |
PLAY_COMMAND = "mpg123" | |
class PlayerThread(threading.Thread): | |
def __init__(self, filename): | |
self.filename = filename |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
//_______________________________________________________________________________________________________________ | |
// this represents the display and behaviour of the cells. | |
@protocol UITableViewDelegate<NSObject, UIScrollViewDelegate> | |
@optional | |
// Display customization |
#!/bin/bash | |
# Bash script to generate a "Release" Build - Based on arrix.blogspot.com | |
# - The file must lay on the same .xcodeproj folder | |
# - Project must be set up with "Debug" (with developer provisioning profiles) | |
# and "Release" (with distribution provisioning profiles) | |
# - Project build version will be upgraded with the current datetime and marketing version | |
# will be the same provided as the second parameter of the script: see USAGE. | |
# | |
# USAGE: sh build.sh AppName 0.1.1 |