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
// step 1: | |
var figs = document.getElementsByTagName('figure'); | |
var imgs = []; | |
for (var i = 0; i < figs.length; i++) { | |
try { | |
var l = figs[i].childNodes[0].childNodes[0].srcset.split(' ') | |
var s = l[l.length-2]; | |
imgs.push(s); | |
var s = '![Image](' + s + ')' |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
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
"year","state","state_po","state_fips","state_cen","state_ic","office","candidate","party","writein","candidatevotes","totalvotes","version","notes" | |
1976,"Alabama","AL",1,63,41,"US President","Carter, Jimmy","democrat",FALSE,659170,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","Ford, Gerald","republican",FALSE,504070,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","Maddox, Lester","american independent party",FALSE,9198,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","Bubar, Benjamin """"Ben""""","prohibition",FALSE,6669,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","Hall, Gus","communist party use",FALSE,1954,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","Macbride, Roger","libertarian",FALSE,1481,1182850,20171015,NA | |
1976,"Alabama","AL",1,63,41,"US President","","",TRUE,308,1182850,20171015,NA | |
1976,"Alaska","AK",2,94,81,"US President","Ford, Gerald","republican",FALSE,71555,123574,20171015,NA | |
1976,"Alaska","AK",2,94,81,"US Presid |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
--- urlHelpers.js 2020-05-23 18:17:11.000000000 -0500 | |
+++ urlHelpersPatch.js 2020-05-23 18:18:42.000000000 -0500 | |
@@ -113,14 +113,7 @@ | |
if (parsed.host && hostBlacklist[parsed.host]) { | |
return; | |
} | |
- if (parsed.protocol === "http:" || | |
- parsed.protocol === "https:" || | |
- parsed.protocol === "mailto:" || | |
- parsed.protocol === "itms-apps:" || |
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/local/bin/python3 | |
# coding=utf-8 | |
""" | |
# <bitbar.title>Your Music</bitbar.title> | |
# <bitbar.version>v1</bitbar.version> | |
# <bitbar.author>alan</bitbar.author> | |
# <bitbar.author.github>alanzchen</bitbar.author.github> | |
# <bitbar.desc> | |
# I love you(r) (music). | |
# </bitbar.desc> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/python | |
# coding=utf-8 | |
""" | |
# <bitbar.title>Next Train Home</bitbar.title> | |
# <bitbar.version>v1</bitbar.version> | |
# <bitbar.author>alan</bitbar.author> | |
# <bitbar.author.github>alanzchen</bitbar.author.github> | |
# <bitbar.desc> | |
# The next train home. | |
# </bitbar.desc> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/python | |
# coding=utf-8 | |
""" | |
# <bitbar.title>Nicehash Stats</bitbar.title> | |
# <bitbar.version>v1</bitbar.version> | |
# <bitbar.author>alan</bitbar.author> | |
# <bitbar.author.github>alanzchen</bitbar.author.github> | |
# <bitbar.desc> | |
# Displays current Nicehash Worker Stats | |
# </bitbar.desc> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.