I hereby claim:
- I am kasima on github.
- I am kasima (https://keybase.io/kasima) on keybase.
- I have a public key whose fingerprint is AB4E 1E84 1C7A D4F1 A073 A085 494F A252 6107 D628
To claim this, I am signing this object:
class Game | |
include Mongoid::Document | |
field :title | |
references_and_referenced_in_many :players | |
end | |
class Player | |
include Mongoid::Document | |
field :name |
def escaped_unicode(s) | |
s.unpack("U*").map do |v| | |
if v == 10 | |
'\n' | |
elsif v < 256 | |
v.chr | |
else | |
'\u{'+v.to_s(16)+'}' | |
end | |
end.join |
class DiagnosticReport | |
include Mongoid::Document | |
embeds_many :marker_values | |
end | |
class MarkerValue | |
include Mongoid::Document |
class Parent | |
include Mongoid::Document | |
field :pants | |
field :shirts | |
embeds_many :children | |
end | |
class Child | |
include Mongoid::Document |
// From http://front-end-testing-talk.elabs.se/ | |
// Seen at RailsConf 2011 | |
// Typical jQuery | |
$('#whiskies li').each(function() { | |
var li = $(this); | |
var price = li.attr('data-price'); | |
var addLink = $('<a class="add-to-cart" href="#">Add to cart</a>'); | |
addLink.appendTo(li); |
Meteor.Router.add({ | |
'/posts': 'posts', | |
'/posts/:id': function(id) { | |
Session.set('postId'); | |
return 'post'; | |
}, | |
'/authors/:id': function(id) { | |
Session.set('authorId', id); | |
return 'author'; | |
} |
# Description: | |
# Control your nest thermostat. | |
# | |
# Commands: | |
# hubot how (warm|cold) is it - current temperature | |
# hubot it's warm - set the nest 1 degree Fahrenheit lower | |
# hubot it's cold - set the nest 1 degree Fahrenheit higher | |
# hubot nest status - current nest setting | |
# https://github.com/kasima/nesting |
int LEFT = A0; | |
int RIGHT = A1; | |
int SERVO_MAX = 180.0; | |
int x_max; | |
int y_max; | |
Servo lt_servo; | |
Servo rt_servo; |
I hereby claim:
To claim this, I am signing this object:
# check out [email protected]
git clone https://github.com/ethereum/solidity.git
cd solidity
git checkout v0.4.21
# install deps
./scripts/install_deps.sh