Skip to content

Instantly share code, notes, and snippets.

View itsmeduncan's full-sized avatar

Duncan Grazier itsmeduncan

View GitHub Profile
@itsmeduncan
itsmeduncan / keybase.md
Last active August 29, 2015 14:24
keybase.md

Keybase proof

I hereby claim:

  • I am itsmeduncan on github.
  • I am itsmeduncan (https://keybase.io/itsmeduncan) on keybase.
  • I have a public key whose fingerprint is 68DE 8D13 F898 7FEF A250 2CC0 8559 377E A1A1 A441

To claim this, I am signing this object:

@itsmeduncan
itsmeduncan / itsmeduncan.zsh-theme
Created October 10, 2016 15:09
~/.oh-my-zsh/themes/itsmeduncan.zsh-theme
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[white]%}<"
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$fg[white]%}>%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN="$fg[green]%}✓%{$fg[white]%}>%{$reset_color%} "
ZSH_THEME_SVN_PROMPT_PREFIX=$ZSH_THEME_GIT_PROMPT_PREFIX
ZSH_THEME_SVN_PROMPT_SUFFIX=$ZSH_THEME_GIT_PROMPT_SUFFIX
ZSH_THEME_SVN_PROMPT_DIRTY=$ZSH_THEME_GIT_PROMPT_DIRTY
ZSH_THEME_SVN_PROMPT_CLEAN=$ZSH_THEME_GIT_PROMPT_CLEAN
ZSH_THEME_HG_PROMPT_PREFIX=$ZSH_THEME_GIT_PROMPT_PREFIX
ZSH_THEME_HG_PROMPT_SUFFIX=$ZSH_THEME_GIT_PROMPT_SUFFIX
@itsmeduncan
itsmeduncan / battery
Created October 10, 2016 15:12
/usr/local/bin/battery
#!/bin/bash
usage() {
cat <<EOF
battery: usage:
general:
-h, --help print this message
-p use pmset (more accurate)
-t output tmux status bar format
@itsmeduncan
itsmeduncan / hide-flappy-elem.css
Created December 13, 2016 19:58 — forked from fotinakis/hide-flappy-elem.css
Hide elements only in Percy renderer
@-moz-document domain(proxyme.percy.io) {
#flappy-div {
display: none !important;
}
}