A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
// | |
// ATInterceptor.h | |
// AddressTalk | |
// | |
// Created by Chakrit Wichian on 4/25/12. | |
// Copyright (c) 2012 Oozou Ltd. All rights reserved. | |
// | |
// ---- | |
// | |
// Receives and relays any messages sent to it to the middleman if the |
require 'gollum/frontend/app' | |
require 'digest/sha1' | |
class App < Precious::App | |
User = Struct.new(:name, :email, :password_hash, :can_write) | |
before { authenticate! } | |
before /^\/(edit|create|delete|livepreview|revert)/ do authorize_write! ; end | |
helpers do |
As configured in my dotfiles.
start new:
tmux
start new with session name:
require 'gollum/frontend/app' | |
require 'digest/sha1' | |
class App < Precious::App | |
User = Struct.new(:name, :email, :password_hash) | |
before { authenticate! } | |
helpers do | |
def authenticate! |