I hereby claim:
- I am rowinf on github.
- I am rowinf (https://keybase.io/rowinf) on keybase.
- I have a public key ASDqTc5Eb7oYlwFHypy2UYLfFBkPjFuKdTq2sPlRXinIKwo
To claim this, I am signing this object:
/** | |
* generate unique lyrics so the syllables add up to a number | |
*/ | |
const WORDS = [null, "gang", "gucci"] | |
function syllableLength(lyrics) { | |
return lyrics.reduce((total, word) => { | |
return total + WORDS.indexOf(word) | |
}, 0) |
### | |
# this text was processed from a curl + pup command | |
# surrounding html tags were stripped from the text | |
# each line of text was from a table cell | |
# recombine table cells into a csv | |
### | |
NR < 16 { | |
headers = (headers == "" ? $0 : headers ", " $0) | |
next | |
} |
" | |
" Gist url | |
" https://gist.github.com/rowinf/65b3126f812b6e2985ed828d8bdd9e5f | |
" | |
" Normally this if-block is not needed, because `:set nocp` is done | |
" automatically when .vimrc is found. However, this might be useful | |
" when you execute `vim -u .vimrc` from the command line. | |
if &compatible | |
" `:set nocp` has many side effects. Therefore this should be done |
function getRandom(min, max) { | |
return Math.round(Math.random() * (max - min) + min); | |
} | |
const generate = () => { | |
const selected = [] | |
let max = 9 | |
let prev = null | |
for (let i = 0; i < 4; i++) { |
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
import {Line as LineChart} from 'react-chartjs'; | |
function chartData() { | |
return { | |
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], | |
datasets: [ | |
{ | |
label: 'My First dataset', |