Skip to content

Instantly share code, notes, and snippets.

View ncronquist's full-sized avatar

Nicholas Cronquist ncronquist

View GitHub Profile
@ncronquist
ncronquist / dotfiles_install.sh
Last active October 21, 2017 06:17
Shell script to install my dotfiles on a new computer
git clone --bare -b $BRANCH_NAME git@github.com:ncronquist/dotfiles.git $HOME/.dotfiles
function cfg {
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@
}
mkdir -p .config-backup
cfg checkout
if [ $? = 0 ]; then
echo "Checked out dotfiles.";
else
echo "Backing up pre-existing dot files.";

Keybase proof

I hereby claim:

  • I am ncronquist on github.
  • I am ncronquist (https://keybase.io/ncronquist) on keybase.
  • I have a public key ASB-WhblwHwzWmxTYbsl7z-UX7W042C-A_HrfrNkBE8Gpwo

To claim this, I am signing this object:

@ncronquist
ncronquist / easystroke-preferences-0.5.5
Created August 10, 2015 22:58
Easystroke preference config file for Logitech Performance MX mouse
22 serialization::archive 10 0 18 0 0 0 0 1 4
0 9 0 0 0 0 0 16 0 0 0 0 192 0 0 0 250 250 1 0 1 0 0 0 0 0 0 39064 257 257 65535 3 0 0 3 4
1 8 0 0 0
2 10 0 0 0
3 13 0 0 0 1 1 2 0 1 0 0 0 0 0 0
@ncronquist
ncronquist / easystroke-actions-0.5.6
Created August 10, 2015 22:57
Easystroke config file for Logitech Performance MX Mouse
22 serialization::archive 10 0 3 0 1 0 0 0 0 0 0 4 0 0 0 5 1 0
0 0 1 1 0
1 0 0 1 1 0 1 10 1 5
2 0 0 0 1 0 8 0 32768 0 1 13 7 SendKey 1 1
3 1 0
4 0 0 0 269025041 0 11 Volume Down 5
5
6 1 1 10
7 0 1 0 0 0 32768 13
8
@ncronquist
ncronquist / robbyfish.zsh-theme
Last active August 29, 2015 14:26
This theme is a mix between the RobbyRussel Oh-My-Zsh theme and the Fish shell look.
_fishy_collapsed_wd() {
echo $(pwd | perl -pe "
BEGIN {
binmode STDIN, ':encoding(UTF-8)';
binmode STDOUT, ':encoding(UTF-8)';
}; s|^$HOME|~|g; s|/([^/])[^/]*(?=/)|/\$1|g
")
}
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
@ncronquist
ncronquist / source_base16-gnome-terminal.sh
Last active August 29, 2015 14:26
Shell script to source all of the base16 gnome terminal themes
for file in ~/.config/base16-gnome-terminal/*; do
source "$file"
done
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
choco install notepadplusplus
choco install atom
choco install keepass
choco install spideroak
choco install googledrive
choco install MsSqlServer2012Express
choco install skype
@ncronquist
ncronquist / epic-dark.css
Created June 5, 2015 06:28
Slightly Modified Epic Editor Epic Dark CSS for Use with DevBoxTools
html.epiceditorclass { padding:10px; }
body.epiceditorclass {
border:0;
background:rgb(41,41,41);
font-family:monospace;
font-size:16px;
padding:10px;
color:#ddd;
line-height:1.35em;
@ncronquist
ncronquist / epiceditor.css
Created June 5, 2015 06:24
Slightly Modified Epic Editor CSS for Use with DevBoxTools
html#epiceditor, body#epiceditor, iframe#epiceditor, div#epiceditor {
margin:0;
padding:0;
}
#epiceditor-utilbar {
position:fixed;
bottom:10px;
right:10px;
}
@ncronquist
ncronquist / epiceditor.js
Created June 5, 2015 06:19
Slightly Modified Epic Editor for Use with DevBoxTools
/**
* EpicEditor - An Embeddable JavaScript Markdown Editor (https://github.com/OscarGodson/EpicEditor)
* Copyright (c) 2011-2012, Oscar Godson. (MIT Licensed)
*/
(function (window, undefined) {
/**
* Applies attributes to a DOM object
* @param {object} context The DOM obj you want to apply the attributes to
* @param {object} attrs A key/value pair of attributes you want to apply