This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Based on "muse" theme https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/muse.zsh-theme | |
# - removed the "prompt arrow" | |
# - shorter current directory indicator | |
setopt promptsubst | |
autoload -U add-zsh-hook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open a new tab on OSX Terminal with the current working dir. | |
# Optionally, pass the number of tabs as parameter. | |
# | |
# Example: | |
# | |
# cd /my/very/long/path/and/i/dont/want/to/repeat/myself | |
# nt 10 | |
# | |
# You should add this to your ~/.profile | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Gisted by harri.kauhanen ('AT') gmail.com | |
# | |
# Coucher - Super simple RESTful HTTP service with Rack and CouchFoo | |
# Should work easily with ActiveRecord or other persistence frameworks. | |
# This demo only supports HTTP GET requests on existing resources. | |
# With tiny modifications it could support JSON output or Etag caching. | |
# | |
# Feel free to use and modify, but let me know your ideas as well, thanks! | |
# |