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 bash | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz | |
tar -xvzf ruby-1.9.3-p327.tar.gz | |
cd ruby-1.9.3-p327/ | |
./configure --prefix=/usr/local | |
make | |
sudo make 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
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /home/vagrant/tmp/vagrant-chef/chef-solo-1/cookbooks |
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
[default] Mounting shared folders... | |
INFO interface: info: -- v-root: /vagrant | |
[default] -- v-root: /vagrant | |
INFO ssh: Execute: printf /vagrant (sudo=false) | |
INFO ssh: Execute: mkdir -p /vagrant (sudo=true) | |
INFO ssh: Execute: mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-root /vagrant (sudo=true) | |
INFO ssh: Execute: chown `id -u vagrant`:`id -g vagrant` /vagrant (sudo=true) | |
INFO ssh: Execute: [ -x /sbin/initctl ] && /sbin/initctl emit vagrant-mounted MOUNTPOINT=/vagrant (sudo=true) | |
INFO interface: info: -- v-csc-1: /tmp/vagrant-chef/chef-solo-1/cookbooks | |
[default] -- v-csc-1: /tmp/vagrant-chef/chef-solo-1/cookbooks |
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
# List-DistributionGroups.ps1 | |
# Peter Mellett 2012 | |
# | |
# Find all distribution groups of a user and list them to the console | |
# | |
# Example: | |
# .\List-DistributionGroups.ps1 [email protected] | |
# | |
# Name | |
# ==== |
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
Page | |
is invalid without a permalink | |
is invalid without content | |
has a valid factory | |
must have a unique permalink | |
URL | |
should match the permalink | |
# coloured by pass/fail/pending |
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/sh | |
### BEGIN INIT INFO | |
# Provides: chef-client | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Initscript to run chef-client daemon | |
# Description: Starts the chef-client daemon automatically upon start | |
### END INIT INFO |
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
# Default setup is given for MySQL with ruby1.8. If you're running Redmine | |
# with MySQL and ruby1.9, replace the adapter name with `mysql2`. | |
# Examples for PostgreSQL and SQLite3 can be found at the end. | |
production: | |
adapter: mysql2 | |
database: redmine | |
host: localhost | |
username: redmine | |
password: ****** |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<html> | |
<head> | |
<meta name="description" content="Doing this sort of layout gets me every time"> | |
<script src="//code.jquery.com/jquery-2.1.1.min.js"><\/script> | |
<meta charset="utf-8"> | |
<title>Nightmarish floaty layout thing</title> | |
</head> | |
<body> | |
<section> |
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
#config/routes.rb | |
Rails.application.routes.draw do | |
get '/surveys', to: 'surveys#show' | |
end |
OlderNewer