start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env ruby | |
# Requirements: | |
# - A PulseAudio server running at the host in TO below. | |
# - SoundFlower installed | |
# - ESound installed (on mac, brew install esound) | |
# Select SoundFlower (2ch) as both Input AND Output devices, then run "streamit start" | |
# otherwise you don't have to worry about anything; it's a daemon, will run in the background, | |
# once you're finished just kill esd or run "streamit stop" |
This is a local copy of the commands from:
This guide serves as a reference of collected information necessary for strict management of PGP keys. This includes keeping a master key that always remains
knife exec -E "search(:node,'*:*').select{|n|n.run_list.empty?}.each{|n| puts n.name}" |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
All of this should go into a directory that is available via HTTP and NFS. In variables.ipxe you can provide the HTTP root and NFS root paths, which are used later. Also there are some variables to set the default iscsi root (without the last part after the colon) and the initiator iqn. These are used to auto-fill the iscsi menu options.
You should tell iPXE to boot bootstrap.ipxe.
The bootstrap process reads a bunch of files and sets a bunch of variables. Of importance, it will read the file macs/XXXXXXX.ipxe
:CtrlP
or :CtrlP [starting-directory]
to invoke CtrlP in find file mode.:CtrlPBuffer
or :CtrlPMRU
to invoke CtrlP in find buffer or find MRU file mode.:CtrlPMixed
to search in Files, Buffers and MRU files at the same time.Check :help ctrlp-commands
and :help ctrlp-extensions
for other commands.
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
Is a useful one-liner which will give you the full directory name of the script no matter where it is being called from
These will work as long as the last component of the path used to find the script is not a symlink (directory links are OK). If you want to also resolve any links to the script itself, you need a multi-line solution:
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
#!/usr/bin/env bash | |
# | |
# script to stop vagrant box for use with systemd | |
# place scripts into /usr/lib/systemd/scripts/ | |
# be sure to put the .service file in /lib/systemd/system/ | |
# | |
# -- Geoffrey McClinsey | |
VAGRANTUSR=vagrant # user you want vagrant box to run as | |
VAGRANTBOXPATH= # add path to Vagrantfile |