Skip to content

Instantly share code, notes, and snippets.

View splorp's full-sized avatar
💾

Grant Hutchinson splorp

💾
View GitHub Profile
@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
@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.

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 / 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
@splorp
splorp / ascii.txt
Created March 16, 2013 19:37
Extended ASCII Character Set
!"#$%&()*+'-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ“”•–—˜™š›œžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
@splorp
splorp / DefaultCSS_Markdown.css
Last active August 21, 2024 12:25
A default stylesheet based on GitHub’s Markdown formatting for use with BBEdit’s Preview CSS feature.
body {
background-color: #FFF;
color: #333;
font: 15px Helvetica, arial, freesans, clean, sans-serif;
word-wrap: break-word;
line-height: 1.7;
padding: 0 20px 20px 20px;
width: 722px;
-webkit-font-smoothing: antialiased;
}
@splorp
splorp / wanted.md
Last active October 25, 2021 20:34
Wanted: Magazines, Publications, Discs & Sundries

Wanted

This is a list of magazines, publications, discs, and other sundry articles that I am interested in obtaining, in order to complete parts of my compunabula collection.

See also: Floppies

If you happen to have any of these items kicking around, please contact me.

grant [a] splorp [dot] com

@splorp
splorp / GitHub_2011-12-09-162512_gobsmacker.crash
Created December 9, 2011 23:27
GitHub_2011-12-09-162512_gobsmacker.crash
Process: GitHub [18122]
Path: /Applications/GitHub.app/Contents/MacOS/GitHub
Identifier: com.github.GitHub
Version: 1.1.1 (1.1.1)
Code Type: X86-64 (Native)
Parent Process: launchd [139]
Date/Time: 2011-12-09 16:25:09.592 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@splorp
splorp / comment-blacklist-for-wordpress.md
Last active November 26, 2023 08:47
Comment Blacklist Keywords for WordPress

Comment Blacklist for WordPress

Notice!

As of November 5th, 2013, this version of the blacklist 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 Comment Blacklist for WordPress on GitHub.

@splorp
splorp / system.log
Created October 17, 2011 17:05
A sample from the system log entries generated by the Fliqlo (1.3.3) screensaver in Snow Leopard (10.6.8) … the screensaver does not activate when selected in the Preference Panel, however it does appear to display correctly in the “Options…” window.
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getMonitorNumber?returnVarName1=NUMVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getComputerName?returnVarName1=STRVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getPlayMode?returnVarName1=NUMVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getUserGUID?returnVarName1=STRVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getSecurityMode?returnVarName1=NUMVAL
11-10-17 10:56:05 AM System Preferences[1510] MISSING Implementation for >getSecurityMode?returnVarName1=NUMVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getUserName?returnVarName1=STRVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getSpecialFolder?folderCode=1&returnVarName1=STRVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_STF.getPlayMode?returnVarName1=NUMVAL
11-10-17 10:56:05 AM System Preferences[1510] URLString ST://ST_S