a.k.a. what to do when your ISP starts blocking sites :(
Set the SOCKS proxy to local SSH tunnel
networksetup -setsocksfirewallproxy "Ethernet" localhost 8080
To clear the domain and port
[ | |
{ | |
"source": "Twitter for iPhone", | |
"id_str": "1079888205351145472", | |
"text": "HAPPY NEW YEAR! https://t.co/bHoPDPQ7G6", | |
"created_at": "Mon Dec 31 23:53:06 +0000 2018", | |
"retweet_count": 33548, | |
"in_reply_to_user_id_str": null, | |
"favorite_count": 136012, | |
"is_retweet": false |
week,date,time_start,time_end,duration,listed_title,top_category,listed_location,listed_project_officer,detail_category,notes | |
1,2018-11-07,08:00,11:00,3,Executive time,executive_time,Oval office,,executive_time, | |
1,2018-11-07,11:00,11:30,0.5,Meeting with the chief of staff,meeting,Oval office,,cos_meeting, | |
1,2018-11-07,11:30,12:30,1,Executive time,executive_time,Oval office,,executive_time, | |
1,2018-11-07,12:30,13:30,1,Lunch,lunch,Private dining room,,solo_lunch, | |
1,2018-11-07,13:30,17:00,3.5,Executive time,executive_time,Oval office,,executive_time, | |
1,2018-11-08,08:00,09:30,1.5,Executive time,executive_time,Oval office,,executive_time, | |
1,2018-11-08,09:30,09:40,0.1666666667,Depart the White House en route to Supreme Court of the United States,travel,,,domestic_travel, | |
1,2018-11-08,09:45,09:55,0.1666666667,Meet and greet with the supreme court justices,event,"Washington, DC",Emmet Flood,meet_greet, | |
1,2018-11-08,10:00,10:15,0.25,Investiture of the honorable Brett Kavanaugh,event,"Washington, DC",Emmet Flood,kavanau |
--begin vector functions | |
function addv(v1, v2) | |
return {x=v1.x+v2.x, y=v1.y+v2.y} | |
end | |
function subv(v1,v2) | |
return {x=v1.x-v2.x, y=v1.y-v2.y} | |
end | |
function multv(v,n) |
const regl = require('regl')(); | |
const mat4 = require('gl-mat4'); | |
const fNormals = require('face-normals'); | |
const unindex = require('unindex-mesh'); | |
const bunny = require('bunny'); | |
const pos = unindex(bunny); | |
const draw = regl({ | |
frag: ` |
class MinPQ { | |
constructor(comparator) { | |
this.comparator = comparator || MinPQ.compare; | |
this.items = []; | |
this.n = 0; | |
} | |
insert(value) { | |
this.items[++this.n] = value; | |
this.swim(this.n); |
docker exec container-name psql -U user -d db-name -c "some sql" |
pbpaste | sort | pbcopy |
for FILE in $(cat filenames.txt); do find ./ -iname $FILE; done; |