Skip to content

Instantly share code, notes, and snippets.

View rlee287's full-sized avatar

Ryan Lee rlee287

  • 12:24 (UTC -07:00)
View GitHub Profile
@rlee287
rlee287 / file.rst
Last active May 27, 2016 02:27
Bug report for Github rst parser

Section 1

  • Bullet point 1
  • Bullet point 2
  • Everything seems fine

Section 2

  • Bullet point 3
  • Bullet point 4
@rlee287
rlee287 / instructions.txt
Created April 16, 2016 05:35
Git Gui tools on cygwin
To use git gui and gitk
Get xinit
When want to use, run `startxin &` and `export DISPLAY=:0`
Need to get dejavu fonts to run git gui or gitk
@rlee287
rlee287 / pre-commit.sh
Last active March 29, 2021 16:50
Short git pre-commit hook to remove BOM headers
#!/bin/sh
#
# A hook script to remove BOM headers
echo "Running pre-commit BOM removal"
trap ctrl_c INT
ctrl_c ()
{
@rlee287
rlee287 / Git_History.sh
Created January 3, 2016 18:47
Useful Git Aliases
git config --global alias.hist log --oneline --graph --date-order --decorate --all
git config --global alias.hist-auth log --branches --pretty=format:'%C(yellow) %h %C(magenta)%<(20)%an %C(green bold)%G? %C(blue nobold)%>>(16)%GK%Creset%<(24,trunc) %aD'
git config --global alias.commit-info log --stat -1