Skip to content

Instantly share code, notes, and snippets.

View whyisjake's full-sized avatar
✈️

Jake Spurlock whyisjake

✈️
View GitHub Profile

Hi Jake and Amy

I know you must be super busy getting ready for Makerfaire but thought I would let you know about a couple of classes we’re offering, please also feel free to share with anyone else who is looking to improve their skills, we’re doing another video shoot on two courses the week of May 13. See the details below.

  • Emma

O'Reilly Media in Sebastopol is looking for students to come sit in our studio while we film a video to resell on oreilly.com. We're filming two courses: HTML5 Canvas and HTML5 2D May 13-May 17.

Email [email protected] to sign up or for more details.

<?php
add_action( 'init', 'mf_allow_data_atts' );
function mf_allow_data_atts() {
global $allowedposttags;
$tags = array( 'div,a,li' );
$new_attributes = array( 'data' => array() );
foreach ( $tags as $tag ) {
if ( isset( $allowedposttags[ $tag ] ) && is_array( $allowedposttags[ $tag ] ) )
<div class="tabbable tabs-left">
<ul class="nav nav-tabs">
<li class="active"><a href="#1" data-toggle="tab">Main Stage</a></li>
<li><a href="#2" data-toggle="tab">Center Stage</a></li>
</ul>
<div class="tab-content" style="width:497px">
<div class="tab-pane active" id="1">
[mf_full_schedule location="Main Stage"]
</div>
<div class="tab-pane" id="2">
<div class="tabbable tabs-left">
<ul class="nav nav-tabs">
<li class="active"><a href="#1" data-toggle="tab">Full Schedule</a></li>
<li><a href="#2" data-toggle="tab">Center Stage</a></li>
</ul>
<div class="tab-content" style="width:497px">
<div class="tab-pane active" id="1">
[mf_full_schedule location=""]
</div>
<div class="tab-pane" id="2">
$args = array(
'location' => $atts['location'],
'post_type' => 'event-items',
// 'orderby' => 'meta_value_num',
//'meta_key' => 'mfei_start',
'meta_value' => 'Sunday',
'posts_per_page'=> '30'
);
$query = new WP_Query( $args );
// Individual Arrays
array
0 => string 'Keith Pelczarski' (length=16)
1 => string 'Heather Harding' (length=15)
array
0 => string 'Lovebian Designs is run by Heather and Keith (a.k.a. Coco). They are jack-of-all-trades with strong interests in design, screen printing, and sewing. They hand make their products with love.' (length=190)
array
0 => string 'http://makerfaire.files.wordpress.com/2013/04/hk_unicorns-500x375.jpg' (length=69)
array
<?php
echo 'Hello World!';
@whyisjake
whyisjake / blink.ino
Created April 11, 2013 16:47
Arduino Blink Project
@whyisjake
whyisjake / wii_nunchuk.py
Created April 8, 2013 21:48
Wii Nunchuk Script
# Import the required libraries for this script
import math, string, time, serial, win32api, win32con
# The port to which your Arduino board is connected
port = 'arduino_port'
# Invert y-axis (True/False)
invertY = False
# The cursor speed
@whyisjake
whyisjake / gps.js
Created April 3, 2013 23:35
Get's the GPS location from the browser.
navigator.geolocation.getCurrentPosition(GetLocation);
function GetLocation(location) {
alert(location.coords.latitude);
alert(location.coords.longitude);
alert(location.coords.accuracy);
console.log(location);
}