We'll assume an OS X Mavericks (10.9) box here.
You'll need:
- Vagrant
- Vagrant's VMware Fusion provider
Note: total experiment and hack, looks nasty, could be awesome:
kitchen.local.yml
into $HOME/.kitchen/config.yml
brew install polipo
, with Ubuntu: apt-get install polipo
)polipo-start
and polipo-console
somewhere useful (perhaps $HOME/bin
?)* An Emacs Workshop for Beginners | |
It's all about discovering Emacs Really | |
** Install | |
*** Emacs 24.3 | |
http://emacsformacosx.com/ | |
http://emacs.naquadah.org/ | |
http://ftp.gnu.org/pub/gnu/emacs/windows/ | |
** Conventions and docs |
function table() { | |
case "$1" in | |
flip) | |
echo "(╯°□°)╯︵ ┻━┻ " | |
;; | |
set) | |
echo "┬─┬ ノ( ゜-゜ノ)" | |
;; | |
man) | |
echo "(╯°Д°)╯︵ /(.□ . \)" |
echo '{ | |
"handlers": ["debug"], | |
"name": "push_woot_test", | |
"output": "woot!", | |
"status": 0 | |
}' | nc -w1 127.0.0.1 3030 |
ddeleo@boltzmann chef git:(master)> bin/knife role tree $node_name | |
top level | |
|-role[preprod] | |
| |-recipe[network] | |
| |-recipe[splunk42] | |
|-role[mysql-master] | |
| |-role[base] | |
| | |-role[platform-annoyances] | |
| | | |-recipe[platform-specific] | |
| | | |-recipe[selinux::disabled] |
#!/usr/bin/env ruby | |
cbdir=ARGV[0] | |
output = "./deps.dot" | |
puts "Running on #{cbdir}..." | |
cb_meta = Dir.glob("#{cbdir}/*/metadata.rb") | |
fp=File.open(output,"w") |
#!/usr/bin/env ruby | |
cbdir=ARGV[0] | |
output = "./deps.dot" | |
puts "Running on #{cbdir}..." | |
cb_meta = Dir.glob("#{cbdir}/*/metadata.rb") | |
fp=File.open(output,"w") |
# This might not work on newer (than 0.10.6) versions of Chef. | |
# Thanks for pointing to my new gist, spkane :) | |
# https://gist.github.com/1040543 | |
require 'rubygems' | |
require 'ohai' | |
o = Ohai::System.new() | |
o.all_plugins |
;;; http-twiddle.el -- send & twiddle & resend HTTP requests | |
;; This program belongs to the public domain. | |
;; Author: Luke Gorrie <luke@synap.se> | |
;; Maintainer: Hasan Veldstra <h@vidiowiki.com> | |
;; Created: 1 Feb 2006 | |
;; Adapted-By: Hasan Veldstra | |
;; Adapted-By: Christopher Brown <cb@opscode.com> | |
;; Version: 1.0 |