This file contains hidden or 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
Debian installer on a USB key with a writable file system. | |
I couldn't find a concise article about creating a Debian installer USB | |
key with a writable file system, so here is my take. This assumes you | |
have an available Linux system. Note that some old BIOSes might not | |
happily boot USB drives created in this way. | |
* Install the packages syslinux dosfstools mbr | |
* Insert the thumb drive and find the device using dmesg | |
* Install a Master Boot Record to the drive (install-mbr /dev/sdX) |
This file contains hidden or 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
#!/bin/sh | |
# This script changes instances of <actor, Action> to <Action, actor> so | |
# that the current Inform6 compiler can compile test programs using the | |
# Inform6 Library between commits | |
# 9abf2dd82318ad5406ee2f171462e8c7ed596e5b and | |
# 5426af94aa57ade55ba7928f4eed6e47b314f0ca inclusive. | |
# To reverse this, just do "git checkout -f verblibm.h" |
This file contains hidden or 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/perl -w | |
# This script picks a fortune out of a fortune file and prints it. | |
# We start by counting the number of fortune separators there are in the file | |
# '%'. Pick a random number from zero to the number of separators found. | |
# Then rewind the file and count out that many separators. | |
# Next we load the upcoming fortune into a string, making sure not | |
# load the trailing separator, if there is one. Then print. | |
# This script is optimized for memory usage. |
This file contains hidden or 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
#!/bin/sh | |
# eps2svg: EPS to SVG vector command line image converter | |
# David Griffith <[email protected]> | |
# Created March 30, 2009 and released into the public domain | |
# The programs pstoedit and skencil are required. | |
EXT="svg" | |
USAGE="usage: eps2svg [-v] input.eps [output.svg]\n -v verbose mode" |
This file contains hidden or 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 | |
# David Griffith <[email protected]> | |
# isbn2bib version 0.4 | |
# Copyright December 11, 2010 | |
# | |
use strict; | |
use warnings; |