Skip to content

Instantly share code, notes, and snippets.

View whyisjake's full-sized avatar
✈️

Jake Spurlock whyisjake

✈️
View GitHub Profile
(function( $, wp ) {
var $document = $( document );
wp.media.view.Menu.prototype.ready = function() {
this.unset( 'video-playlist' );
};
// These views may break with back-compat shortcodes on WordPress.com
// Disable them until we sort things out.
wp.mce.views.unregister( 'audio' );
@whyisjake
whyisjake / blink.h
Last active August 29, 2015 13:58
Blink an Arduino
@whyisjake
whyisjake / error.txt
Created April 2, 2014 16:12
Again, this is with a user that is created using the standard login procedure. Not with FB/Twitter.
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>424</b><br />
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>424</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>425</b><br />
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>425</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contrib
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>424</b><br />
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>424</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>425</b><br />
<br />
<b>Notice</b>: Trying to get property of non-object in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contribute/contribute.php</b> on line <b>425</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$data in <b>/nfs/c03/h04/mnt/166492/domains/staging.makezine.com/html/wp-content/themes/makeblog/includes/contrib
@whyisjake
whyisjake / changes.diff
Created March 26, 2014 17:52
The contribute page diff.
Index: css/style.css
===================================================================
--- css/style.css (revision 141566)
+++ css/style.css (working copy)
@@ -4843,6 +4843,247 @@
border-left-color: #ffffff;
bottom: -10px;
}
+.panel {
+ margin-bottom: 20px;
{
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/Predawn/predawn.tmTheme",
"copy_with_empty_selection": false,
"drag_text": false,
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"font_face": "Source Code Pro",
{
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/Predawn/predawn.tmTheme",
"copy_with_empty_selection": false,
"drag_text": false,
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"font_face": "Source Code Pro",
<?php
/*
Template Name: URLS
*/
$urls = 'http://google.com
http://31engine.com/weblogUpdates/1.cgi
http://zhuaxia.com/rpc/server.php';
// $skuList = explode('\n\r', $_POST['skuList']);
@whyisjake
whyisjake / index.php
Created March 5, 2014 00:34
Conditionally load a easy custom field.
<?php
if ( is_page_template( 'page-weekend-projects-2013.php' ) ) {
/**
* Add a meta box on the weekend projects page.
*/
$field_data = array (
'title_takeover' => array(
'fields' => array(
'first_row' => array(
Working copy: /Users/jspurlock/Sites/vip/www/wp-content/themes/makeblog
Command: svn diff .
================================================================================
Index: css/style.css
===================================================================
--- css/style.css (revision 136469)
+++ css/style.css (working copy)
@@ -4924,6 +4924,7 @@
}