Skip to content

Instantly share code, notes, and snippets.

@borkxs
borkxs / nyc_covid.csv
Last active April 17, 2020 11:27
NYC COVID-19 Cases
Date Confirmed cases Cases per day Deaths Deaths per day
2020-03-02 1 1 0 0
2020-03-03 4 3 0 0
2020-03-04 14 10 0 0
2020-03-05 16 2 0 0
2020-03-06 24 8 0 0
2020-03-07 38 14 0 0
2020-03-08 59 21 0 0
2020-03-09 113 54 0 0
2020-03-10 188 75 0 0
@borkxs
borkxs / greensock.md
Last active September 1, 2016 11:31
Greensock/GSAP

Greensock/GSAP

Cost

devs yearly permanent
1 [$150][a1] [$750][p1]
5 [$500][a5] [$2500][p5]
20 [$1500][a20] [$7500][p20]
@borkxs
borkxs / README.md
Last active August 12, 2016 15:17
better index.ext handling for atom

There are three things being changed

  1. How atom/fuzzaldrin-plus filters the pathnames. The project does some clever match scoring so that it can support runs of strings as well as acronym searching, so "ctl" could match in "SuperThingCtrl", and "stc" could match "SuperThingCtrl"

    • Right now the modified scoring agressively strips down strings that contain "index" to just the directory that precedes index (this is probably overkill). So if it gets web/components/dropdown/index.tsx it scores against just the substring dropdown, which artificially inflates the score for that pathname.
      • I can't explain exactly why this works but intuitively dropdown should match dropdown better than it matches some/other/stuff/dropdown/stuff/index.tsx
    • Some example scores (after mod), in the order they are performed. We can see that dropdown/index is higher than the others)
@borkxs
borkxs / intro.md
Created July 3, 2016 20:20 — forked from ricardobeat/intro.md
Powerline-style bash prompt
@borkxs
borkxs / flex.scss
Last active November 15, 2017 00:17
flexbox cheatsheet
.flex-box {
display: flex;
flex-direction: row; /* row-reverse, column, column-reverse */
flex-wrap: nowrap; /* wrap, wrap-reverse */
flex-flow: row nowrap; /* [flex-wrap] [flex-direction] */
justify-content: flex-start; /* flex-end, center, space-between, space-around */
@borkxs
borkxs / .vimrc
Created February 3, 2016 16:47
WIP vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
@borkxs
borkxs / note
Last active August 29, 2015 14:14
Command line tool for logging random timestamped notes
#!/bin/sh
helptext="
\nUsage: note <text>
\n \tor note <flag>
\n
\nwhere <text> is any number of arguments to be appended to the note log
\n
\nand where <flag> is one of:
\n