Skip to content

Instantly share code, notes, and snippets.

View jbyman's full-sized avatar

Jake Byman jbyman

View GitHub Profile
@jbyman
jbyman / User settings.json
Last active April 4, 2023 21:59
VSCode Settings
{
"workbench.startupEditor": "none",
"explorer.confirmDelete": false,
"security.workspace.trust.untrustedFiles": "open",
"[python]": {
"editor.formatOnType": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true,
@jbyman
jbyman / .gitconfig
Last active June 26, 2022 23:36
Git Config
[pager]
branch = false
[alias]
unstage = !git checkout origin/main -- "$1" && git commit --amend --no-edit
[alias]
pushf = push -f
[alias]
delete = !git branch -D $1 && git push origin --delete $1 && :
[alias]
mydiff = !git diff main...
@jbyman
jbyman / light.vim
Created March 15, 2021 18:49
Light Vim Theme
" Vim color file - jake
" http://bytefluent.com/vivify
set background=light
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
@jbyman
jbyman / dark.vim
Created March 15, 2021 18:48
Dark Vim Theme
" Vim color file - dark
" Generated by http://bytefluent.com/vivify 2021-03-15
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
@jbyman
jbyman / Default.json
Last active June 2, 2020 00:41
iTerm2 Profile
{
"Ansi 4 Color" : {
"Red Component" : 0.28235294117647058,
"Color Space" : "sRGB",
"Blue Component" : 0.83921568627450982,
"Green Component" : 0.46274509803921571
},
"Tags" : [
],
@jbyman
jbyman / CocConfig
Last active June 26, 2022 23:35
Vim Setup
{
"eslint.enable": true,
"eslint.quiet": true,
"eslint.autoFixOnSave": false,
"eslint.executeAutofix": true,
"eslint.validate": [{ "language": "typescript", "autoFix": true }],
"coc.preferences.formatOnSaveFiletypes": ["*"],
"eslint.filetypes": [
"javascript",
"typescript",
@jbyman
jbyman / tmux.conf
Last active September 17, 2021 20:28
~/tmux.conf
bind n split-window -h
bind v split-window -v
unbind '"'
unbind %
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
@jbyman
jbyman / jake.zsh-theme
Created November 15, 2019 01:29
Jake's ZSH Theme
PROMPT='%{$fg_bold[green]%}%p%{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$fg[blue]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[red]%}*%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
git config --global pager.branch false
@jbyman
jbyman / .zshrc
Last active June 26, 2022 23:40
ZSHRC
export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH="/Users/jbyman/.oh-my-zsh"
plugins=(
git
macos
)
ZSH_THEME="jake"
source $ZSH/oh-my-zsh.sh
#
@jbyman
jbyman / nginx.conf
Created September 5, 2018 19:45
Nginx Config
user jbyman staff;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
pid logs/nginx.pid;