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
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.
/*! ******************************
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
@jakebresnehan
jakebresnehan / rgbaa.scss
Created September 19, 2012 09:19 — forked from KuraFire/rgbaa.scss
More dynamic, oldIE-compatible SCSS function for rgba
@function rgbaa($args...) {
// rgbaa(#FFF, .5)
@if length($args) == 2 {
$hex: nth($args, 1);
$alpha: nth($args, 2);
@if $oldIE == 1 {
@return rgb(red($hex), green($hex), blue($hex));
} @else {
@return rgba(red($hex), green($hex), blue($hex), $alpha);
@jakebresnehan
jakebresnehan / _settings.sass
Created August 29, 2012 13:05 — forked from nickawalsh/_settings.sass
Style Debugging
%debug
background-color: pink !important
@jakebresnehan
jakebresnehan / RWD Screen Width Indicator
Created August 17, 2012 12:08 — forked from jordanmoore/RWD Screen Width Indicator
Current screen width indicator (useful for knowing when to add breakpoints when resizing browser window)
<script>
$(window).resize(function() {
var windowWidth = $(window).width();
$('.screen-width').text(windowWidth + 'px');
});
</script>
<div id="debug" style="position:fixed;padding:0.3em 0.6em;background:#f1f1f1;font-size:0.6em;bottom:0;left:50%;">
<span class="screen-width">0</span>
</div>