Skip to content

Instantly share code, notes, and snippets.

View nestorsalceda's full-sized avatar
🤘
Doing stuff

Néstor Salceda nestorsalceda

🤘
Doing stuff
View GitHub Profile
@jrub
jrub / SenpaiDevs.md
Last active March 26, 2016 10:46
Senpai Devs: contenidos
  • Principios y metodologías Ágiles
  • eXtreme Programming, CI, TDD
  • Scrum, Kanban
  • vim mastering
  • Linux, bash
  • tools para pair programming
  • git
  • DevOps, Deploys, provisioning, Docker
  • Bases de datos
  • Ruby, Rails, JS
@janko
janko / 01-activerecord.rb
Created May 27, 2015 22:50
PostgreSQL JSON querying in Sequel (my presentation from our local Ruby meetup)
require "active_record"
ActiveRecord::Base.establish_connection('postgres:///testing')
ActiveRecord::Migration.verbose = false
ActiveRecord::Migration.class_eval do
create_table :played_quizzes, force: true do |t|
t.integer :player_ids, array: true
t.json :quiz_snapshot
end
@ianblenke
ianblenke / Makefile
Last active October 7, 2019 12:35
A Makefile for creating, updating, watching, and deleting a CloudFormation VPC as per gists 9f4b8dd2b39c7d1c31ef and 0a6a6f26d1ecaa0d81eb
STACK:=myapp-dev
TEMPLATE:=cloudformation-template_vpc-iam.json
PARAMETERS:=cloudformation-parameters_myapp-dev.json
AWS_REGION:=us-east-1
AWS_PROFILE:=aws-dev
all:
@which aws || pip install awscli
aws cloudformation create-stack --stack-name $(STACK) --template-body file://`pwd`/$(TEMPLATE) --parameters file://`pwd`/$(PARAMETERS) --capabilities CAPABILITY_IAM --profile $(AWS_PROFILE) --region $(AWS_REGION)