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 | |
# | |
# This utility creates a bitbucket URL for showing the changes between the last two tags for the | |
# git repo you are currently in. | |
# | |
# To install this place this file in your /usr/local/bin folder and | |
# chmod +x the file so it has execution rights. Then run 'bb-change-url' from any git repo. | |
# | |
# Dan Herman | |
# |
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/ruby | |
# | |
# run this command (chmod +x this file first) with username as first parameter to automatically create | |
# an SSH config file with all of your servers from opsworks | |
# | |
class SSHConfig | |
require 'json' | |
require 'erb' |
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 | |
# Remove OpsWorks security groups from the given region | |
# Available regions: | |
# ==================== | |
# ap-northeast-1 => Asia Pacific (Tokyo) Region | |
# ap-southeast-1 => Asia Pacific (Singapore) Region | |
# ap-southeast-2 => Asia Pacific (Sydney) Region | |
# eu-west-1 => EU (Ireland) Region |