I hereby claim:
- I am rdarder on github.
- I am rdarder (https://keybase.io/rdarder) on keybase.
- I have a public key ASAFVnPpmkjxsLj_htonLsaBdmFTOpQhiZ9naFDCzgxmFQo
To claim this, I am signing this object:
| { | |
| "id": "some-string", | |
| "object": "some-string", | |
| "account_balance": 12345, | |
| "address": null, | |
| "balance": 12345, | |
| "created": 12345, | |
| "currency": "some-string", | |
| "default_source": "some-string", | |
| "delinquent": true, |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* | |
| HC-SR04 Ping distance sensor: | |
| VCC to arduino 5v | |
| GND to arduino GND | |
| Echo to Arduino pin 7 | |
| Trig to Arduino pin 8 | |
| This sketch originates from Virtualmix: http://goo.gl/kJ8Gl | |
| Has been modified by Winkle ink here: http://winkleink.blogspot.com.au/2012/05/arduino-hc-sr04-ultrasonic-distance.html | |
| And modified further by ScottC here: http://arduinobasics.blogspot.com.au/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html |
| ///<reference path="optional.ts"/> | |
| /* | |
| Path template: | |
| getSegments() PathSegment[] | |
| getTrailingSegment() TrailingSegment | |
| parse(path): {[paramName: string]: string} | |
| generate({[paramName: string]: string}): string | |
| Path template set: | |
| matches(path): string |
| module Preconditions { | |
| class UnexpectedNullException extends Error { | |
| } | |
| export function checkNotNull<T>(reference:T):T { | |
| if (reference === null || reference === undefined) { | |
| throw new UnexpectedNullException(); | |
| } | |
| return reference; | |
| } |
| ///<reference path="iterator.ts"/> | |
| ///<reference path="checks.ts"/> | |
| import AbstractIterator = Iterators.AbstractIterator; | |
| import Iterator = Iterators.Iterator; | |
| import checkNotNull = Preconditions.checkNotNull; | |
| abstract class Optional<T> { | |
| static absent<T>():Optional<T> { |
| package main | |
| import "fmt" | |
| import "errors" | |
| type sumTracker []int | |
| func (self sumTracker) add(i, j, amount int) error { | |
| if i > j { | |
| return errors.New("range order") |
| <link rel="import" href="../core-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <polymer-element name="my-element"> |
| package main | |
| import "fmt" | |
| var counter = 0 | |
| func turnstile(turns int, done chan bool){ | |
| for i := 0; i < turns; i++{ | |
| counter = counter + 1 | |
| } |