Skip to content

Instantly share code, notes, and snippets.

View ryanflach's full-sized avatar

Ryan Flach ryanflach

View GitHub Profile
@justsml
justsml / rsync options worth knowing.md
Created April 13, 2017 08:07
rsync: the good parts

Rsync is amazingly powerful

There are 100's of options for rsync

And I can't remember the options to save my life - and that man page, just goes on and on...

My cheat sheet is 99% of the important ones:

I'll add explainers and examples in a follow up.

Migration with ActiveRecord and Rails

Basic CLI commands

1.) Create a new table

  • rails g migration CreateTask title:string description:text
class AddStartDateToTask < ActiveRecord::Migration
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 22, 2024 09:39
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04