Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
#!/bin/bash | |
# MIT License | |
# | |
# Copyright (c) 2019 Darin London | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.
Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.
All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.
#!/bin/bash | |
# | |
# pre-receive hook for Commit Check | |
# | |
COMPANY_EMAIL="mycorp.org" | |
readonly PROGNAME=$(basename $0) | |
readonly PROGDIR=$(readlink -m $(dirname $0)) |
Based on this template. Release process at FirePress (blog post). Based on Keep a Changelog and this project adheres to Semantic Versioning.
-- All mautic campaign delays merged. Two queries (the first is important). Takes under 10s. | |
-- Depends on the PR of soft-deleted campaign events. | |
SET @@group_concat_max_len = 10000000000000; | |
SELECT * | |
FROM ( | |
SELECT NULL as campaign_id, | |
NULL as campaign_name, | |
NULL as event_id, | |
NULL as event_name, | |
NULL as lead_count, |
#!/bin/bash | |
# Requires: awscli (http://aws.amazon.com/cli/) | |
# Prints out a list of all security groups and their settings, just for quickly auditing it. | |
# Your AWS credentials | |
#if [ -z ${AWS_ACCESS_KEY_ID} ]; then | |
# export AWS_ACCESS_KEY_ID='***' | |
# export AWS_SECRET_ACCESS_KEY='***' | |
#fi |
#!/usr/bin/env bash | |
# | |
# Bootstrap script for setting up a new OSX machine | |
# | |
# This should be idempotent so it can be run multiple times. | |
# | |
# Some apps don't have a cask and so still need to be installed by hand. These | |
# include: | |
# | |
# - Xcode (for command line tools) |
This Python (3.6+) script is for migrating Amazon AWS System Manager (SSM) Parameter Store keys from one path to another.
To install the script do the following:
chmod +x /path/to/copy-ssm-ps-path.py
)pip install boto3
(if you don't have it installed already)