View mkpath
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/env perl | |
use strict; | |
use warnings; | |
use Path::Tiny; | |
my $path = pop @ARGV; | |
if (!$path) { |
View 84 FR 71304.csv
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
lat | lng | airport code | runway | locality | region | country | |
---|---|---|---|---|---|---|---|
41.1524722 | -104.1347500 | 82V | RW26 | Pine Bluffs | Wyoming | USA | |
40.8748333 | -81.8882500 | KBJJ | RW28 | Wayne County | Ohio | USA | |
46.2507511 | -84.4723847 | KCIU | RW28 | Chippewa County | Michigan | USA | |
32.3374444 | -104.2633611 | KCNM | RW26 | Cavern City | New Mexico | USA | |
71.2848611 | -156.7685833 | PABR | RW25 | Barrow | Alaska | USA | |
11.2325 | -72.488889 | SKLM | RW28 | La Mina | La Guajira | Colombia | |
6.498333 | -58.253889 | SYCJ | RW29 | Cheddi Jagan | Georgetown | Guyana |
View Fix JS Errors.py
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/env python3 | |
import os | |
import sys | |
from copy import copy | |
from subprocess import run | |
from warnings import warn | |
doc_location = os.environ.get('BB_DOC_PATH', None) |
View Go to React complement.js
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
// paste into Script Editor, then save it into | |
// ~/Library/Application Support/BBEdit/Scripts | |
var bbedit = Application('BBEdit'); | |
bbedit.includeStandardAdditions = true | |
var src_path = bbedit.windows[0]().file() | |
// coerce to string, hackily | |
src_path = src_path+'' | |
var src_comp = src_path.split("/") |
View .block
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
--- | |
height: 800 | |
scrolling: no | |
border: no |
View sscan.py
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/env python | |
# ./sscan.py input.mov rownumber output.png | |
# This is meant to be hyper-simple and makes | |
# some assumptions like: you want a row (not | |
# a column), the video is RGB (not gray), etc. | |
# Bug: frame_count is sometimes fractional. | |
# int() and the "if not okay" are workarounds. |
View DeleteGmusicDupes-Python35.py
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/env python | |
# created by shuichinet https://gist.github.com/shuichinet | |
# forked from https://gist.github.com/shuichinet/8159878 21 Nov 2015 | |
# using minor edits by fcrimins https://www.reddit.com/user/fcrimins from https://www.reddit.com/r/google/comments/2xzgyv/remove_duplicate_songs_from_google_play_music/csh6mrh | |
# also using clever edits by Morgan Gothard https://medium.com/@mgothard | |
# updated for Python 3.5 by John M. Kuchta https://medium.com/@sebvance 22 Nov 2016 (hey I was busy) | |
# compiled by John M. Kuchta https://medium.com/@sebvance | |
# thanks to shuichinet, fcrimins and Mr. Gothard for their work |
View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Muni New Train Finder</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src='https://api.mapbox.com/mapbox.js/v3.1.1/mapbox.js'></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<link href='https://api.mapbox.com/mapbox.js/v3.1.1/mapbox.css' rel='stylesheet' /> | |
<style> |
View planets_encore.txt
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
Astronomical Applications Department | |
U. S. Naval Observatory | |
Washington, DC 20392-5420 | |
SAN FRANCISCO, CALIFORNIA | |
Location: W122°26'24.0", N37°45'36.0", 0m | |
(Longitude referred to Greenwich meridian) | |
Time Zone: 7h 00m west of Greenwich |
View planets.txt
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
KAILUA, HAWAII | |
Location: W157°44'24.0", N21°24'00.0", 0m | |
(Longitude referred to Greenwich meridian) | |
Time Zone: 10h 00m west of Greenwich | |
Jupiter | |
Date Rise Az. Transit Alt. Set Az. | |
(Zone) |
NewerOlder