Skip to content

Instantly share code, notes, and snippets.

View splorp's full-sized avatar
🎧

Grant Hutchinson splorp

🎧
View GitHub Profile
@splorp
splorp / ascii.txt
Created March 16, 2013 19:37
Extended ASCII Character Set
!"#$%&()*+'-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ“”•–—˜™š›œžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
@splorp
splorp / zip-individual.sh
Created March 19, 2013 22:04
To be used in conjunction with the Run Shell Script Automator action as an OS X service.
for f in "$@"
do
zip -jr "$f.zip" "$f"
done
Process: Timebar [9287]
Path: /Users/splorp/Desktop/Timebar.app/Contents/MacOS/Timebar
Identifier: com.whimsicalifornia.timebar
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [111]
Date/Time: 2013-04-02 20:28:08.435 -0600
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@splorp
splorp / haircut.md
Last active June 26, 2020 21:22 — forked from kylefox/haircut.py
A script by Kyle Fox that calculates basic statistics from my haircut page.

Haircut

Notice!

As of June 26th, 2020, this version of the script will no longer be updated.

I have migrated the project to a full Git repository in order to better track changes, bugs, and feedback.

Check out Haircut on GitHub.

@splorp
splorp / getPackageExtras
Last active December 28, 2015 12:49
View information about all packages installed on an Apple Newton. This script is based on code supplied by Paul Guyot and modified by yours truly. The original packages script was based on code by Paul Filmer.
func(NullVar)
begin
local theOut := "<table class=\"list\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\n<tr class=\"listrow\"><td><b>Name</b>'</td><td align=\"right\"><b>Size</b> (Bytes)</td><!--<td align=\"right\"><b>ID</b></td>--><!-- <td align=\"right\"><b>Version</b></td>--><td align=\"right\"><b>Created</b></td><td align=\"right\"><b>Installed</b></td><td><b>Copyright</b></td></tr>\n";
foreach pkgFrame in GetPackages() do
begin
// Skip packages built-in in the ROM.
if pkgFrame.store then
theOut := StrConcat(theOut,"<tr class=\"listrow\"><td>" & pkgFrame.title & "</td><td align=\"right\">" & pkgFrame.size & "</td><!--<td align=\"right\">" & pkgFrame.id & "</td>--><!--<td align=\"right\">" &GetPkgRefInfo(PidToPkgRef(pkgFrame.id)).version & "</td>--><td align=\"right\">" & DateNTime(GetPkgRefInfo(PidToPkgRef(pkgFrame.id)).creationdate) & "</td><td align=\"right\">" & DateNTime(pkgFrame.timestamp) & "</td><td>" & GetPkgRefInfo(PidToPkgRe
Process: LittleIpsum [3906]
Path: /Applications/LittleIpsum.app/Contents/MacOS/LittleIpsum
Identifier: com.dustinsenos.littleipsum
Version: 2.0.3 (2.0.3)
App Item ID: 405772121
App External ID: 224942660
Code Type: X86-64 (Native)
Parent Process: launchd [229]
Date/Time: 2013-12-18 14:24:18.336 -0700
@splorp
splorp / unauthenticated-sender
Last active January 2, 2016 20:59
Example of multiple “X-No-Auth: unauthenticated sender” headers being appended to Mailman messages.
Return-path: <newtontalk-bounces@newtontalk.net>
Envelope-to: grant@splorp.com
Delivery-date: Fri, 10 Jan 2014 09:25:41 -0700
Received: from [70.32.110.81] (port=46793 helo=continuity.cx)
by box653.bluehost.com with esmtps (UNKNOWN:CAMELLIA256-SHA:256)
(Exim 4.80)
(envelope-from <newtontalk-bounces@newtontalk.net>)
id 1W1etx-0007y5-N9
for grant@splorp.com; Fri, 10 Jan 2014 09:25:41 -0700
X-No-Auth: unauthenticated sender

Keybase proof

I hereby claim:

  • I am splorp on github.
  • I am splorp (https://keybase.io/splorp) on keybase.
  • I have a public key whose fingerprint is 7183 A1AB 990B BA7A A800 4F90 8937 8FA1 A380 B759

To claim this, I am signing this object:

@splorp
splorp / kijiji.css
Last active December 15, 2015 22:45
Kijiji Decruft
/* ============================================================================ */
/* Custom styles for kijiji.ca */
/* Grant Hutchinson (@splorp) */
/* ============================================================================ */
.extra-bar,
.ecn-widget,
.adsense-top-bar,
.adsense-container,
.top-ads-top-bar {
@splorp
splorp / facebook.css
Last active December 15, 2015 22:44
Facebook Sputum Blocker
/* ============================================================================ */
/* Custom styles for facebook.com */
/* Grant Hutchinson (@splorp) */
/* ============================================================================ */
div.pvm,
div#appsNav,
div#interestsNav,
div#pagelet_ego_pane,
div#pagelet_ego_contextual_group,