Skip to content

Instantly share code, notes, and snippets.

@brettmarshall
brettmarshall / form-helpers.js
Created December 14, 2016 00:42
Ninja Forms
(function ($) {
'use strict';
/**
* Instantiate Chosen
* https://harvesthq.github.io/chosen/
*/
var fancySelects = function () {
var query = 'select';
if (!$(query).length) return;
<?php
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
# http://creativecommons.org/publicdomain/zero/1.0/
function postToMedium($data=array()) {
$user_id = "XXXX";
$accessToken = "XXXX";
@brettmarshall
brettmarshall / 0_reuse_code.js
Created February 22, 2014 00:57
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