Skip to content

Instantly share code, notes, and snippets.

View caster contractions
"contraction <text> will":
R(Text("%(text)s'll ")),
"cap contraction <text> will":
R(Function(lambda text:Text(text.capitalize() + "'ll ").execute())),
"contraction <text> have":
R(Text("%(text)s've ")),
"cap contraction <text> have":
R(Function(lambda text:Text(text.capitalize() + "'ve ").execute())),
"contraction <text> are":
R(Text("%(text)s're ")),
View My Git lg alias
[alias]
lg = log --max-count=100 --branches --color --graph --pretty=format:'%Cred%h%Creset - %C(bold blue)<%an>%Creset -%C(auto)%d%Creset %s %Cgreen(%cr)' --abbrev-commit
@tieTYT
tieTYT / TechnicalPodcasts.md
Last active Aug 29, 2015
Technical Podcasts
View TechnicalPodcasts.md
@tieTYT
tieTYT / git-m
Last active Aug 29, 2015
My Git Merge command
View git-m
#!/bin/bash -x
set -e
#by naming this git-m and putting it in your PATH, git will be able to run it when you type "git m ..."
if [ "$#" -ne 2 ]
then
echo "Wrong number of arguments. Should be 2, was $#";
exit 1;
fi
You can’t perform that action at this time.