Skip to content

Instantly share code, notes, and snippets.

View SHoar's full-sized avatar

Sean Hoar SHoar

View GitHub Profile
@SHoar
SHoar / move_to_rds.rb
Created February 26, 2018 06:33 — forked from guenter/move_to_rds.rb
A quick and dirty script to move a database into Amazon RDS (or any other database). Can transfer part of the data beforehand.
require 'fileutils'
start_time = Time.now
SOURCE_DB = {
:name => 'db_name',
:user => 'db_user',
:password => 'db_pass',
:host => 'localhost'
@SHoar
SHoar / 0_reuse_code.js
Created November 3, 2016 23:44
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console