Skip to content

Instantly share code, notes, and snippets.

View svanzoest's full-sized avatar

Sander van Zoest svanzoest

View GitHub Profile
@svanzoest
svanzoest / push-tag
Created November 27, 2017 17:53
Docker ECR push script
#!/bin/bash
IMAGE_NAME="org/project"
IMAGE_TAG="latest"
AWS_REGION="us-west-2"
AWSCLI=aws
JQCLI=jq
DOCKERCLI=docker
@svanzoest
svanzoest / create_macos_user.sh
Created October 19, 2017 00:07
Create MacOS User
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "Sorry, you are not root."
exit 1
fi
sysadminctl \
-addUser ${USERNAME} \
-fullName "${FULLNAME}" \

Keybase proof

I hereby claim:

  • I am svanzoest on github.
  • I am svanzoest (https://keybase.io/svanzoest) on keybase.
  • I have a public key whose fingerprint is 34C7 43B7 1434 A265 FD6F B766 250C 5B20 35F9 9741

To claim this, I am signing this object:

@svanzoest
svanzoest / .bash_aliases
Last active December 16, 2015 01:39
.bash_aliases for Ubuntu 12.04 Desktop
# https://github.com/ConradIrwin/jist
# gem install jist
alias gist=jist
# http://defunkt.io/hub/
# curl http://defunkt.io/hub/standalone -sLo ~/bin/hub
# chmod +x ~/bin/hub
alias git=hub
# OS X pbcopy(1) equiv on X11
alias pbcopy='xsel --clipboard --input'
# OS X pbpaste(1) equiv on X11
@svanzoest
svanzoest / solarize.sh
Created March 21, 2012 01:20 — forked from codeforkjeff/solarize.sh
shell script for setting gnome-terminal color palette to use Solarized theme
#!/bin/sh
#
# Shell script that configures gnome-terminal to use solarized theme
# colors. Written for Ubuntu 11.10, untested on anything else.
#
# Solarized theme: http://ethanschoonover.com/solarized
#
# Adapted from these sources:
# https://gist.github.com/1280177
# http://xorcode.com/guides/solarized-vim-eclipse-ubuntu/