Skip to content

Instantly share code, notes, and snippets.

View vizjerai's full-sized avatar

Andrew Assarattanakul vizjerai

View GitHub Profile
@vizjerai
vizjerai / .bashrc
Last active April 24, 2019 14:54
bashrc
# Required to allow for git branch completion to work.
# brew install bash-completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# use NVIM
# brew install nvim
alias vi=nvim
@vizjerai
vizjerai / .vimrc
Last active April 24, 2019 13:45
vim configurations
" must be set first; prevents maintaining compatibility with Vi
set nocompatible
" SYSTEM ======================================================================
" keep these necessary files from being littered all over the machine
set undodir=~/.vim/undo//
set backupdir=~/.vim/backup//
set directory=~/.vim/swp//
@vizjerai
vizjerai / settings.json
Last active April 24, 2019 13:11
Visual Studio Code customizations
{
"git.path": "/usr/local/bin/git",
"editor.formatOnPaste": true,
"editor.renderWhitespace": "boundary",
"esQuotes.defaultQuote": "'",
"explorer.autoReveal": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"javascript.preferences.quoteStyle": "single",
@vizjerai
vizjerai / gist:1180946
Created August 30, 2011 13:55 — forked from jejacks0n/gist:990160
Adding sprockets to evergreen for rails 3.1 and coffeescript (via /config/evergreen.rb)
# For Rails 3.1 asset packaging / sprockets support
# 1. Create a /config/evergreen.rb file and put these contents in it
# 2. Adjust the paths below (the provided ones are generic)
require ::File.expand_path('../application', __FILE__)
module Evergreen
class << self
def application_with_additions(suite)
app = application_without_additions(suite)