If you run into problems running chef-dk, maybe check out this blog: sane ruby env blog post
This file contains hidden or 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
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()} |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'pp' | |
ini = Hash.new | |
cur_section = nil | |
File.open("Test.ini").each do |line| |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'chef/knife' | |
Chef::Config.from_file(File.join(Chef::Knife.chef_config_dir, 'knife.rb')) | |
rest = Chef::REST.new(Chef::Config[:chef_server_url]) | |
Chef::Node.list.each do |node| | |
%w{read update delete grant}.each do |perm| |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'chef' | |
require 'chef/knife/cookbook_metadata_from_file' | |
require 'chef/knife/cookbook_metadata' | |
require 'mixlib/shellout' | |
require 'json' | |
require 'pp' | |
require 'highline/import' |
This file contains hidden or 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
Juicer Bloody Marys (8-10 servings) | |
8-10 large roma or medium slicer tomatoes | |
1 stalk of celery (use small ribs and leaves as garnish) | |
1 large cucumber | |
1 green bell pepper | |
1 jalapeno (pull out the seeds and ribs if you like it mild) | |
2 carrots | |
1 clove of garlic | |
2 limes |
This file contains hidden or 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
1 sudo passwd | |
2 ls | |
3 uname -a | |
4 apt-get install build-essenatial git | |
5 apt-get install build-essential git | |
6 curl -L https://www.opscode.com/chef/install.sh | sudo bash | |
7 echo 'export PATH="/opt/chef/embedded/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile | |
8 mkdir -p /var/chef/cache /var/chef/cookbooks/emacs | |
9 : wget -qO- https://github.com/opscode-cookbooks/chef-server/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/chef-server --strip-components=1 | |
10 wget -qO- https://github.com/opscode-cookbooks/emacs/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/emacs --strip-components=1 |
This file contains hidden or 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
3 Floyd’s - Zombie Dust | |
Batch Size: 6 gallons | |
Estimated Original Gravity: 1.065 | |
Estimated Final Gravity: 1.018 | |
Estimated Color: 8.5 SRM | |
Bitterness: 65.9 IBU | |
Mash Temp: 154 F | |
60 min boil |