This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Notice the trailing slash: | |
local=~/Notes/ | |
remote='remote:~/Notes' | |
rsync -avzPuh "$local" "$remote" | |
rsync -avzPuh "$remote" "$local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
curl -s https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv | \ | |
awk -F, ' | |
BEGIN { | |
meta_offset = 5 | |
prev = 0 | |
} | |
NR==1 { | |
cnt = NF - meta_offset + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package go_benchmark | |
import ( | |
"encoding/json" | |
"testing" | |
) | |
/* | |
Small payload, http log like structure. Size: 190 bytes | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See autoload/my_config/ for more personal config. | |
set global tabstop 4 | |
set global indentwidth 0 # Use tabs | |
#set global indentwidth 4 # Use spaces | |
set global grepcmd ag | |
alias global ag grep | |
# The mouse doesn't work for me anyways and with this mouse selection works: |