I hereby claim:
- I am kyleparisi on github.
- I am nargella (https://keybase.io/nargella) on keybase.
- I have a public key ASCpsO1L3z4WwOId8Z04PSXmQeCiPDgXmFyBs3kbG-OfYAo
To claim this, I am signing this object:
<html> | |
<head> | |
</head> | |
<body> | |
</body> | |
</html> |
<?php | |
/** | |
* This php script takes a local xml file input and stdouts the equivalent csv. | |
*/ | |
$shortopts = ""; | |
$shortopts .= "f:"; // Required value | |
$options = getopt($shortopts); | |
if (count($options) === 0) { |
# Debug tcp requests and respond with 200 | |
socat -v TCP-LISTEN:3000 "exec:printf \'HTTP/1.0 200 OK\r\n\r\n\'" |
#!/bin/bash | |
# On linux use date, on mac gdate [via `brew install coreutils`]. | |
# Will run from oldest date to today. | |
# $ sh date_looper.sh '2016-12-10' | |
currentdate=$1 | |
loopenddate=$(gdate --date "$2 1 day" +%Y-%m-%d) | |
until [ "$currentdate" == "$loopenddate" ] | |
do | |
echo $currentdate |
let init = lindy('h3', `Service running - false`); | |
let start = function () { | |
return lindy('button', { | |
onclick: () => this.emit('running', true) | |
}, 'Start Service'); | |
}; | |
let stop = function () { | |
return lindy('button', { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
We are using node <script>document.write(process.versions.node)</script>, | |
Chrome <script>document.write(process.versions.chrome)</script>, |
body { | |
padding: 0; | |
margin: 0; | |
font-family: -apple-system, BlinkMacSystemFont, | |
"Segoe UI", "Roboto", "Oxygen", | |
"Ubuntu", "Cantarell", "Fira Sans", | |
"Droid Sans", "Helvetica Neue", sans-serif; | |
} | |
.container { |
export $(cat file.env | grep -v ^# | xargs); |
I hereby claim:
To claim this, I am signing this object:
then
and catch
should be directly visible in the entry script).then(fn)
- fn should either be stupidly simple or be extractable to the point of being able to be unit tested. The name should also be painfully obvious (reference)