Skip to content

Instantly share code, notes, and snippets.

View adamyonk's full-sized avatar
👨‍💻
✌️

Adam Jahnke adamyonk

👨‍💻
✌️
View GitHub Profile
$ npm i -g puppeteer
$ NODE_PATH=$(npm -g root) node uhk.js
> 20 days
This file has been truncated, but you can view the full file.
[
[
{
"pid": 11998,
"tid": 775,
"ts": 360498833749,
"ph": "X",
"cat": "toplevel",
"name": "MessageLoop::RunTask",
"args": {
@adamyonk
adamyonk / anon_heart_rate.csv
Created February 5, 2018 17:19
Anonymous Heart Rate
We can't make this file beautiful and searchable because it's too large.
Start,Finish,Heart Rate (count/min)
20-Sep-2016 12:18,20-Sep-2016 12:18,45.0
20-Sep-2016 12:20,20-Sep-2016 12:20,73.0
20-Sep-2016 12:28,20-Sep-2016 12:28,50.0
20-Sep-2016 12:36,20-Sep-2016 12:36,49.0
20-Sep-2016 12:38,20-Sep-2016 12:38,51.0
20-Sep-2016 12:47,20-Sep-2016 12:47,63.0
20-Sep-2016 12:48,20-Sep-2016 12:48,58.0
20-Sep-2016 12:48,20-Sep-2016 12:48,59.0
20-Sep-2016 12:48,20-Sep-2016 12:48,59.0
@adamyonk
adamyonk / instructions.md
Last active May 25, 2017 22:05
Markdown Link to current page

Add this JavaScript as a bookmarklet using: http://mrcoles.com/bookmarklet/

Note: In Safari, you'll also need to enable Develop > Experimental Features > Modern Media Controls.

➔ infocmp $TERM
# Reconstructed via infocmp from file: /usr/local/Cellar/ncurses/5.9/share/terminfo/74/tmux
tmux|tmux terminal multiplexer,
am, bce, ccc, km, mc5i, mir, msgr, npc, xenl,
colors#256, cols#80, it#8, lines#24, pairs#32767,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
@adamyonk
adamyonk / index.js
Created June 9, 2015 17:05
requirebin sketch
View = require('ampersand-view');
Model = require('ampersand-model')
Collection = require('ampersand-collection');
Person = Model.extend({
props: { name: 'string' },
session: { selected: 'boolean' }
});
People = Collection.extend({

Keybase proof

I hereby claim:

  • I am adamyonk on github.
  • I am adamyonk (https://keybase.io/adamyonk) on keybase.
  • I have a public key whose fingerprint is 2CC2 12C4 019C 5A99 6F79 DF40 537C 1353 D51C AEFE

To claim this, I am signing this object:

➔ gem install zookeeper -v '1.4.6'
Building native extensions. This could take a while...
ERROR: Error installing zookeeper:
ERROR: Failed to build gem native extension.
/Users/adamyonk/.rubies/2.1.2/bin/ruby extconf.rb
Building zkc.
tar xzf zkc-3.4.5.tar.gz 2>&1
patch -p0 < patches/zkc-3.4.5-logging.patch 2>&1
patching file zkc-3.4.5/c/src/zookeeper.c

Designed by Stephen Few, a bullet chart “provides a rich display of data in a small space.” A variation on a bar chart, bullet charts compare a given quantitative measure (such as profit or revenue) against qualitative ranges (e.g., poor, satisfactory, good) and related markers (e.g., the same measure a year ago). Layout inspired by Stephen Few. Implementation based on work by Clint Ivy, Jamie Love of N-Squared Software and Jason Davies. The "update" button randomizes the values slightly to demonstrate transitions.

.button--toggle
background-color: $color_gray3
color: $color_gray4
&.active
background-color: $color_gray
color: $color_yellow
&.button--toggle--purple.active
...
&.button--toggle--orange.active
...