- Alfredos
- Madcafé
- New York Burger
- Homeburger
- San Wich
- La vaca picada
_____
# Check this out, rvm use rbx | |
ruby_block "rvm use rbx" do | |
block do | |
Chef::Mixin::Command.popen4('bash -l -c "rvm use 1.9.1 && env"') do |p,i,o,e| | |
o.each_line do |line| | |
env_bits = line.split("=") | |
ENV[env_bits[0]] = env_bits[1] | |
end | |
end |
current_dir = File.dirname(__FILE__) | |
platform = "https://api.opscode.com/organizations" | |
require 'grit' | |
branch = Grit::Repo.new("#{current_dir}/..").head.name | |
case branch | |
when "internal" | |
url = "http://virt1test.int.example.org:4000" | |
validator = "" |
# | |
# Provider Name:: swapfile | |
# | |
# Copyright 2010, Blue Coat Systems Inc. | |
# | |
require 'chef/mixin/command' | |
include Chef::Mixin::Command | |
action :create do |
# This script just get the latest tracks of your friends on Last.fm and recommends those more popular. | |
# It's all based on a conversation between @mort, @rochgs, @littlemove and me (mainly by @mort) | |
# INSTRUCTIONS | |
# 1. Install lastfm gem: https://github.com/youpy/ruby-lastfm/ | |
# gem install lastfm | |
# 2. Get a Last.fm API Key on http://www.lastfm.es/api | |
require 'lastfm' |
#!/usr/bin/env ruby | |
# jazzfonica.rb for Mac OS X | |
# Scans the visible networks for JAZZTEL_XXXX or WLAN_XXXX and calculates the password | |
# Ported from PHP example at http://kz.ath.cx/wlan/codigo.txt | |
# Download and execute with ruby (e.g. ruby jazzfonica.rb) from a Terminal | |
require 'digest/md5' | |
messages = [] | |
unless !File.exists?('/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport') |
#!/usr/bin/env bash | |
set -e | |
set -x | |
### How To Use | |
# | |
# sudo bash -c 'bash \ | |
# <(curl -sLB https://raw.github.com/gist/1209226/bootstrap_chef_server.sh) \ | |
# --hostname foo.example.com' | |
# |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
_____