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
######################################## | |
##### upstart_virtualenv_test.conf ##### | |
##### install in /etc/init ##### | |
######################################## | |
description "Testing virtualenv and upstart setup" | |
env PYTHON_HOME=/home/steve/.virtualenvs/upstart-test | |
start on runlevel [2345] |
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
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
set show-all-if-ambiguous on | |
set completion-ignore-case on |
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
# First attempt to provision and configure a Digital Ocean droplet | |
# using Ansible. | |
# | |
# After you run this the first time, you have to fill in the droplet | |
# id it prints into the id= parameter of the digital_ocean task. From | |
# there on out it's idempotent. | |
- hosts: 127.0.0.1 | |
connection: local | |
gather_facts: False |
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 | |
write_files: | |
- path: /home/core/journal2logentries.sh | |
permissions: '0744' | |
owner: root:root | |
content: | | |
#!/usr/bin/env bash | |
# CoreOS on Google Compute Engine: push systemd journal logs to logentries.com | |
# get your private token from logentries.com, see https://logentries.com/doc/input-token |
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
$eye = chop($eyes); | |
$the_cow = <<"EOC"; | |
$thoughts A__^ | |
$thoughts ($eye#)\\_______ | |
(__)\\ )\\/\\ | |
$tongue ||----w | | |
J| |V | |
EOC |
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
# Based on Tim Sutton's prepare_iso.sh from the excellent osx-vm-templates | |
# <https://github.com/timsutton/osx-vm-templates/blob/master/prepare_iso/prepare_iso.sh> | |
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg | |
hdiutil create -o tmp.dmg -size 10g -layout SPUD -fs HFS+J | |
hdiutil attach tmp.dmg | |
asr restore --source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg --target /Volumes/untitled --erase | |
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages | |
cp -Rv /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/ | |
cp -v /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/ |