I hereby claim:
- I am lytol on github.
- I am lytol (https://keybase.io/lytol) on keybase.
- I have a public key whose fingerprint is 3DB8 E053 0DA6 9360 051D 0293 DF0D 5FC9 FD91 1F24
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'csv' | |
abort("You must specify a CSV file") unless ARGV.length == 1 | |
CSV do |out| | |
CSV.foreach(ARGV[0], encoding: 'ISO-8859-1') do |row| | |
out << row.map { |c| c.nil? ? nil : c.encode('UTF-8') } | |
end |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
SESSION=`basename $PWD` | |
tmux new-session -d -s $SESSION -n 'Shell' | |
tmux split-window -h | |
if [[ -e Procfile ]]; then | |
tmux new-window -t $SESSION:1 -n 'Foreman' |
# Replace the Gemfile wholesale, it's just easier | |
# | |
remove_file "Gemfile" | |
create_file "Gemfile", <<-EOF | |
source 'https://rubygems.org' | |
ruby '2.1.5' | |
gem 'rails', '4.2.0' | |
gem 'pg' |
SHELL = /bin/bash | |
all: build | |
prepare: | |
cp *.kll controller/kll/layouts/ | |
cd build; cmake ../controller; cd .. | |
build: prepare | |
cd build; make; cd .. |
Name = Layer1; | |
Version = 0.1.0; | |
Author = "Brian Smith <[email protected]"; | |
KLL = 0.3; | |
# Modified Date | |
Date = 2015-03-05; | |
# Number row |
Rake::Task['test'].clear | |
Rake::TestTask.new(:test) do |t| | |
t.libs << "test" | |
t.test_files = FileList['test/**/*_test.rb'] | |
end |
# terminal with 256 color | |
set -g default-terminal "screen-256color" | |
# Clipboard fix for iterm + OS X | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# command prefix (like screen) | |
set-option -g prefix C-a | |
unbind-key C-b | |
bind-key C-a send-prefix |
autoload -Uz vcs_info | |
zstyle ':vcs_info:*' stagedstr '%F{green}●%f' | |
zstyle ':vcs_info:*' unstagedstr '%F{red}●%f' | |
zstyle ':vcs_info:*' check-for-changes true | |
zstyle ':vcs_info:*' formats '[%F{027}%b%f%c%u] ' | |
zstyle ':vcs_info:*' enable git | |
theme_precmd () { | |
if [[ -z $(git ls-files --other --exclude-standard 2> /dev/null) ]] { | |
zstyle ':vcs_info:*' formats '[%F{027}%b%f%c%u] ' |