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 | |
BASE_PATH=/var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/v2/repositories | |
DRY_RUN=0 | |
KEEP_LAST_IMAGES=10 | |
RUN_GARBAGE_COLLECTOR=0 | |
GITLAB_CTL_COMMAND=`which gitlab-ctl` | |
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
GistID: 4515800 | |
Replacement for seemingly shitty autoclose | |
https://github.com/Raimondi/delimitMate | |
Replacement for ultrapooty Snipmate | |
https://github.com/guns/ultisnips | |
Replacement for pooty SuperTab (this is some seriously cool shit! also still maintained) | |
https://github.com/Shougo/neocomplcache |
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/sh | |
# Script to boot strap new EC2 instances and get them connected to our Puppet Enterprise master | |
rpm --quiet -q git rubygems || yum -y install git rubygems | |
if rpm --quiet -q pe-puppet; then | |
# Puppet Enterprise is already installed, let's reconfigure it - this instance was most likely booted up in the past, or is using an AMI that already has Puppet baked in | |
service pe-puppet stop | |
cat > /etc/puppetlabs/puppet/puppet.conf <<EOF |