Skip to content

Instantly share code, notes, and snippets.

View bradfrosty's full-sized avatar
🦦
Just one more turn…

Brad Frost bradfrosty

🦦
Just one more turn…
View GitHub Profile
#!/usr/bin/env bash
declare -a commits=("HEAD" "fd35a937a85a07666d9c6210542ce12ca2a1f813" "005ea2fa4b206f4cb82c76d74f7311f39f03745e" "8b5fe7be335dc38eb2f97c0fd7831573afc59ed5" "e37b4a69d613c36f84b79e9e03a99ffb12bc59c2" "77200ef9446f114549c858ea4d2612881f50b76d")
declare -a years=("present" "2020" "2019" "2018" "2017" "2016")
function get_stats {
for (( i=1; i<${#commits[@]}; ++i ));
do
@bradfrosty
bradfrosty / index.html
Last active August 9, 2018 14:55
TTI Example with Plugin
<!DOCTYPE html>
<html>
<head>
<script>
!function(){if('PerformanceLongTaskTiming' in window){var g=window.__tti={e:[]};
g.o=new PerformanceObserver(function(l){g.e=g.e.concat(l.getEntries())});
g.o.observe({entryTypes:['longtask']})}}();
</script>
<style>
body {
@bradfrosty
bradfrosty / tmux-cheatsheet.markdown
Created December 20, 2015 04:49 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname