Skip to content

Instantly share code, notes, and snippets.

View abby-fuller's full-sized avatar
💁‍♀️

Abby Fuller abby-fuller

💁‍♀️
View GitHub Profile
@abby-fuller
abby-fuller / yeti.coffee
Created December 17, 2014 18:04
all the yetis for hubot
# Description:
# Load random yetis from array of yetis
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
@abby-fuller
abby-fuller / Vagrantfile
Created July 13, 2016 20:27
airtime backend vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
MEMORY = `sysctl -n hw.memsize`.to_i / 1024 / 1024 / 2
CPUS = `sysctl -n hw.ncpu`.to_i
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if ENV['VM'] == "virtualbox"
@abby-fuller
abby-fuller / provision.yml
Last active December 29, 2018 12:45
sample ansible provision.yml
---
#ansible provisioner for vagrant. this will run initially at 'vagrant up',
#and can be rerun with 'vagrant provision'
- hosts: all
gather_facts: no
vars_files:
- ../conf/secrets.yml
tasks:
@abby-fuller
abby-fuller / aws.yml
Last active July 18, 2016 20:14
authenticating with aws and ecr from vagrant
#docker/ecr setup
- name: login for config
sudo: yes
shell: export AWS_CONFIG_FILE=/home/vagrant/.aws/config; ECR_LOGIN="$(aws ecr get-login --region us-east-1)"; $ECR_LOGIN;
- name: login to ecr
sudo: yes
shell: export AWS_CONFIG_FILE=/home/vagrant/.aws/config; ECR_LOGIN="$(aws ecr get-login --region us-east-1)"; echo $ECR_LOGIN | awk '{print $6}';
register: docker_pass
- set_fact:
DOCKER_PASS: "{{ docker_pass.stdout }}"
@abby-fuller
abby-fuller / keybase.md
Created July 17, 2016 22:15
keybase.md

Keybase proof

I hereby claim:

  • I am abby-fuller on github.
  • I am abby (https://keybase.io/abby) on keybase.
  • I have a public key whose fingerprint is 8670 5FAF 01DF BBAF 62B9 8516 BC37 5000 D98F A9EF

To claim this, I am signing this object:

#configure awscli
- name: configure awscli
sudo: yes
shell: mkdir -p /home/vagrant/.aws && touch /home/vagrant/.aws/config
- name: change permissions
sudo: yes
shell: chmod -R 666 /home/vagrant/.aws/*
- name: create default config
sudo: yes
shell: echo "[default]" >> /home/vagrant/.aws/config