I hereby claim:
- I am wpj on github.
- I am yit_j (https://keybase.io/yit_j) on keybase.
- I have a public key ASAZphOV0wmPQBz5GDuANbDvQZqg_5cGF5utMJLxn3aqfAo
To claim this, I am signing this object:
#[allow(unused)] | |
use reqwest::{header, Error}; | |
#[allow(unused)] | |
use serde::{Deserialize, Serialize}; | |
use std::marker::PhantomData; | |
static API_BASE_URL: &'static str = "https://api.airtable.com/v0"; | |
pub struct Client(reqwest::Client); |
function processNode({children, ...node}, index = [0]) { | |
let nodes = []; | |
if (node.type !== 'root') { | |
nodes.push({ | |
...node, | |
__index: index, | |
}); | |
} | |
if (node.type === 'root') { |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# scenario: Emulate the game "Secret Santa" where there are 3 or more participants, | |
# no participant can receive their own gift or receive more than one gift. | |
class Santa | |
constructor: (@name, @gift) -> | |
santaPool = [ | |
new Santa 'bob', 'beer' | |
new Santa 'carol', 'cat' | |
new Santa 'robert', 'ruby' |