Skip to content

Instantly share code, notes, and snippets.

☸️

Colby Gutierrez-Kraybill colbygk

☸️
Block or report user

Report or block colbygk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View scratch-api-test.yml
---
###############################################################################
# Edit the following variables to suit
env: scratch-api-test
region: blah
az_1: blah
key_name: blah
View gist:5bff62762400df53199681f8ec634497
---
- include_vars: "{{ env }}.yml"
- name: create the VPC
ec2_vpc_net:
cidr_block: "{{ vpc.cidr_block }}"
name: "{{ env }}"
region: "{{ region }}"
state: present
View s.yml
---
- name: Setup the vpc
hosts: localhost
connection: local
gather_facts: False
roles:
- aws-scratch-api
View gist:5d0f16cf50e3e3319765114eecd8debe
---
dependencies:
- circus
- nodejs
- name:
apt:
name: "somelib"
state: latest
force: yes
View gist:1698edafc1f9fe7344bf
- name: Setup Users
sudo: yes
user:
name: "{{ item }}"
comment: "{{ vault['linux'][item]['comment'] | default('No comment') }}"
createhome: "{{ vault['linux'][item]['createhome'] | default('yes') }}"
password: "{{ vault['linux'][item]['password'] | default('nopassword') }}"
state: "{{ vault['linux'][item]['state'] | default('present') }}"
shell: "{{ vault['linux'][item]['shell'] | default('/bin/bash') }}"
groups: "{{ vault['linux'][item]['groups'] | default(item) }}"
@colbygk
colbygk / gist:2c623dd8d2481d55d572
Created Jan 14, 2016
ps -e -orss=,args= | grep node | sort -b -k1,1n | pr -TW$COLUMNS
View gist:2c623dd8d2481d55d572
22080 /usr/bin/node server.js
127892 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
129036 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
134968 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
137972 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
147424 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
148536 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
153956 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
161976 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
162820 /usr/bin/nodejs /srv/scratch-file-upload-manager/server.js
View keybase.md
### Keybase proof
I hereby claim:
* I am colbygk on github.
* I am cgk (https://keybase.io/cgk) on keybase.
* I have a public key whose fingerprint is BF8E 72D4 CD56 A8D9 F068 F9C6 C9CB 1B6B 1264 85D0
To claim this, I am signing this object:
View gist:12905e2e1f9dc6e5be3c
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
View gist:43a2f445665e73719554
// by david
int[][] result;
void setup() {
setup_();
result = new int[width*height][3];
}
void draw() {
View gist:c15e23610ae2d17e210c
// by Dave @ beesandbombs
int[][] result;
float t;
void setup() {
setup_();
result = new int[width*height][3];
}
You can’t perform that action at this time.