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
# add in your .bashrc | |
# http://henrik.nyh.se/2008/12/git-dirty-prompt | |
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
# http://blog.cyberion.net/2009/01/improved-bash-prompt-for-git-usage.html | |
# username@Machine ~/dev/dir[master]$ # clean working directory | |
# username@Machine ~/dev/dir[master⚡]$ # dirty working directory | |
# | |
# I've made the following ajustements: | |
# - Use of plumbing, that should be faster than git status porcelain. | |
# - Don't show my repo as dirty if it has files unknown from the index (I always have). |
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/perl | |
use warnings; | |
use strict; | |
my @a = mysub(); | |
my %hash = ( | |
foo => scalar( my @b = mysub() ), | |
bar => scalar @a, | |
baz => scalar( mysub() ), | |
boo => scalar(@{[ mysub() ]}), |
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
console full=yes | |
console address=127.0.0.1:4000 | |
socket httpsock host=127.0.0.1 | |
socket httpsock service=5000 | |
service plack cmd=perl -I/Users/miyagawa/dev/Nomo/lib /Users/miyagawa/dev/Nomo/bin/nomo /Users/miyagawa/dev/Plack/eg/dot-psgi/Hello.psgi | |
proxy httpproxy service plack tie_stdin_to=httpsock | |
command bind httpsock |
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
console full=yes | |
console address=127.0.0.1:4000 | |
socket httpsock host=127.0.0.1 | |
socket httpsock service=5000 | |
proxy httpproxy cmd=perl -I/Users/miyagawa/dev/Nomo/lib /Users/miyagawa/dev/Nomo/bin/nomo-cfk-proxy.pl /Users/miyagawa/dev/Plack/eg/dot-psgi/Hello.psgi | |
proxy httpproxy service plack1 tie_stdin_to=httpsock | |
proxy httpproxy service plack2 tie_stdin_to=httpsock |