Skip to content

Instantly share code, notes, and snippets.

View eieio's full-sized avatar

Corey Tabaka eieio

View GitHub Profile
@eieio
eieio / .tmux.conf
Last active August 29, 2015 14:02
tmux config
set-option -g prefix C-a
unbind-key C-b
bind-key a send-prefix
set-window-option -g mode-keys vi
set-option -g status-right "\"#22T\" %I:%M %D"
set-option -g history-limit 9000
unbind-key l
@eieio
eieio / hsv2rgb.glsl
Created November 19, 2012 09:22
GLSL HSV to RGB+A
/*
* GLSL HSV to RGB+A conversion. Useful for many effects and shader debugging.
*
* Copyright (c) 2012 Corey Tabaka
*
* Hue is in the range [0.0, 1.0] instead of degrees or radians.
* Alpha is simply passed through for convenience.
*/
vec4 hsv_to_rgb(float h, float s, float v, float a)
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w$(__git_ps1)\[\e[0m\]\n\$ '
@eieio
eieio / .vimrc
Last active December 28, 2020 23:13
vimrc
" Corey Tabaka's .vimrc file
" Alternate mapping for escape for Macbooks lacking escape key.
vnoremap q <esc>
lnoremap q <esc>
nnoremap q <esc>
inoremap qq <esc>
vnoremap qq <esc>
lnoremap qq <esc>
cnoremap qq <C-c>
@eieio
eieio / bitcount.S
Created March 30, 2012 06:14
Compact ARM bit count routine
/*
* Compact ARM bitcount
* Copyright (c) 2012 Corey Tabaka
*/
#include <asm.h>
.text
.syntax unified