The error below can be avoided by export OMP_NUM_THREADS=2
(or possibly a higher number). To see this run:
env OMP_NUM_THREADS=2 python -c 'import numpy'
system
// 1. Go to https://twitter.com/i/likes | |
// 2. Keep scrolling to the bottom repeatedly until all your favs are loaded. | |
// 3. Run this in your console (open in chrome by View > Developer > JavaScript Console) | |
// Notes: this may take a while if you have a lot of favs/likes | |
// you can only access your most recent ~2000 likes. | |
// inspired by https://gist.github.com/JamieMason/7580315 | |
$('.ProfileTweet-actionButtonUndo').click() |
https://git.overleaf.com/blahblahblaah
)set up overleaf as a remote
git remote add overleaf https://git.overleaf.com/blahblahblaah
git checkout -b collaboration overleaf/master
{ | |
"version": "v3.0.0", | |
"license": "Apache-2.0", | |
"extract_dir": "", | |
"url": "https://github.com/dropbox/dbxcli/releases/download/v3.0.0/dbxcli-windows-amd64.exe", | |
"depends": "", | |
"homepage": "https://github.com/dropbox/dbxcli/", | |
"hash": "D21151C596271DFE75C55DC915C179CCF136B50BFED206E95855068A17DBE875", | |
"bin": [["dbxcli-windows-amd64.exe", "dropbox"]] | |
} |
{ | |
"nodes": [ | |
{"id": "Marin County", "group": 2}, | |
{"id": "USFWS San Pablo WFR", "group": 4}, | |
{"id": "City of San Mateo", "group": 1}, | |
{"id": "City of Alameda", "group": 1}, | |
{"id": "East Bay Regional Parks", "group": 2}, | |
{"id": "Invasive Spartina Project", "group": 5}, | |
{"id": "USFWS", "group": 4}, | |
{"id": "USFWS Don Edwards WFR Complex", "group": 4}, |
<!-- copy and paste all lines starting with javascript: below into a new bookmark. you will need to click it twice to | |
get to GS advanced. | |
Uses logic from from https://stackoverflow.com/questions/2267718/loading-page-and-executing-js-on-it-from-js-bookmarklet --> | |
javascript: | |
var url = this.document.location.href; | |
if(!url.includes("https://scholar.google.com/")) { | |
this.document.location.href = "https://scholar.google.com/"; | |
} else { | |
if (document.readyState === "complete") { | |
var hp = document.getElementById('gs_hp_drw_adv'); |
example of using follow parameter on twitter's streaming API
https://dev.twitter.com/streaming/overview/request-parameters#follow
with tweepy
mkdir -p tmp tmp/c | |
touch tmp/a tmp/b tmp/c/d | |
$ tree tmp | |
# tmp | |
# ├── a | |
# ├── b | |
# └── c | |
# └── d | |
cd tmp | |
strace -o ../strace.log Rscript -e 'unlink(c("a", "b", "c"), recursive=TRUE)' |
README.md: README.Rmd | |
Rscript -e 'rmarkdown::render("README.Rmd")' | |
cp README_files/figure-markdown_strict/equity-vigesimals-1.png equity-vigesimals-1.png | |
cp README_files/figure-markdown_strict/equity-deciles-by-age-1.png equity-deciles-by-age-1.png | |
rscfp2013.dta: scfp2013s.zip | |
unzip scfp2013s.zip | |
scfp2013s.zip: | |
wget https://www.federalreserve.gov/econresdata/scf/files/scfp2013s.zip |