Skip to content

Instantly share code, notes, and snippets.

View JesseHerrick's full-sized avatar

Jesse Herrick JesseHerrick

View GitHub Profile
@JesseHerrick
JesseHerrick / RBEnvEC2.sh
Created December 1, 2013 04:28
Install RBEnv on EC2
# Become sudo
sudo su -
# Update
yum update
# Install git for RBEnv and gcc for Ruby.
yum install git gcc
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
#!/usr/bin/env bash
if [ -f $HOME/.zshrc ]
then
SHELL_INIT="$HOME/.zshrc"
elif [ -f $HOME/.bashrc ]
then
SHELL_INIT="~/.bashrc"
elif [ -f $HOME/.bash_profile ]
then

Exam Schedule

Tuesday is regular schedule, except for a "Holiday" Program (I'm almost positive they're going to do just Christmas songs and one "Hanukkah Song") I'm taking my HUSH (7) exam at 1:05 - 3:05.

Wednesday Thursday Friday
8:00 - 10:00 Biology I (1) Geometry H. (3) Theater I (5)
10:00 - 10:20 Break Break Break
10:20 - 12:20 Latin I (2) ILC (4) Health 9 (6)
12:20 - 1:10 Lunch Lunch Lunch
@JesseHerrick
JesseHerrick / RBEnv-Setup.sh
Last active December 31, 2015 10:49
Setup RBEnv on Ubuntu. A fork of [my other script.](https://gist.github.com/JesseHerrick/7728497)
# Install git for RBEnv and gcc for Ruby.
sudo apt-get install git gcc
git clone git://github.com/sstephenson/rbenv.git $HOME/.rbenv
# Create /etc/init.d/rbenv.sh
sudo touch /etc/init.d/rbenv.sh
sudo cat <<EOF > /etc/init.d/rbenv.sh
export RBENV_ROOT=$HOME/.rbenv
export PATH="${RBENV_ROOT}/bin:$PATH"
@JesseHerrick
JesseHerrick / EC2Bukkit.md
Last active January 1, 2016 01:19
EC2 Security Setup for Minecraft
Protocol Type Port Range (Code) Source
SSH TCP 22 Anywhere 0.0.0.0/0
Custom TCP TCP 25565 Anywhere 0.0.0.0/0
@JesseHerrick
JesseHerrick / RBEnvInstall.sh
Created December 26, 2013 19:52
Install RBEnv on OSX/Linux
# Download RBEnv
git clone git://github.com/sstephenson/rbenv.git $HOME/.rbenv
# Find out which shell init file exists.
if [ -f $HOME/.zshrc ]
then
SHELL_INIT="$HOME/.zshrc"
elif [ -f $HOME/.bashrc ]
then
SHELL_INIT="~/.bashrc"
@JesseHerrick
JesseHerrick / FixSSH.sh
Created December 30, 2013 21:10
If SSH public key is added, but you still can't log in. Try this on the remote server...
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Domain Kingdom Examples
Bacteria Eubacteria E. coli
Archaea Archaebacter Halophiles
Eukarya Protista fungus-like: slime mold, plant-like: algae, animal-like amoeba
Eukarya Fungi Mushroom
Eukarya Plantae Sunflower
Eukarya Animalia Wolf
@JesseHerrick
JesseHerrick / check-command.sh
Created January 18, 2014 23:44
Check for a command in a shell script. Or outside of it...
#!/usr/bin/env bash
which $command &>/dev/null && echo true || echo false
@JesseHerrick
JesseHerrick / gist:9669360
Created March 20, 2014 17:33
Fix git pull error.
git fetch
git rebase origin/master