This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Steve Lambert | |
offMouse | |
September 15, 2015 | |
Note: where you declare your variable | |
*/ | |
// Global Variables (usable in every loop/function we make) | |
int offMouse = 0; //declare AND initialize the variable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Steve Lambert | |
Super Stunning Psychedelic Booleans v0.1 | |
September 15, 2015 | |
Done with one IF statement | |
*/ | |
void setup(){ | |
size(800,600); // how big it is, you know this. | |
println("Welcome to Steve's Psychedelic Light Show"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
size(480, 120); | |
smooth(); | |
background(240); | |
rectMode(CENTER); | |
// done with setup | |
} | |
void draw() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Steve Lambert | |
September 8, 2015 | |
This is an example for class about the things | |
they have questions about today. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thumbnail Function - this creates a default thumbnail if one is specified | |
function get_thumb ($post_ID){ | |
$thumbargs = array( | |
'post_type' => 'attachment', | |
'numberposts' => 1, | |
'post_status' => null, | |
'post_parent' => $post_ID | |
); | |
$thumb = get_posts($thumbargs); | |
if ($thumb) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header() ?> | |
<!-- created with category.php --> | |
<?php get_sidebar() ?> | |
<hr /> | |
<div id="content"> | |
<!--checking if this is a for sale page--> | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header() ?> | |
<!-- generated with home.php --> | |
<div id="home-banner"> | |
<?php putRevSlider("tsleadin") ?> | |
</div><!-- #home-banner--> | |
<div id="home-container"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<rss version="2.0"> | |
<channel> | |
<title>Art Channel Name</title> | |
<link>http://museum.art/add-art/</link> | |
<description>Brief description of the venue providing the images.</description> <!-- limit what's displayed in the Add-Art interface to a couple sentences. --> | |
<image>http://museum.art/add-art/icon.png</image> <!-- a small, standarized size logo image for the organization. To be displayed in the interface. --> | |
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> <!-- show in interface as 12 June '13 --> | |
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate> <!-- needed? --> | |
<docs>http://blogs.law.harvard.edu/tech/rss</docs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Sonar 100% Program | |
v.0.4.1 | |
This version has: | |
* 3 sonar units | |
* LEDs to show when triggered | |
* variable trigger distance set with a pot | |
* An error LED to show if a sonar unit is out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//relay pins | |
#define relayAPin 2 | |
#define relayBPin 3 | |
#define relayCPin 4 | |
#define relayDPin 5 | |
#define relayEPin 6 | |
#define relayFPin 7 | |
#define relayGPin 8 | |
#define relayHPin 9 |