Skip to content

Instantly share code, notes, and snippets.

import web
from exceptions import ValueError
urls = ('/', 'Index')
store_url = 'No_url'
class Index:
def GET(self):
/**********************************************************************
* SANTA TRACKINATOR
* =================
* By: Andy Burton, 2016
*
* This code works in concert with an IFTTT.com applet that send the
* WIFI bit an update. When the update is recieved the LASERPEG pin is
* set high then low to blink lights. The mode of the system can also
* be changed to blink the LASERPEG pin every five seconds instead of
* waiting for an update.
@andreburto
andreburto / f_table_access.sql
Created August 31, 2016 14:03
f_table_access
declare
function f_table_access(fi_tbl varchar2,
fi_owner varchar2 default null)
return varchar2 as
v_table varchar2(100);
v_retval varchar2(1);
v_command varchar2(100);
begin
if fi_owner is not null then
v_table := fi_owner||'.'||fi_tbl;
@andreburto
andreburto / OwTest.java
Created August 28, 2016 05:39
OutWrite test
import java.util.*;
import java.text.*;
public class OwTest {
public static int counter = 0;
public static long delay = 100;
public static void main(String[] args) throws InterruptedException {
while (counter < 200) {
@andreburto
andreburto / vertex_circles
Created August 27, 2016 23:37
Draws circles and makes a picture.
import java.util.*;
XML xml;
String linkUrl = "http://pics.mytrapster.com/yvonne-list.php";
int count = 0;
int w = 100;
float xcoord = 0;
float ycoord = 0;
class Yvonne {