Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');| #!/usr/bin/env python | |
| import cgi | |
| import os | |
| import mistune | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| from SocketServer import TCPServer | |
| from cStringIO import StringIO |
| ID | Name | Abbreviation | Conference | Division | |
|---|---|---|---|---|---|
| 1 | Arizona Cardinals | ARI | NFC | West | |
| 2 | Atlanta Falcons | ATL | NFC | South | |
| 3 | Baltimore Ravens | BAL | AFC | North | |
| 4 | Buffalo Bills | BUF | AFC | East | |
| 5 | Carolina Panthers | CAR | NFC | South | |
| 6 | Chicago Bears | CHI | NFC | North | |
| 7 | Cincinnati Bengals | CIN | AFC | North | |
| 8 | Cleveland Browns | CLE | AFC | North | |
| 9 | Dallas Cowboys | DAL | NFC | East |
If you're like me and you use semver for versioning your tags, you probably hate when you do this:
$ git tag -l
0.1.0
0.10.0
0.2.0
0.3.0
0.3.1
0.4.0
0.5.0
| /* | |
| * Abbreviated version of the yacc grammar used by at(1). | |
| */ | |
| %token <charval> DOTTEDDATE | |
| %token <charval> HYPHENDATE | |
| %token <charval> HOURMIN | |
| %token <charval> INT1DIGIT | |
| %token <charval> INT2DIGIT | |
| %token <charval> INT4DIGIT |
| var active = false; | |
| function changeRefer(details) { | |
| if (!active) return; | |
| for (var i = 0; i < details.requestHeaders.length; ++i) { | |
| if (details.requestHeaders[i].name === 'Referer') { | |
| details.requestHeaders[i].value = 'http://www.google.com/'; | |
| break; | |
| } |
| #This program is free software: you can redistribute it and/or modify | |
| #it under the terms of the GNU General Public License v2 as published by | |
| #the Free Software Foundation. | |
| """Algorithmic pseudo-random permutations for large sequences. | |
| Module to generate random, arbitrarily large permutations. Random permutations | |
| can be generated in Python with random.shuffle or numpy.random.shuffle: | |
| import random |
| Prerequisites | |
| * SHOUTcast (http://www.shoutcast.com/BroadcastNow) | |
| * Soundflower (https://rogueamoeba.com/freebies/soundflower/) | |
| * butt (http://butt.sourceforge.net/) | |
| * a computer | |
| Set up Soundflower | |
| * After installing Soundflower, set it as Output source in System Preferences |
| (zcat $( ls -tr /var/log/apt/history.log*.gz ) ; cat /var/log/apt/history.log ) | egrep '^(Start-Date:|Commandline:)' | grep -v aptdaemon | egrep '^Commandline:' |