Install neovim python package:
$ pip2 install neovim
$ pip3 install neovim
let app = Express.App.make() | |
let taskPool = TaskPool.make() | |
// How can I just get the Pause.output back out of this, and avoid | |
// doing extra work to check if the output is from the wrong Task? | |
app.get(."/pause", (. _req, res) => { | |
taskPool.run(Pause({howLongMs: 4200})) | |
->Promise.thenResolve(result => { | |
switch result { |
import React, { PureComponent } from "react"; | |
import { StyleSheet } from "react-native"; | |
import ReglView from "./ReglView"; | |
import mat4 from "gl-mat4"; | |
import bunny from "bunny"; | |
export default class Bunny extends PureComponent { | |
drawCommand = regl => { | |
return regl({ | |
vert: ` |
#!/bin/sh | |
if ! hash chrome-cli 2>/dev/null; then | |
echo "Couldn't find chrome-cli. Ensure it's installed and on your PATH." | |
exit 1 | |
fi | |
DIRNAME="/tmp/codpen+$(date '+%s')" | |
INDEX="$DIRNAME/index.html" | |
RELOAD="$DIRNAME/reload" |
autocmd! BufWritePost * silent! !chrome-cli reload |
const fs = require('fs') | |
const words = fs.readFileSync('/usr/share/dict/words') | |
.toString() | |
.toLowerCase() | |
.split('\n') | |
const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('') | |
let lookup = |
I hereby claim:
To claim this, I am signing this object:
install aviglitch gem
gem install aviglitch
run mo.sh
./mo.sh input.gif
console.log( | |
(Array(100) + "") | |
.split(",") | |
.map(function(s, i) { | |
return !!(++i % 3) || (s += "Fizz"), | |
!!( i % 5) || (s += "Buzz"), | |
s || i; | |
}) | |
.join("\n") | |
); |
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin n-up($number) { | |
&:nth-child(#{$number}n + 1) { clear: left; } | |
} | |
.tile { |