Skip to content

Instantly share code, notes, and snippets.

View sethvargo's full-sized avatar
☁️
📣

Seth Vargo sethvargo

☁️
📣
View GitHub Profile
@hh
hh / user.rb
Created February 12, 2013 00:34
example of created an encrypted data bag contents
require 'chef/knife'
module KnifePlugins
class User < Chef::Knife
deps do
require 'chef/search/query'
require 'chef/shef/ext'
end
banner "knife user"
@sferik
sferik / install-ruby-2.0.0.sh
Created November 5, 2012 02:28
Instructions to install on Ruby 2.0.0 on Mac OS X with homebrew
#!/usr/bin/env sh
brew update
brew install rbenv
brew install ruby-build
brew install openssl
CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` rbenv install 2.0.0-preview1
@chetan
chetan / yardoc_cheatsheet.md
Last active April 16, 2024 23:49
YARD cheatsheet