Skip to content

Instantly share code, notes, and snippets.

View furtive's full-sized avatar
💭
It's happening!

Chris Lamothe furtive

💭
It's happening!
View GitHub Profile
@furtive
furtive / terminalsetup.md
Last active February 11, 2016 23:43
Terminal Setup

Terminal Setup

This is my setup for Apple's OS X Terminal Application.

Oh-My-ZSH

A better terminal.

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

@furtive
furtive / functions.php
Created November 24, 2015 20:29
In WooCommerce, make the online store notice only show up in store pages as opposed to the entire site, which is the default behaviour.
if ( ! function_exists( 'woocommerce_demo_store' ) ) {
/**
* Adds a demo store banner to the site if enabled
*
* @access public
* @return void
*/
function woocommerce_demo_store() {
if ( get_option( 'woocommerce_demo_store' ) == 'no' )
@furtive
furtive / 0_reuse_code.js
Created November 23, 2015 23:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@furtive
furtive / gist:3518506
Created August 29, 2012 20:31
Stop BASH loops from acting strange when filenames have spaces in them
#this replaces the default separator (a space) with a character combination unlikely to be found in a file name.
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")