Skip to content

Instantly share code, notes, and snippets.

View islanddog's full-sized avatar
💭
Wisdom is not a product of schooling but of the lifelong attempt to acquire it.

Christopher Soehnlein islanddog

💭
Wisdom is not a product of schooling but of the lifelong attempt to acquire it.
View GitHub Profile
@islanddog
islanddog / .tmux.conf
Last active May 25, 2020 15:54 — forked from terrywang/.tmux.conf
~/.tmux.conf
# Remap prefix to A
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Quality of life stuff
set -g history-limit 10000
@islanddog
islanddog / add-to-cart.php
Last active August 22, 2016 20:35 — forked from claudiosanches/add-to-cart.php
WooCommerce 2.6.4 - Working Quantity on Simple Products - HOT
<?php
/**
* Custom Loop Add to Cart.
*
* Template with quantity and ajax.
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
global $product;