Skip to content

Instantly share code, notes, and snippets.

View jneander's full-sized avatar
🦆
Quack!

Jeremy Neander jneander

🦆
Quack!
View GitHub Profile
@jneander
jneander / del.sh
Last active August 29, 2015 14:27 — forked from itsthatguy/del.sh
The `rm` command is destructive. Here's a command to move files to the trash, with a prompt, instead of deleting permanently.
# Add this to your .bash_profile, .bashrc, .zshrc or wherever you keep your bash functions and aliases.
del() {
RED="\e[31m"
YELLOW="\e[33m"
WHITE="\e[97m"
if [[ $# -eq 0 ]] ; then
echo -e "Sorry dude, I can't do anything with that. Nothing specified."
else
@jneander
jneander / digital_ocean_setup.md
Last active August 29, 2015 14:26 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions

DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3

SSH into Root

$ ssh root@123.123.123.123

Change Root Password