-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·114 lines (72 loc) · 3.68 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Me: Barry Carter ([email protected])
Instead of keeping all of my miniscule apps in a different github, I'll
put them all here for now.
If any of them grows big enough, I'll create a new github for it.
I realize I don't have to start my script names with "bc-", but I do
it just to annoy people (including myself).
NOTE: geonames.db is used by scripts here, but is NOT in this
repo. Instead, find it at: http://geonames.db.94y.info/ (click "Raw
SQLite3 db" to download the whole thing in SQLite3 format: it's about
1.1G)
Summary:
bclib.pl: A library of useful functions
aliases.txt: useful aliases
bc-get-peanuts.pl: demonstrates how to create an Amazon Kindle
compatible MOBI book from Peanuts comics strips
bots.txt: user agents for common bots
bc-mol.pl: sends postal mail (not email) using postedigitals API
bc-dns-server.pl: generic DNS server
bc-starmap.pl: generates a map of which stars/planets are visible at
a given location/time
bc-draw-grid.pl: draws world maps in various projections w arbitrary
north/south pole using OSM slippy tiles
bc-world-clock.pl: shows world time zones in an unusual way
bc-mytile.pl: developer tool for google maps, showing the
coordinates/ranges of each tile at
http://test.barrycarter.info/gettile.php
bc-extract-attachments.pl and bc-check-extract-attachments.pl:
carefully removes attachments from mail folders and stores them
canonically and non-redundantly (using sha1)
bc-stack2wp.pl: converts my stackoverflow questions to WordPress posts
playground.pl: constantly changing testbed of functions
bc-approx-sun-ra-dec.m: Mathematica script that calculates solar
position for next 10 years
bc-sun-always-shines.pl: Uses google maps to display where it's day,
night, twilight, etc
gbefore.txt, gend.txt: used by bc-sun-always-shines.pl
bc-voronoi-binary.pl: Uses binary search to find true 3-D Voronoi
diagram of earth, but is painfully slow
bc-closest-gmap.pl: tries to use qhull to find true 3-D Voronoi
diagram of earth, but doesn't work yet
bc-get-cycle-files.pl: obtain cycle files (weather) from NOAA sites
bc-dns-server.pl: a simple Perl DNS server, template for more
interesting DNS server
bc-cheap-bay.pl: finds cheap available items on eBay (one penny, no
shipping, no bids, expiring within 4 hours). You MUST have your own
eBay API application key for this and you MUST put it in
/usr/local/etc/ebay.id. Requires curl and tidy
bc-temperature-voronoi.pl: creates an SVG map from temperature data
using qhull/qdelaunay/qvoronoi (currently static, hope to make it live)
bc-geonames2sqlite.pl: converts geonames data to a semi-efficient SQLite3 db
bc-cityfind.pl: Given a string, attempt to find matching city
(placename) in geonames db
box-option-value.m: Mathematica computations for value of box and
binary options (nadex.com, oanda.com)
Disclaimer:
A lot of this stuff is crappy but I'm putting it here with the hopes
of improving it (either myself or w/ help). None of this should be
considered a finished product, or even beta test software.
Some of this stuff contains obvious errors. This really is just
"first cut", "proof of concept", "show and tell" code.
In other words: no making fun of me, and no judging me on this
stuff. If I ever come out of retirement and you hire me, my work
isn't normally this crappy.
Captioned:
These files are open captioned for humor-impaired. The XML tag {h}
indicates itentional humor.
Things I want to learn about git:
- Search all files, past and present, for given phrase (git-grep
does NOT do this)
- Checkout all versions of a given file
- Checkout the entire tree as separate directories
- diff between edited-uncommitted version and last committed version