Skip to content

Instantly share code, notes, and snippets.

View jakebresnehan's full-sized avatar
👋

Jake Bresnehan jakebresnehan

👋
View GitHub Profile
@jakebresnehan
jakebresnehan / .vimrc
Created March 29, 2016 22:39 — forked from mrmrs/.vimrc
My .vimrc file
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
set runtimepath+=~/.vim/bundle/ultisnips
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'sjl/gundo.vim'
@jakebresnehan
jakebresnehan / rkv-admin-links.php
Last active August 29, 2015 14:27 — forked from norcross/rkv-admin-links.php
create links in the WP admin bar for development
@jakebresnehan
jakebresnehan / gist:c11cd64c187cc9b48df8
Last active August 29, 2015 14:23
menu-control-wordpress-custromizer.php
/* Nav Menus */
$locations = get_registered_nav_menus();
$menus = wp_get_nav_menus();
$menu_locations = get_nav_menu_locations();
$num_locations = count( array_keys( $locations ) );
$wp_customize->add_section( 'nav', array(
'title' => __( 'Navigation' ),
'theme_supports' => 'menus',
YouTube Video
https://www.youtube.com/watch?v=bP7vggHJLVM
YouTube Playlist
https://www.youtube.com/playlist?list=PL75C7F02E0C4EA3E0
Twitter Tweet
https://twitter.com/google/status/590225864421482498
blip.tv Video
<?php
/**
* _s Theme Options
*
* @package _s
* @since _s 1.0
*/
/**
* Register the form setting for our _s_options array.
@jakebresnehan
jakebresnehan / dropbox-user-id.md
Created July 22, 2013 04:46
dropbox user id

To get dropbox user id.

Copy the public link of and image in your gif's folder.

Once you have pasted the link in the browser you will be able to see your ID in the URL.

http://cl.ly/QO8X

@jakebresnehan
jakebresnehan / find-cm-api-keys.md
Created July 14, 2013 01:37
How to find API Keys in your Campaign Monitor account

Where do I find my API Key?

  1. Log into your Campaign Monitor account
  2. Click on "Account Settings" in the top menu (4th item)
  3. Your API key will be visible once you click the "Show API Key" link.

Where do I find my List ID?

  1. Log into your Campaign Monitor account
  2. Click on "Clients" in the top menu (1st item)
/*! ******************************
Handlebars helpers
*******************************/
// debug helper
// usage: {{debug}} or {{debug someValue}}
// from: @commondream (http://thinkvitamin.com/code/handlebars-js-part-3-tips-and-tricks/)
Handlebars.registerHelper("debug", function(optionalValue) {
console.log("Current Context");
console.log("====================");
hub pull-request -i <issue-id-number> -h <gh-account>:<branch-name>
@jakebresnehan
jakebresnehan / Monokai.terminal
Created December 4, 2012 23:09
Monokai Theme for Terminal.app
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBrightBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAC
TxAnMC40NTg4MjM1NjE3IDAuNDQzMTM3Mjg4MSAwLjM2ODYyNzQ1ODgA0hAREhNaJGNs
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp