Skip to content

Instantly share code, notes, and snippets.

Avatar

Tom von Schwerdtner tvon

View GitHub Profile
@jordansissel
jordansissel / README.md
Created Jul 6, 2011
Sorting windows in tmux by hostname.
View README.md

For this to work, it requires my tmux fork that includes what I use as the hostname in the window list.

At any rate, it'll sort my tmux sessions alphabetically by the host I'm using.

my tmux fork: https://github.com/jordansissel/tmux

Starts with:

(0) -    nightfall: zsh - /home/jls/projects/tmux/trunk                                                            
(1)        carrera: screen -x irc                                                                                  
@ciastek
ciastek / README
Created Feb 23, 2016 — forked from anonymous/README
Use bootstrap-sass npm package with Phoenix's brunch
View README
1) install npm packages
2) update brunch-config.js
3) remove Bootstrap from web/static/css/app.css
4) rename web/static/css/app.css to web/static/css/app.scss
5) update web/static/css/app.scss
@danivovich
danivovich / main.rb
Created Oct 11, 2011
Pivotal feature points by label
View main.rb
require 'pivotal-tracker'
TOKEN = 'API_TOKEN'
PROJECT_NUM = -1
def estimate_to_hours(estimate)
2 ** estimate
end
PivotalTracker::Client.token = TOKEN
@tswicegood
tswicegood / sync_things.rb
Created Oct 1, 2009
Simple Ruby script to sync Basecamp and Things to-dos.
View sync_things.rb
#!/usr/bin/env ruby
#
# Biggest problem with this is that it checks everything. Needs
# to be adjusted to only check N days and/or N tasks on Basecamp.
#
# Also has a problem in that Completed always wins. If you have a
# task marked at completed, then mark it as open again on just one
# side, it'll mark the other as completed if you run the sync again.
#
# All that said, it provides a basic, very rudimentary sync.