Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View gilmation's full-sized avatar

Gilmation gilmation

View GitHub Profile
require 'rubygems'
require 'yaml'
require 'net/http'
require 'uri'
#
# Check that the HTTP Response is as expected.
# See -help for format of the input file
#
class CheckHttpResponse
@gilmation
gilmation / svn_git_steps.sh
Created October 22, 2010 20:05
The script that compares the functions of Subversion and Git using two versions of the symfony project
#!/bin/bash
#
# script for the svn vs git screen cast
function and_wait {
if [[ $# -ne 1 ]]; then
sleep 5
else
sleep $1
fi
# Set the execution policy
Set-ExecutionPolicy RemoteSigned
# Set up functions
# To use this profile the following environment variables must exist:
# They can be created by substituting:
# $VALUE for the value that you want for each variable
# The third argument can be either of Process|User|Machine.
# Process gets and sets to the current window
require 'yaml'
require 'right_aws'
require 'fileutils'
#
# Utility methods for accessing and manipulating
# Amazon s3 buckets
#
class S3 < Thor
include FileUtils::Verbose
@gilmation
gilmation / netdna.rb
Last active August 29, 2015 14:01
A ruby script containing utility methods for git projects using the NetDNA CDN.
require 'rubygems'
require 'yaml'
require 'netdnarws'
#
# Utility methods for git projects using
# the NetDNA CDN. Put this file at the root of the project that
# you wish to manage so that the paths match the resources in the
# CDN.
#