Skip to content

Instantly share code, notes, and snippets.


Scott Walters scottwalters

View GitHub Profile
View gist:f570fd8dc979022c6bbcd4f84a0e7b1e
use strict;
use warnings;
use Carp;
$SIG{USR1} = \&Carp::confess;
use Net::LPR;
View gist:bd6010938a60fc17084cead02c701c11
root@fluffy:/tmp# newfs_msdos -S 8192 -F 32 /dev/rsd3i
/dev/rsd3i: 1953286704 sectors in 244160838 FAT32 clusters (65536 bytes/cluster)
bps=8192 spc=8 res=4 nft=2 mid=0xf8 spt=63 hds=255 hid=16 bsec=1953525152 bspf=119220 rdcl=2 infs=1 bkbs=2
root@fluffy:/tmp# mount_msdos /dev/sd3i /mnt/flash
root@fluffy:/tmp# newfs_msdos -S $((8192*2)) -F 32 /dev/rsd3i'
/dev/rsd3i: 1953405920 sectors in 244175740 FAT32 clusters (131072 bytes/cluster)
bps=16384 spc=8 res=4 nft=2 mid=0xf8 spt=63 hds=255 hid=16 bsec=1953525152 bspf=59614 rdcl=2 infs=1 bkbs=2
root@fluffy:/tmp# mount_msdos /dev/sd3i /mnt/flash
mount_msdos: /dev/sd3i on /mnt/flash: not an MSDOS filesystem
View gist:8cc501a19bdd910d15f56555544cf633
Welcome to Linux 4.4.14 (ttyS0)
bleakstar login: [ 8324.823251] docker-compose: Corrupted page table at address 7fd594d9c420
[ 8324.823764] PGD 2b6de067 PUD 2b57b067 PMD 61067 PTE 6f004200410049
[ 8324.824264] Bad pagetable: 000f [#1] SMP
[ 8324.824484] Modules linked in: veth xt_nat xt_tcpudp ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack x_tables nf_nat nf_conntrack br_netfilter bridge stp llc overlay ipv6 fuse iosf_mbi crct10dif_pclmul crc32_pclmul evdev crc32c_intel loop
[ 8324.826499] CPU: 0 PID: 1678 Comm: docker-compose Not tainted 4.4.14 #2
[ 8324.827019] Hardware name: OpenBSD VMM, BIOS 1.11.0p0-OpenBSD-vmm 01/01/2011
[ 8324.827469] task: ffff88002561c980 ti: ffff880025418000 task.ti: ffff880025418000
[ 8324.828170] RIP: 0033:[<00007fd599f22abc>] [<00007fd599f22abc>] 0x7fd599f22abc
View gist:ec77fdd8368e38915dbaf05301fb3be2
View scab-client.sno
* snobol4 -d 100M scab-client.sno
-include 'random.sno'
-include 'http.sno'
-include 'host.sno'
dictfile = 'twl06.txt' ;* whole thing
View pod2rtf
# convert POD-like markup to an emulation Apress' MSWord template output
# {\*\template F:\\tmp\\} - I'd love to know the path to Kim's etc .dot
# but I can't find anything like this in the files I get from her!
# todo: run as a cgi, linkable from the wiki
# markups available to us:
=for comment
Take a simplified graph description source file (read on STDIN) and generate xvcg graphs. Requires the xvcg package and NetPBM.
foo: Foo is Foo -- create a node named 'foo' (in the source file) containing the text (in the output graph) 'Foo is Foo'
bar: Bar is Bar -- similar
View Managing uucp and Usenet
JavaScript The Definitive Guide
ActionScript 3.0 Cookbook
Facebook Cookbook
Naked Statistics
The Toaster Project
Programming Flex 2
Applied Statistics and the SAS Programming Language
OpenGL ES Game Development
OpenGL Refrence Manual (3rd edition)
Salesforce Cookbook
=for comment
MUD<->IRC proxy
Presents MUD as an IRC server
View gist:2f1fd6345f0460199a4a
bash-4.3# cabal install pandoc
Resolving dependencies...
Downloading SHA-
Downloading async-2.0.2...
Downloading base64-bytestring-
Configuring async-2.0.2...
Configuring base64-bytestring-
Downloading blaze-builder-
Building async-2.0.2...
Downloading byteable-0.1.1...
You can’t perform that action at this time.