I hereby claim:
- I am tealtail on github.
- I am tealtail (https://keybase.io/tealtail) on keybase.
- I have a public key ASCUwtCUeaZC8V4s6XrphPWRElXgPNmq6zVE6C7k6V9nnAo
To claim this, I am signing this object:
# 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 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
script_dir=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd) | |
for script in $script_dir/base16*.sh; do | |
script_name=$(basename $script .sh) | |
theme=${script_name#*-} | |
variation=${theme#*.} | |
theme=${theme%.*} | |
cat <<FUNC | |
base16_${theme}_${variation}() | |
{ |
#!/bin/sh | |
# homebrew taps | |
brew tap caskroom/cask | |
brew tap caskroom/versions | |
brew tap caskroom/fonts | |
# Updated grep | |
brew tap homebrew/dupes |
Install TrailingSpaces package | |
Open TrailingSpace’s preferences (Preferences -> Package Settings -> TrailingSpaces -> Settings - User), and add: | |
{ | |
"trailing_spaces_include_current_line": false | |
} | |
------ | |
Sublime User Preferences |
development: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= File.basename(Rails.root) %>_development | |
pool: 5 | |
host: localhost | |
username: <%= ENV['PG_USERNAME'] %> | |
test: | |
adapter: postgresql |
# This file is copied to spec/ when you run 'rails generate rspec:install' | |
ENV["RAILS_ENV"] ||= 'test' | |
require File.expand_path("../../config/environment", __FILE__) | |
require 'rspec/rails' | |
require 'rspec/autorun' | |
require 'database_cleaner' | |
# Requires supporting ruby files with custom matchers and macros, etc, | |
# in spec/support/ and its subdirectories. | |
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } |
###Goal:
Pushing to Heroku | |
----------------- | |
Install Heroku | |
Create an account on Heroku | |
Install the Heroku Toolbelt | |
$ heroku login | |
Enter your Heroku credentials. |
require 'git' | |
require 'date' | |
require 'logger' | |
START_DATE = Date.parse('23/09/2013') | |
namespace :hw do | |
desc "gets homework" | |
task :get do |