Skip to content

Instantly share code, notes, and snippets.

View cchamberlain's full-sized avatar

Cole Chamberlain cchamberlain

View GitHub Profile
@cchamberlain
cchamberlain / .agignore
Last active August 29, 2015 14:21
My .agignore file
node_modules/
assets/js/
assets/css/
assets/fonts/
assets/img/
assets/maps/
assets/styl/
assets/stylus/
assets/swatch/
log/
@cchamberlain
cchamberlain / config.json
Created May 31, 2015 18:50
tig bootstrap config.json
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#275da1, 6.5%)",
"@brand-success": "#5cb85c",
# Atom Cheatsheet.
# Project Key Bindings.
- 'cmd-shift-p': open the command palette.
- 'cmd-p' or 'cmd-t': open the fuzzy finder to find a file.
- 'cmd-b': look for a file that is already open.
- 'cmd-shift-b': search the list of files modified and untracked in your project repository.
- 'ctrl-0': open and focus the the tree view.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@cchamberlain
cchamberlain / install-npm-next.sh
Created July 6, 2015 06:02
install-npm-next.sh
#!/bin/sh
# A word about this shell script:
#
# It must work everywhere, including on systems that lack
# a /bin/bash, map 'sh' to ksh, ksh97, bash, ash, or zsh,
# and potentially have either a posix shell or bourne
# shell living at /bin/sh.
#
# See this helpful document on writing portable shell scripts:
@cchamberlain
cchamberlain / .zshenv
Last active August 29, 2015 14:25
dot-zshenv
#!/usr/bin/env zsh
#
# Defines Environment Variables
# RESET ZSHENV FILE VIA ENVIRONMENT VARIABLE
export USR_ZSHENV_PATH="$HOME/.zshenv"
if [[ $USR_ZSHENV_RESET -eq 1 ]]; then
unset USR_ZSHENV_RESET
if [[ -z "$GIST_USR_ZSHENV_ID" ]]; then
export GIST_USR_ZSHENV_ID="ad8ae7ce3ef2a965295d"
@cchamberlain
cchamberlain / conemu-fatal-error
Created July 22, 2015 18:15
ConEmu Error: nNewWidth>0 && nNewHeight>0
## ERROR READS ##
Assertion in C:\Users\ColeChamberlain\local\conemu\ConEmu64.exe
[150716]
nNewWidth>0 && nNewHeight>0
at
RealBuffer.cpp:1796
## PASTE FROM ERROR POPUP ##
Assertion in C:\Users\ColeChamberlain\local\conemu\ConEmu64.exe [150716]
Exception 0x80000003 triggered in CRealConsole::MonitorThreadWorker
@cchamberlain
cchamberlain / .zshrc
Last active September 8, 2015 01:23
dot-zshrc
#!/usr/bin/env zsh
if [[ -s "$ZPREZTODIR/init.zsh" ]]; then
. "$ZPREZTODIR/init.zsh"
fi
. "$ZSCRIPTDIR/checks.zsh"
. "$ZSCRIPTDIR/colors.zsh"
. "$ZSCRIPTDIR/setopt.zsh"
@cchamberlain
cchamberlain / NuGet.config
Created September 8, 2015 01:24
~/.config/NuGet/NuGet.config (for dnvm)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</packageSources>
<disabledPackageSources />
</configuration>
@cchamberlain
cchamberlain / scp-copy-roms.cmd
Created September 20, 2015 03:14
Copy ROMs from local computer to emulationstation via scp
scp -r .\SNES\ pi@192.168.1.18:/home/pi/RetroPie/roms/snes