I hereby claim:
- I am jrheard on github.
- I am jrheard (https://keybase.io/jrheard) on keybase.
- I have a public key whose fingerprint is 52CB 4C1F AB47 7FB7 BF8D 7C2F 560A 45C4 4A0F 1608
To claim this, I am signing this object:
// Let's write a program that blinks an LED on and off forever! | |
// An Arduino program always has two main parts: setup() and loop(). | |
// setup() is a function that gets run a single time at the start of the program. | |
// We usually use it to do "initialization", which basically means "stuff | |
// we have to do at the start of the program so that the rest of the program works right." | |
// Welcome to Arduino! | |
// Here's a simple program to get you started driving your robot. | |
// We start by including the Servo library, | |
// which we'll be using to control the robot's wheels. | |
#include <Servo.h> | |
// Next, we declare a couple of Servo objects. | |
// Read on to see how these are actually used. | |
Servo servoLeft; |
import random | |
import string | |
from hypothesis import given | |
from hypothesis import settings | |
from hypothesis import strategies as st | |
import password_checker |
(s/fdef draw-tiles | |
:args (s/cat :deck ::sp/deck | |
:hand ::sp/hand | |
:num-tiles (s/and nat-int? #(<= % MAX-HAND-SIZE))) | |
:ret (s/cat :new-deck ::sp/deck | |
:new-hand ::sp/hand)) |
(s/def ::cell (s/cat :x nat-int? :y nat-int?)) | |
(s/def ::value (s/and nat-int? #(<= % 9))) | |
(s/def ::deck (s/coll-of ::value)) | |
(s/def ::hand (s/coll-of ::value :min-count 0 :max-count 5)) |
(def cell-class (r/atom "red")) | |
(defn colorful-cell [] | |
[:div.cell | |
{:class @cell-class | |
:on-click #(if (= @cell-class "red") | |
(reset! cell-class "green") | |
(reset! cell-class "red"))} | |
""]) |
I hereby claim:
To claim this, I am signing this object:
for i in range(1, 100): | |
line = "" | |
if i % 3 == 0: | |
line += "Fizz" | |
if i % 5 == 0: | |
line += "Buzz" | |
if line == "": | |
line = str(i) |