Skip to content

Instantly share code, notes, and snippets.

View herman-rogers's full-sized avatar
💻
Compiling...

Herman (Boomer) Rogers herman-rogers

💻
Compiling...
View GitHub Profile
@herman-rogers
herman-rogers / tmux.conf
Last active November 16, 2021 20:40 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@herman-rogers
herman-rogers / slim-redux.js
Created April 11, 2018 15:33 — forked from gaearon/slim-redux.js
Redux without the sanity checks in a single file. Don't use this, use normal Redux. :-)
function mapValues(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
result[key] = fn(obj[key], key);
return result;
}, {});
}
function pick(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
if (fn(obj[key])) {