I hereby claim:
- I am aidanhmiles on github.
- I am aidanhmiles (https://keybase.io/aidanhmiles) on keybase.
- I have a public key ASCIzh8EBfOMVfl1XSEFphNxSNO2jvfLg1NdvAhlvokWqQo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
mkdir -p webroot/cgi-bin | |
# place files in their locations as described above | |
chmod u+x webroot/cgi-bin/* | |
npm install --save @hotwired/[email protected] | |
python3 -m http.server --cgi # or whichever server |
# python 3.7+ | |
# install dependencies: | |
# pip install panel pandas plotly | |
# run it: panel serve --show thisfile.py | |
import io | |
import param | |
import panel as pn | |
import pandas as pd | |
import plotly.express as px |
const lodash = require('lodash'); | |
function main () { | |
// Arbitrary async operation. Sums two coin-flips (random 0 or 1). Only resolves when the sum is 0. | |
function asyncOperation() { | |
return new Promise((resolve, reject) => { | |
let sum = lodash(new Array(2)) | |
.fill(null) | |
.map(() => Math.round(Math.random())) |
#!/usr/bin/env bash | |
main() { | |
local files=() | |
# Method 1 | |
# while read -r fname; do | |
# derp+=("$fname") | |
# done < <(ag -g html base/) |
I hereby claim:
To claim this, I am signing this object: