Skip to content

Instantly share code, notes, and snippets.

Hugh Gilmour gilmation

Block or report user

Report or block gilmation

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gilmation
gilmation / netdna.rb
Last active Aug 29, 2015
A ruby script containing utility methods for git projects using the NetDNA CDN.
View netdna.rb
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.
#
View check_http_response.rb
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 Oct 22, 2010
The script that compares the functions of Subversion and Git using two versions of the symfony project
View svn_git_steps.sh
#!/bin/bash
#
# script for the svn vs git screen cast
function and_wait {
if [[ $# -ne 1 ]]; then
sleep 5
else
sleep $1
fi
View Microsoft.PowerShell_profile.ps1
# 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
View s3.thor
require 'yaml'
require 'right_aws'
require 'fileutils'
#
# Utility methods for accessing and manipulating
# Amazon s3 buckets
#
class S3 < Thor
include FileUtils::Verbose
You can’t perform that action at this time.