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
(4 9 15) |
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
(def app | |
(-> (handler/site | |
(friend/authenticate app-routes | |
{:credential-fn users/authenticate | |
:workflows [(workflows/interactive-form)]})) | |
(dieter/asset-pipeline))) |
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
$git init repo1 | |
Initialized empty Git repository in /home/daniel/liamtest/repo1/.git/ | |
$cd repo1 | |
$git ci --allow-empty -m "Commit on master" | |
[master (root-commit) cf699b0] Commit on master | |
$git co --orphan another-branch | |
Switched to a new branch 'another-branch' | |
$git ci --allow-empty -m "Commit on another-branch" | |
[another-branch (root-commit) 06f7586] Commit on another-branch | |
$cd .. |
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/ruby | |
#GistID: 3779324 | |
require 'escape' | |
exit if ARGV.empty? | |
current_branch = `git symbolic-ref -q HEAD`.sub(/^refs\/heads\//, "").strip | |
exit if current_branch.empty? |
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
svn-ref = "!f() { git log --grep \\"git-svn-id.*@$1\\" --pretty=%H; }; f" |
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
amend-commit = "!f() { START=`(git symbolic-ref -q HEAD || git rev-parse HEAD) | cut -d"/" -f 3`; git checkout -q $1 && git commit --amend && git rebase --onto HEAD $1 $START; }; f" |
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
while true; do echo -e -n "\r`ls -l -h FILENAME | awk '{ print $5 }'`"; done |
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
dt = "!f() { vim -p $(git diff --name-only) +\"tabdo Gdiff $@\" +tabfirst; }; f" |
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 bash | |
LOOK=/usr/bin/svnlook | |
REPOS="$1" | |
REV="$2" | |
PROJECT="$3" | |
AUTHOR=$($LOOK author $REPOS -r $REV) | |
DOMAIN=domain.com |
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
*.exe -crlf -diff merge=keep-mine | |
*.tga -crlf -diff merge=keep-mine |