This builds pentadactl on Ubuntu in a simple './build-pentadactyl
'. I use it since daily builds have been sporadic.
This file contains 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
LANG=C | |
3156 out.full | |
76 out.100 | |
50 out.50 | |
20 out.20 | |
3302 total | |
awk: /usr/bin/gawk | |
sed: /bin/sed | |
grep: /bin/grep | |
---- |
This file contains 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 | |
VERBOSITY=0 | |
TEMP_D="" | |
UC_PREP="/usr/share/lxc/hooks/ubuntu-cloud-prep" | |
error() { echo "$@" 1>&2; } | |
fail() { [ $# -eq 0 ] || error "$@"; exit 1; } | |
Usage() { |
This file contains 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 is run on new cloudatcost.com system, to get me more set up | |
## disables root password login and adds my user. | |
## | |
bdimage="http://bazaar.launchpad.net/~smoser/+junk/backdoor-image/download/head:/backdoorimage-20121004180823-pi43gdnl3fbp82la-1/backdoor-image" | |
me_ssh_id="smoser" | |
gecos="Scott Moser" | |
user="smoser" |
This file contains 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 -f | |
NAME="mini-ec2-init" | |
OIFS="$IFS" | |
CONSOLE="/dev/console" | |
LOG="/var/log/${NAME}.log" | |
MD_URL="http://169.254.169.254/2009-04-04/" | |
VERBOSITY=${VERBOSITY:-0} | |
HAS_USERDATA="" |
This file contains 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 | |
# https://gist.github.com/smoser/1f1d7d78fdbb36dce590 | |
VERBOSITY=0 | |
Usage() { | |
cat <<EOF | |
Usage: ${0##*/} ecryptfs-dir target-mountpoint | |
options: | |
-w | --wrapped-passphrase-file F wrapped passphrase file | |
this would ormally be ~/.ecryptfs/wrapped-passphrase |
When I want to run vim in a new terminal, I prefer vim inside gnome-terminal rather than gvim. Thats easily enough accomplished with
gnome-terminal --execute vim "$@"
However, sometimes you want to block until vim is done.
One example of this is pentadactl's editor (invoked with ctrl-i)
older versions of gnome-terminal had --disable-factory
, that would
block until the command executed returned. Newer versions have dropped that
This file contains 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
#cloud-config | |
apt_upgrade: true | |
packages: [ bzr, vim-nox, git-core ] | |
apt_reboot_if_required: true | |
ssh_import_id: [smoser] | |