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
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. | |
# |
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
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 |
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 | |
# | |
# script for the svn vs git screen cast | |
function and_wait { | |
if [[ $# -ne 1 ]]; then | |
sleep 5 | |
else | |
sleep $1 | |
fi |
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
# 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 |
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
require 'yaml' | |
require 'right_aws' | |
require 'fileutils' | |
# | |
# Utility methods for accessing and manipulating | |
# Amazon s3 buckets | |
# | |
class S3 < Thor | |
include FileUtils::Verbose |