Skip to content

Instantly share code, notes, and snippets.

View tealtail's full-sized avatar

Alicia Lauerman tealtail

View GitHub Profile
@tealtail
tealtail / pyenv-install-osx.sh
Created October 18, 2018 16:14 — forked from mtchavez/pyenv-install-osx.sh
Using pyenv to install python on OS X with homebrew dependencies
# 2.7
CFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include -I/usr/local/opt/zlib/include" \
LDFLAGS="-L$(brew --prefix openssl)/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/zlib/lib" \
PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" \
pyenv install -v 2.7.12 --force
# 3.x
CFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" \
LDFLAGS="-L$(brew --prefix openssl)/lib -L/usr/local/opt/sqlite/lib" \
pyenv install -v 3.3.6
@tealtail
tealtail / gist:345d3dad4e832499f521
Last active February 16, 2016 02:11 — forked from jitendravyas/gist:8d35b092dd9102a05ea3
Brew Cask installation with Laptop script
#!/bin/sh
# homebrew taps
brew tap caskroom/cask
brew tap caskroom/versions
brew tap caskroom/fonts
# Updated grep
brew tap homebrew/dupes
@tealtail
tealtail / hangman.md
Last active December 27, 2015 04:49 — forked from phlco/hangman.md

Hangman LAB

###Goal:

  • The goal of this lab is to practice organizing your JavaScript code in an object-oriented way. It will also allow you to continue to practice working with events and manipulating the DOM.

The Hangman Game:

  • The game selects a random word from a list of words, and makes it the "secret word"
  • The number of letters in the secret word is obvious to the player, shown with a "_" displayed for each letter.
  • The player guesses one letter at a time, trying to figure out what the word is
  • If the player guesses correctly, any instances of that letter are revealed in the secret word.
Pushing to Heroku
-----------------
Install Heroku
Create an account on Heroku
Install the Heroku Toolbelt
$ heroku login
Enter your Heroku credentials.
@tealtail
tealtail / Rakefile
Last active December 25, 2015 05:09 — forked from phlco/Rakefile
require 'git'
require 'date'
require 'logger'
START_DATE = Date.parse('23/09/2013')
namespace :hw do
desc "gets homework"
task :get do
@tealtail
tealtail / drill.md
Last active December 24, 2015 16:09 — forked from phlco/drill.md

Emergency WDI Pick me up

Prompt

For today's drill, we're going to be creating a site like Emergency Compliment, except it will be WDI themed.

When a user visits the site, they'll be greeted with a WDI pick me up that will hopefully cheer them up.

Create a basic Sinatra app inside your drills folder called pick_me_up Create your main.rb file and a views folder. In your views folder, you'll have a layout.erb file and a compliment.erb file.