Skip to content

Instantly share code, notes, and snippets.

@curious725
curious725 / rapid.md
Created May 24, 2019 11:17 — forked from eddroid/rapid.md
Rapid Prototyping with Rails

Rapid Prototyping with Rails

At Wyncode we turn people into full-stack web developers in 10 weeks. So we've learned a few tricks to get from 0 to webapp quickly.

Install Ruby and Rails

Generate the app skeleton

@curious725
curious725 / database.yml.example mysql2
Created March 27, 2018 19:07 — forked from erichurst/database.yml.example mysql2
Rails 3 database.yml examples
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8
@curious725
curious725 / pip install specific version (range)
Created January 14, 2018 16:30 — forked from darth-veitcher/pip install specific version (range)
install latest LTS version of Django (version 1.8.x)
# grab latest LTS version of Django (version 1.8.x)
pip install 'django>=1.8,<1.9'
@curious725
curious725 / git-aliases.md
Created April 5, 2017 09:15 — forked from mwhite/git-aliases.md
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@curious725
curious725 / imacros-cheatsheet.md
Created January 15, 2017 01:01
iMacros Command, Variable, and function reference