I hereby claim:
- I am entyo on github.
- I am e_ntyo (https://keybase.io/e_ntyo) on keybase.
- I have a public key whose fingerprint is 8D45 11F1 B472 A4FC C646 3AE4 4E64 918E B22C 41FA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
-- Use analog synth & pico s mainly, high BPS, cool beat | |
bps(140/60) | |
let inverse 1 = 0 | |
inverse 0 = 1 | |
in | |
do | |
let pat = "[1 0 0 1 0 0 1 0]" | |
d1 $ gain pat # s "super808:3" | |
d2 $ gain (inverse <$> pat) # s "superclap" |
Pbind( | |
\instrument, \kick2, | |
\amp, 0.7, | |
\dur, Pseq([0.5].collect(adjustDur), KICK2_NOTES_N) | |
).play; | |
Pbind( | |
\instrument, \snare, | |
\out, 0, | |
\freq, 1000, |
if [[ -z "$LANG" ]]; then | |
export LANG='en_US.UTF-8' | |
fi | |
# | |
# Paths | |
# | |
# Ensure path arrays do not contain duplicates. | |
typeset -gU cdpath fpath mailpath path |
function splat(fn) { | |
return array => { | |
return fn.apply(null, array); | |
}; | |
} | |
const addArrayElements = splat((x, y) => x + y); | |
// returns 3 | |
addArrayElements([1, 2]); |
FROM node:latest | |
# prepare a user which runs everything locally! - required in child images! | |
RUN useradd --user-group --create-home --shell /bin/false app | |
ENV HOME=/home/app | |
WORKDIR $HOME | |
RUN npm install -g yarn@1.0.2 && yarn global add @angular/cli@latest && yarn cache clean |
mkdir -p ~/.local/share/fonts | |
for type in Bold Light Medium Regular Retina; do | |
wget -O ~/.local/share/fonts/FiraCode-${type}.ttf \ | |
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true"; | |
done | |
fc-cache -f |
// bodyの確認 | |
body, err := ioutil.ReadAll(resp.Body) | |
if err != nil { | |
log.Fatalln(err) | |
} | |
fmt.Printf("body: " + string(body) + "\n") |