Skip to content

Instantly share code, notes, and snippets.

View mhudson's full-sized avatar

Mark H mhudson

  • KPMG Australia
  • Sydney, Australia
  • 07:08 (UTC +10:00)
  • X @mhudson
View GitHub Profile
@ryanhanwu
ryanhanwu / Brewfile
Last active July 19, 2023 05:22
New Mac Setup Script 2021
# Taps
tap 'homebrew/cask-fonts'
tap 'homebrew/cask-versions'
tap 'heroku/brew'
# Install CLI Tools
## Shell Utilities
brew 'coreutils'
brew 'findutils'
brew 'autojump'
@rafaelhenrique
rafaelhenrique / download-messages.py
Last active September 2, 2021 04:54
Download messages from SQS Queue
import json
import boto3
# Get the service resource
sqs = boto3.resource(
'sqs',
aws_access_key_id='your_key',
aws_secret_access_key='your_access_key',
region_name='your_aws_region'
@justinsoliz
justinsoliz / ssms_install.ps1
Created February 17, 2018 19:45
Powershell - Install Sql Server Management Studio
# Set file and folder path for SSMS installer .exe
$folderpath="c:\windows\temp"
$filepath="$folderpath\SSMS-Setup-ENU.exe"
#If SSMS not present, download
if (!(Test-Path $filepath)){
write-host "Downloading SQL Server 2016 SSMS..."
$URL = "https://download.microsoft.com/download/3/1/D/31D734E0-BFE8-4C33-A9DE-2392808ADEE6/SSMS-Setup-ENU.exe"
$clnt = New-Object System.Net.WebClient
$clnt.DownloadFile($url,$filepath)
@marknca
marknca / remove-opsworks-security-groups.sh
Last active March 27, 2023 15:29
Remove OpsWorks security groups from a given region
#! /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