This file contains 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
#!/bin/bash | |
##########IMPORTANT########################################################################### | |
# This script requires rvm: http://beginrescueend.com/ | |
# Before running this script you must install rvm. This script will install ruby 1.9.3-p0 if it | |
# is not already. Ruby can take 10 minutes to compile. | |
# Load RVM into a shell session *as a function* | |
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then | |
# First try to load from a user install |
This file contains 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 | |
# setup_base_ruby_box.sh | |
sudo apt-get update -y | |
sudo apt-get install build-essential zlib1g-dev libssl-dev libreadline-dev git-core curl libyaml-dev libcurl4-dev libsqlite3-dev apache2-dev -y | |
sudo rm -rf /opt/vagrant_ruby | |
curl --remote-name http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar zxf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure | |
make |
This file contains 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
;;; http://pastie.org/paste/asset/188795/puppet-mode.el | |
;;; | |
;;; puppet-mode.el | |
;;; | |
;;; Author: lutter | |
;;; Description: A simple mode for editing puppet manifests | |
;;; | |
(defconst puppet-mode-version "0.1") |
This file contains 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
(add-to-list 'load-path "~/.emacs.d/") | |
(add-to-list 'load-path "~/.emacs.d/puppet-mode") | |
(autoload 'puppet-mode "puppet-mode.el" | |
"Major mode for editing puppet files." t) | |
(add-to-list 'auto-mode-alist '("[.]pp$" . puppet-mode)) |
This file contains 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 | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install git-core -y | |
sudo apt-get install emacs23 emacs-goodies-el -y | |
cd /tmp | |
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb |
This file contains 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
touch /tmp/hello.txt |
This file contains 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
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo add-apt-repository ppa:cassou/emacs | |
sudo apt-get update | |
sudo apt-get install emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot emacs-goodies-el tmux git-core curl -y | |
git clone git://github.com/jalvarezsamayoa/emacs.dotfiles.git ~/.emacs.d | |
wget https://s3.amazonaws.com/pe-builds/released/2.6.1/puppet-enterprise-2.6.1-ubuntu-12.04-amd64.tar.gz |
This file contains 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
# Telmex | |
# Mexico | |
mx: | |
telmex: | |
name: Telmex | |
parent: !!null | |
providers: | |
### DEFAULT AND DUMMY PROVIDERS |
This file contains 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
a = blajd |
OlderNewer