Skip to content

Instantly share code, notes, and snippets.

View jbaxleyiii's full-sized avatar
💼
Moved to management

James Baxley jbaxleyiii

💼
Moved to management
View GitHub Profile
@jbaxleyiii
jbaxleyiii / GitShellAliases.ps1
Created January 30, 2017 03:17 — forked from tosyu/GitShellAliases.ps1
Few simple commands/aliases for git in powershell. installation save as for ex.: C:\gitcommands.ps1 open powershell type: notepad $profile add line: . "C:\gitcommands.ps1" close shell
function g {
$newArgs=$args[1..($args.Length-1)]
if ($args[0] -eq "ci") {
git commit $newArgs
} elseif ($args[0] -eq "hof") {
git shortlog -n -s --no-merges
} elseif ($args[0] -eq "cic") {
git commit --amend
} elseif ($args[0] -eq "snake") {
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
@jbaxleyiii
jbaxleyiii / user.js
Last active December 12, 2019 19:30
import {
http,
gql,
Batch,
SQLDataSource,
Context,
Entity,
ApolloGraph,
Context,
Schema,
/*
*
* serverWillStart
*
* requestDidStart
* parsingDidStart
* validationDidStart
* didResolveOperation
* executionDidStart
" ===============================================================
" norma
"
" URL:
" Author: jbaxleyiii
" License: MIT
" Last Change: 2016/11/03 00:26
" ===============================================================
let g:colors_name="norma"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/jbaxleyiii/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# ZSH_THEME="hyperzsh"
# rebind prefix key
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# set-option -g default-shell $SHELL
bind R source-file /home/jbaxleyiii/.tmux.conf \; display-message "tmux.conf reloaded"
set -g default-terminal "xterm-256color"
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
Plug 'airblade/vim-gitgutter'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'austintaylor/vim-indentobject'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'garbas/vim-snipmate'
Plug 'marcweber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
Plug 'pangloss/vim-javascript'
Plug 'scrooloose/nerdtree'
set nocompatible
set hidden
syntax enable
colorscheme norma
" colorscheme dracula
let g:airline_theme='bubblegum'
filetype off
@jbaxleyiii
jbaxleyiii / accounts.graphql
Last active June 10, 2019 16:25
reference types
type User @key(fields: "id") {
id: ID!
username: String
}