Skip to content

Instantly share code, notes, and snippets.

View dwa012's full-sized avatar

Daniel Ward dwa012

  • University of New Orleans
  • New Orleans
View GitHub Profile
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion
# ignore the local vagrant directory
.vagrant
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
@dwa012
dwa012 / new_rails_app_vagrant.md
Last active December 28, 2018 16:26
Rails project setup with Vagrant

###Making a new Rails app using the Vagrant Ruby interpreter

Note: There a number of shell commands that you will need to run, which are indicated with the grey background and monospaced text.

Anytime you see the following <text>, your are to substitute it with something of your own choosing. Ex. If you are making a directory for Lab 1 then name it lab1, something so you can tell what the rails app is for.

Windows users: You will need to use the Cygwin Terminal app to follow this guide


@dwa012
dwa012 / local_homebew_rvm_install.sh
Last active August 29, 2015 13:57
How to create a local installation of homebrew and rvm for use on shared systems.
# change to whatever location to where homebrew is installed
if [ -z "$HOMEBREW_HOME" ]; then
export HOMEBREW_HOME=$HOME/homebrew
echo "HOMEBREW_HOME=$HOME/homebrew" >> ~/.profile
fi
# install homebrew for single user
if [ ! -d "$HOMEBREW_HOME" ]; then
mkdir -p $HOMEBREW_HOME && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C $HOMEBREW_HOME
fi