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
# Visualise a latex document git history | |
# loop through commits, create a PDF from your main file for each | |
# translate the pages of that PDF to a single image | |
# create GIF/mp4 from the folder of images created | |
# run within your local repository | |
# prerequisites: ImageMagick and FFmpeg | |
# create output folder |
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
LShift & Capslock:: | |
SetCapsLockState, % (State:=!State) ? "on" : "alwaysoff" | |
Return | |
g_AbortSendEsc := false | |
#InstallKeybdHook | |
SetCapsLockState, alwaysoff | |
Capslock:: | |
g_DoNotAbortSendEsc := true |
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
body { | |
background-color: #ffffff !important; | |
} | |
tbody tr td { | |
background-color: #ebebeb; | |
padding-top: 3px; | |
padding-bottom: 3px; | |
padding-left: 5px; | |
} |
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 | |
sandbox="$(mktemp -d)" | |
hasstdin=false | |
if [ ! -t 0 ]; then | |
cat <&0 > "$sandbox/stdin.txt" | |
hasstdin=true | |
fi |
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 | |
# License: Public Domain. | |
# Author: Joseph Wecker, 2012 | |
# | |
# -- DEPRICATED -- | |
# This gist is slow and is missing .bashrc_once | |
# Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch | |
# (Thanks gioele) | |
# | |
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile? |