Skip to content

Instantly share code, notes, and snippets.

Avatar

Kyle Thomson kjkta

View GitHub Profile
View .vimrc
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" General
Plug 'vim-airline/vim-airline'
Plug 'airblade/vim-gitgutter'
Plug 'git@github.com:dracula/vim.git', { 'as': 'dracula' }
Plug 'ctrlpvim/ctrlp.vim'
Plug 'mileszs/ack.vim'
@kjkta
kjkta / gen-flow-files.sh
Created Jun 13, 2019
Bash script to copy source files into a directory and append `.flow`
View gen-flow-files.sh
cp -r src/*.js dist/;
for f in dist/*; do mv $f ./dist/`basename $f `.flow; done;
@kjkta
kjkta / .bash_profile
Last active Jun 17, 2019
Init - backing up this time lol
View .bash_profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Brew
export PATH=/usr/local/bin:$PATH
# Prompt
# Download from https://raw.githubusercontent.com/git/git/8976500cbbb13270398d3b3e07a17b8cc7bff43f/contrib/completion/git-prompt.sh
source ~/.git-prompt.sh
View basket.js
'use strict'
let cash = 1000
let tax = 0.01
let basket1 = {
'Phone': 130,
'Accessory': 30,
}