Installing Supervisor on OS X is simple:
sudo pip install supervisor
This assumes you have pip. If you don't:
<?php | |
/** | |
* @package Custom_queries | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Custom queries | |
Plugin URI: http://wordpress.org/extend/plugins/# | |
Description: This is an example plugin | |
Author: Carlo Daniele |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" /etc/vim/vimrc.local V1.1.5 2016-07-08 https://gist.github.com/mikehaertl/1612035 | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" | |
" A Vundle based Vim configuration with globally shared plugins on Ubuntu. | |
" | |
" This is a Vundle based Vim setup that keeps all plugins in a global | |
" directory, namely /etc/vim/bundle. It's trimmed towards PHP development | |
" with Yii. | |
" |
<?php | |
# Basic Usage: | |
# Applies default markup to all forms | |
gw_multi_file_merge_tag()->register_settings(); | |
# Exclude Form(s): | |
# Applies default markup to all forms excluding the specified forms | |
gw_multi_file_merge_tag()->register_settings( array( | |
'exclude_forms' => 2 // multiple forms: array( 2, 4 ) |
{ | |
"name": "javascript-development-environment", | |
"version": "1.0.0", | |
"description": "JavaScript development environment Pluralsight course by Cory House", | |
"scripts": { | |
}, | |
"author": "Cory House", | |
"license": "MIT", | |
"dependencies": { | |
"whatwg-fetch": "1.0.0" |
<?xml version="1.0"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="20" columns="98" buffer_rows="500" buffer_columns="0" init_dir="C:\Users\Kevin\Desktop" start_hidden="0" save_size="1" shell="C:\Program Files (x86)\Git\bin\sh.exe --login -i"> | |
<colors> | |
<color id="0" r="0" g="43" b="54"/> | |
<color id="1" r="38" g="139" b="210"/> | |
<color id="2" r="133" g="153" b="0"/> | |
<color id="3" r="42" g="161" b="152"/> | |
<color id="4" r="220" g="50" b="47"/> | |
<color id="5" r="211" g="54" b="130"/> |
add_action( 'pre_get_posts', 'custom_pre_get_posts_query' ); | |
function custom_pre_get_posts_query( $q ) { | |
if ( ! $q->is_main_query() ) return; | |
if ( ! $q->is_post_type_archive() ) return; | |
if ( ! is_admin() && is_shop() ) { | |
$q->set( 'tax_query', array(array( |
(function($,sr){ | |
// debouncing function from John Hann | |
// http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ | |
var debounce = function (func, threshold, execAsap) { | |
var timeout; | |
return function debounced () { | |
var obj = this, args = arguments; | |
function delayed () { |
# Reset | |
off='\033[0m' # Text Reset | |
# Regular Colors | |
black='\033[0;30m' # Black | |
red='\033[0;31m' # Red | |
green='\033[0;32m' # Green | |
yellow='\033[0;33m' # Yellow | |
blue='\033[0;34m' # Blue | |
purple='\033[0;35m' # Purple |