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
## Load Environment | |
# | |
if [[ -s "/Users/user_name/.rvm/environments/ruby-1.8.7-p330@gemset" ]] ; then | |
. "/Users/user_name/.rvm/environments/ruby-1.8.7-p330@gemset" | |
fi | |
rvm use 1.8.7@gemset | |
export RAILS_ROOT=$(pwd) | |
## Aliases | |
# |
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
<% branch = `git branch | grep "*"`.sub('*', '').strip %> | |
common: &common | |
adapter: postgresql | |
username: | |
password: | |
host: localhost | |
development: | |
database: cp_<%= branch %>_development | |
<<: *common |
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
openstack-cookbooks | |
.vagrant | |
cache |
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
(* | |
Taken from: http://hintsforums.macworld.com/showthread.php?t=110246 | |
Get additional profiles from: | |
http://www.adobe.com/support/downloads/detail.jsp?ftpID=3680 | |
*) | |
property profilePath : "'/Library/ColorSync/Profiles/Adobe ICC Profiles (end-user)/CMYK/CoatedGRACoL2006.icc'" | |
on run |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
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
#!/bin/bash | |
export DEBIAN_FRONTEND=noninteractive | |
cat >>/etc/apt/sources.list <<END | |
# Needed for older versions of libqt (needed for cucumber and capybara/webkit) | |
deb http://archive.ubuntu.com/ubuntu oneiric main | |
END | |
apt-get update | |
apt-get remove -y libqtwebkit-dev libqt4-dev |
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
# Ubuntu 18.10 | |
# | |
# VM Setup: | |
# 1 Cores & 2 GB RAM | |
# | |
# Requirements: | |
# - $ sudo apt-get install curl -y | |
# - Your SSH keys are already setup since these includes cloning repositories from github. | |
# | |
# Post install if you hadn't done so: |
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
# Tested on Elementary Luna 0.2 | |
# | |
# VM Setup: | |
# 2 Cores & 4 GB RAM | |
# | |
# Requirements: | |
# sudo apt-get install curl -y | |
# | |
# Run this script by doing the command below: | |
# |
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
require 'pry' | |
class StrongType | |
def initialize | |
@binding = binding | |
end | |
def self.func(name, arguments, &method_body) | |
define_method(name) do |*args| | |
types = arguments.values |
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
#!/bin/bash | |
# node.js using PPA (for statsd) | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs npm | |
# Install git to get statsd | |
sudo apt-get install git |
OlderNewer