I hereby claim:
- I am jakecraige on github.
- I am jakecraige (https://keybase.io/jakecraige) on keybase.
- I have a public key whose fingerprint is 6EDA C229 FD51 90E5 3C89 550E 9B0F 3B8F 6A21 CE97
To claim this, I am signing this object:
class Controller { | |
var changed: (() -> Void)? | |
init() { | |
print("Allocate 'Controller'") | |
} | |
deinit { | |
print("Deallocate 'Controller'") | |
} |
protocol Action { | |
typealias StateType | |
func reduce(state: StateType) -> StateType | |
} | |
struct MyState { } | |
struct MyAction: Action { | |
// Note: We don't have to define the StateType alias, it infers it. | |
func reduce(state: MyState) -> MyState { |
void sort(int values[], int n) | |
{ | |
for (int i = 0; i < n - 1; i++) | |
{ | |
int j = i + 1; | |
while (values[i] > values[j]) | |
{ | |
int temp = values[j]; | |
values[j] = values[i]; | |
values[i] = temp; |
machine: | |
post: | |
- ./$CIRCLE_PROJECT_REPONAME/bin/ci/install_qt5.sh |
class ChangeIdIntToUuid < ActiveRecord::Migration | |
def up | |
remove_foreign_key "business_debts", "loan_applications" | |
remove_foreign_key "guarantors", "loan_applications" | |
remove_foreign_key "guarantors", "users" | |
table_names = [ | |
:loan_applications, | |
:business_debts, | |
:case_owners, |
typealias RequestSignalProducer = SignalProducer<(NSData, NSURLResponse), NSError> | |
class ApiClient: ApiConnectable { | |
let apiURL = NSURL(string: "http://yardclub.github.io/mobile-interview/api")! | |
var getCategories: Action<Void, [Category], NSError>! | |
init() { | |
getCategories = Action { | |
let categoriesURL = self.apiURL.URLByAppendingPathComponent("catalog.json") | |
return self.getRequest(categoriesURL) |> map { parseJsonArray($0.0) } |
import maya.cmds as mc | |
window = mc.window(title="Joint Hierarchy Renamer", widthHeight=(500, 55)) | |
mc.columnLayout(adjustableColumn=True) | |
mc.text(label="Instructions: select top of joint hierarchy") | |
textField = mc.textFieldButtonGrp(label="New name prefix:", buttonLabel="Rename", buttonCommand="rename_joints()") | |
mc.showWindow(window) | |
def rename_joints(): |
commit 074a79b95e66d999abe500051c5337805575ea3f | |
Author: Jake Craige <[email protected]> | |
Date: Tue Apr 7 10:14:29 2015 -0700 | |
Add testing infastructure for React components | |
diff --git a/app/controllers/components_controller.rb b/app/controllers/components_controller.rb | |
new file mode 100644 | |
index 0000000..4ffc308 | |
--- /dev/null |
I hereby claim:
To claim this, I am signing this object:
{ | |
"scripts": { | |
"test": "npm run --silent test-ci | node_modules/tap-spec/bin/cmd.js", | |
"test-ci": "node_modules/tape/bin/tape test/*.js" | |
} | |
} |