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/bash | |
# roto-chrooter, (C) 2005 Sam Powers <[email protected]>. Licensed under GNU GPL. | |
VER="1.4" | |
# You can edit the default suite and chroot dir here, or by setting one of the | |
# below two env vars $_SUITE or $_CHROOT_DIR prior to running the script: | |
test $_CHROOT_DIR || export _CHROOT_DIR="/chroot" | |
test $_SUITE || export _SUITE="sarge" | |
test $_MIRROR || export _MIRROR="http://http.us.debian.org/debian" | |
# pdmenu https://joeyh.name/code/pdmenu/ |
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/bash | |
set -e | |
### | |
# Script to set root password and networking config on first boot. | |
# | |
# Make your modifications and turn this on by running: | |
# /etc/init.d/firstrun enable | |
### |
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 | |
. ~/.plonkrc # defines TWUSER and TWPASS. chmod 600 it... also define SMTPHOST there. | |
plonkmail() { | |
sendEmail \ | |
-f `whoami`@`hostname -f` -t $MAILTO -u "$1" -m `basename $1` \ | |
-s $SMTPHOST \ | |
-a "$1" | |
} |
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
000-000-0000 | |
000-0000 | |
AAAA 000-000-0000 AAAA 000-000-0000 | |
0-000-000-0000 | |
000 -000 -0000 | |
000 000-0000 | |
000 000-0000/000-0000 AAAAAA | |
000 0000 | |
000 A AAAA, #00, AA | |
000- 000-0000 |
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
[global] | |
workgroup = WORKGROUP | |
printing = bsd | |
printcap name = /dev/null | |
[pub] | |
path = /pub | |
write list = root | |
read only = no |
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/bash | |
set -x | |
# | |
# Purpose: Run on a workstation to make a remote IPMI controller available at http://127.0.0.2:80/ | |
# Only does port mapping. IPMI controllers may have their own taxing browser requirements. | |
# Requires that you have a shell on a host that is on the same network as your IPMI interface. | |
shell='user@ssh-host-on-ipmi-network' |
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 | |
while read; do eject ; read ; eject -t ; done |
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 | |
use POSIX qw(strftime); | |
use Data::Dumper; | |
sub timestamp { return strftime("%H:%M:%S", localtime(time)); } | |
sub datestamp { return strftime("%b %d", localtime(time)); } | |
sub l { | |
my ($msg) = shift; | |
printf("$0: %s %s $msg\n", datestamp(), timestamp()); |
NewerOlder