Skip to content

Instantly share code, notes, and snippets.

View thomasvincent's full-sized avatar

Thomas Vincent thomasvincent

  • Relenz, LLC
  • San Francisco, California, USA
View GitHub Profile
@thomasvincent
thomasvincent / backups3.sh
Last active August 8, 2017 16:43
S3 backup script
#!/bin/bash
##############################################################################
#
# S3 Backup Script
#
# Author: Thomas Vincent
# Based on template used for all Thomas Vincent shell scripts
#
# If your going to run this under OS X, you need to install GNU grep via brew
#
aws --output text iam list-users | awk '{print $NF}' | xargs -P10 -n1 aws --output text iam list-access-keys --user-name

Keybase proof

I hereby claim:

  • I am thomasvincent on github.
  • I am thomasvincent (https://keybase.io/thomasvincent) on keybase.
  • I have a public key ASD8QIkRNu1btUnnV63PTZdmj84UAYEkIEz-FC1pJd2hSAo

To claim this, I am signing this object:

# Based on https://github.com/gitlabhq/gitlab-ci-runner/blob/master/Dockerfile
# by Sytse Sijbrandij <sytse@gitlab.com>
# This script will start a runner in a docker container.
#
# First build the container and give a name to the resulting image:
# docker build -t codingforce/gitlab-ci-runner-testkitchen github.com/codingforce/gitlab-ci-runner-testkitchen
#
# Then set the environment variables and run the gitlab-ci-runner in the container:
# docker run -e CI_SERVER_URL=https://ci.example.com -e REGISTRATION_TOKEN=replaceme -e HOME=/root -e GITLAB_SERVER_FQDN=gitlab.example.com codingforce/gitlab-ci-runner-testkitchen
@thomasvincent
thomasvincent / hc-vcs.py
Created July 29, 2014 01:46
fix for hc-vcs.py
#!/usr/bin/env python
import hcvcs, time, os
"""
Health Check script:
1. Dump / report cluster configuration data.
a. How many nodes do you need to start the cluster? (/etc/gabtab)
b. How is LLT configured? (lltconfig -T query)
c. What are the members of the cluster and their status?