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
[user] | |
name = | |
email = | |
[alias] | |
st = status | |
sb = status --short --branch | |
s = status --short | |
ci = commit | |
co = checkout | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative |
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
#!/bin/bash | |
# | |
# git-svn-diff | |
# Generate an SVN-compatible diff against the tip of the tracking branch | |
# for subgit this expects that you have added the following line to your | |
# .git/config, and to have run git-fetch recently: | |
# | |
# fetch = +refs/svn/map:refs/notes/commits | |
# |
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
#!/usr/bin/env python | |
# author: Brandon W Maister | |
# This file is in the public domain | |
"""Create passwords using random words | |
Long passwords are better than short, a long (20+ char) password made of | |
whole words is better than a short one, unless the attacker knows that you're | |
using whole words. |
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
(defun bwm/org-find-recent-clocks (buf) | |
"get the most recent clock-in or out time and position | |
returns a list that looks like (time position)" | |
(let (recent | |
this-un | |
match) | |
(with-current-buffer buf | |
(save-excursion | |
(goto-char (point-min)) |