Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
//ABC JAZZ | |
//mp3: "http://listen.radionomy.com/abc-jazz" | |
//FRISKY FM | |
//mp3: "http://scfire-mtc-aa02.stream.aol.com:80/stream/1015" | |
http://stream2.friskyradio.com:8000/frisky_mp3_hi | |
http://chill.friskyradio.com/friskychill_mp3_high | |
//WWOZ | |
//mp3: "http://wwoz-sc.streamguys.com/wwoz-hi.mp3" |
javascript:(function(){/**%20Make.text%201.5.%20Trevor%20Jim.%20License:%20GPL%20v2%20(www.fsf.org/copyleft/gpl.html).%20**/%20var%20logging%20=%20false;%20var%20logString%20=%20'';%20var%20unhandled%20=%20{};%20%20function%20log(exn,msg)%20{%20if%20(!logging)%20return;%20logString%20+=%20msg%20+%20':%20'%20+%20exn%20+%20'%5cn';%20}%20var%20w%20=%20window.open('');%20%20var%20d%20=%20w.document;%20var%20last%20=%20null;%20function%20addText(s)%20{%20if%20(last%20!=%20null)%20d.write(last);%20last%20=%20s;%20}%20function%20llapLast(s)%20{%20if%20(last)%20last%20=%20last.replace(/%20%20%20%20$/,s);%20}%20function%20finishOutput()%20{%20addText(%22%22);%20}%20var%20links%20=%20new%20Array(window.location);%20%20var%20rlinks%20=%20{};%20rlinks[window.location]%20=%200;%20var%20linkTitles%20=%20new%20Array();%20var%20atP%20=%20true;%20var%20atLeft%20=%20true;%20var%20atNoWS%20=%20true;%20%20var%20left%20=%20'%5cn';%20function%20pushLeft(s)%20{%20var%20oldLeft%20=%20left;%20left%20+=%20s;%20if%20(atP)%20addText(s); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
#!/bin/bash | |
# brew install x265 | |
# brew install ffmpeg | |
# brew install youtube-dl | |
# brew install imagemagick | |
ID='U65_uY5N2WM' # YouTube video ID, i.e. https://www.youtube.com/watch?v={ID} | |
# fetch the video file with youtube-dl |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
[{name:"Calvin",email:"[email protected]"}, | |
{name:"Ender Wiggin",email:"[email protected]"}, | |
{name:"Guybrush Threepwood",email:"[email protected]"}, | |
{name:"Arya Stark",email:"[email protected]"}, | |
{name:"Hermione Granger",email:"[email protected]"}, | |
{name:"Matilda Wormwood",email:"[email protected]"}, | |
{name:"Lando Calrissian",email:"[email protected]"}, | |
{name:"Dana Scully",email:"[email protected]"}] |
31683AD77BFC47A1D1A4F30959FDDE26|0001 - Electroplankton (Japan).nds | |
4E24E5D333A91F948265A177B2FF9DB2|0001 - Electroplankton (Japan) (1).nds | |
283631768B2213227FBBEE91154C688F|0002 - Need for Speed - Underground 2 (USA) (En,Fr,De,Es,It).nds | |
C7B2F7A5861F7D4BC94FF050D0B4FBD0|0002 - Need for Speed - Underground 2 (USA) (En,Fr,De,Es,It) (1).nds | |
D57CB3335F228F3DB869003766D10970|0002 - Need for Speed - Underground 2 (USA) (En,Fr,De,Es,It) (2).nds | |
C8065C4B4A21337C2928A14973218D26|0003 - Yoshi Touch & Go (USA).nds | |
827CBAB11FB04D1C87389077CB5809BE|0003 - Yoshi Touch & Go (USA) (1).nds | |
90C6F561CAFB5EDE611398E2F5CA88BD|0003 - Yoshi Touch & Go (USA) (2).nds | |
6796156F49B5ED663EF986B379FFD4EA|0003 - Yoshi Touch & Go (USA) (3).nds | |
FD920DBC37C332D392B547B1D7D5839D|0004 - Feel the Magic - XY-XX (USA) (En,Ja).nds |
package main | |
import ( | |
"fmt" | |
"syscall" | |
"unsafe" | |
) | |
type Process uintptr |
javascript:(function%20(){/*%20https://gist.github.com/inkarkat/cd1d40996a1f818dfc71%20*/function%20ls(u,c){var%20h=document.getElementsByTagName("head")[0];var%20s=document.createElement("script");s.src=u;var%20d=false;s.onload=s.onreadystatechange=function%20(){if(!d&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){d=true;c();s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}var%20$;var%20loc=location.href;var%20anchorPos=location.href.lastIndexOf('#');if(anchorPos>-1){loc=loc.substring(0,anchorPos);/*%20if%20already%20has%20an%20anchor,%20it%20needs%20to%20be%20replaced%20*/}function%20a(n,t){return%20'<a%20href="'+loc+'#'+n+'"%20title="'+t+':%20'+n+'"%20style="margin:0;padding:0;"><img%20src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3w8e7dve+7l3cv1LZt8 |