Skip to content

Instantly share code, notes, and snippets.

View kulas's full-sized avatar

Neil Kulas kulas

View GitHub Profile
@kulas
kulas / front-end-tools.md
Last active April 6, 2021 16:27
Install and Maintain Front-End Tools with Homebrew on OS X, also Git, Node, Gulp, and Bower

Install & Maintain Front-End Tools

All commands assume you are at the prompt. The prompt seperator “$” has been ommited.

Install Xcode Command Line Tools

Download Xcode from App Store. then open Xcode and select the following. As of Xcode 8.2 the Developer Tools are installed automatically.

Preferences > Downloads > Command Line Tools

@justintadlock
justintadlock / register-post-type.php
Last active October 20, 2024 13:47
Help file when registering post types.
<?php
# Register custom post types on the 'init' hook.
add_action( 'init', 'my_register_post_types' );
/**
* Registers post types needed by the plugin.
*
* @since 1.0.0
* @access public
@luetkemj
luetkemj / wp-query-ref.php
Last active September 14, 2024 13:06
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/