This file contains 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
mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo |
This file contains 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
git merge --squash <other-branch> -m "comment" |
This file contains 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
git config --global color.ui auto | |
git config --global color.branch auto | |
git config --global color.diff auto | |
git config --global color.interactive auto | |
git config --global color.status auto |
This file contains 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
git filter-branch -f --tree-filter 'rm -f *.txt' master |
This file contains 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
from wsgiref import simple_server | |
class Main(object): | |
def __call__(self, environ, start_response): | |
start_response('200 OK', [('Content-Type', 'text/plain')]) | |
return 'Hello World' | |
if __name__ == '__main__': |
This file contains 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
find . -type f -exec ln -s {} ${target}/{} \; |
This file contains 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
echo ${PWD##*/} |
This file contains 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
from wsgiref import simple_server | |
from routes.mapper import Mapper | |
mapper = Mapper() | |
mapper.connect(None, '/Hoge/:id', action='hoge', conditions={'method':'GET'}) | |
mapper.connect(None, '/Hoge/:id', action='detail', conditions={'method':'GET'}) | |
mapper.connect(None, '/Hoge/:id', action='update', conditions={'method':'POST'}) | |
def app(environ, start_response): | |
url = environ['PATH_INFO'] |
This file contains 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
git log --since=2011-2-6 | |
git log --after=2011-2-6 | |
git log --until=2011-2-6 | |
git log --before=2011-2-6 | |
git log --until=2011-2-6 --since=2011-2-4 |
This file contains 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
git for-each-ref --sort=taggerdate refs/tags |
OlderNewer