Skip to content

Instantly share code, notes, and snippets.

View jakebresnehan's full-sized avatar
👋

Jake Bresnehan jakebresnehan

👋
View GitHub Profile
@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

<?php
/**
* _s Theme Options
*
* @package _s
* @since _s 1.0
*/
/**
* Register the form setting for our _s_options array.
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
@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',
@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 / .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'