I hereby claim:
- I am codyjroberts on github.
- I am codyjroberts (https://keybase.io/codyjroberts) on keybase.
- I have a public key ASCri7OX48CtLTu8ss4ZIv6GCjQwtNMTpx76R1QutoELNAo
To claim this, I am signing this object:
# Use backtick as the prefix | |
# Do it just like this or you will not | |
# be able to use type backtick literally | |
unbind C-b | |
set -g prefix ` | |
bind ` send-prefix | |
bind-key L last-window | |
set -g default-terminal "xterm-256color" |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' |
source: https://coderwall.com/p/j-_mia/make-postgres-default-to-utf8 | |
UPDATE pg_database SET datistemplate=FALSE WHERE datname='template1'; | |
DROP DATABASE template1; | |
CREATE DATABASE template1 WITH owner=postgres template=template0 encoding='UTF8'; | |
UPDATE pg_database SET datistemplate=TRUE WHERE datname='template1'; |
#!/usr/bin/env zsh | |
# ------------------------------------------------------------------------------ | |
# Prompt for the Zsh shell: | |
# * One line. | |
# * VCS info on the right prompt. | |
# * Only shows the path on the left prompt by default. | |
# * Crops the path to a defined length and only shows the path relative to | |
# the current VCS repository root. | |
# * Wears a different color wether the last command succeeded/failed. | |
# * Shows user@hostname if connected through SSH. |
I hereby claim:
To claim this, I am signing this object:
" Bundles | |
call plug#begin('~/.config/nvim/pluggable') | |
Plug 'unblevable/quick-scope' | |
Plug 'Lokaltog/vim-easymotion' | |
Plug 'itchyny/lightline.vim' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'Yggdroot/indentLine' | |
Plug 'tpope/vim-repeat' | |
Plug 'tpope/vim-surround' |
import sys | |
import csv | |
import json | |
reader = csv.DictReader(sys.stdin, fieldnames=sys.argv[1:]) | |
print json.dumps( [ row for row in reader ] ) |
defmodule TestHelper do | |
@moduledoc """ | |
Reloads files and run's ExUnit tests in current directory | |
Note: Use of this helper may cause issues with state from | |
previous runs. A possible solution to this may lie in | |
spawn/1, Task, or IEx.Helpers.respawn/1 | |
""" | |
def run_tests do | |
Code.unload_files(Code.loaded_files) |
I hereby claim:
To claim this, I am signing this object:
export DIRENV_WARN_TIMEOUT=20s | |
eval "$(devenv direnvrc)" | |
use devenv | |
# source local env vars | |
source_env_if_exists .envrc.default | |
source_env_if_exists .envrc.local |