Skip to content

Instantly share code, notes, and snippets.

View lmccart's full-sized avatar
🍊

Lauren Lee McCarthy lmccart

🍊
View GitHub Profile
I am attesting that this GitHub handle lmccart is linked to the Tezos account tz1ingPzzQcTuetzghNtfk69WgCDjYivJt1r for tzprofiles
sig:edsigtt1wBBYT4ytSq5Gr59wMYkiCcWy9Do5XnjTvQ8N3QcSeY43TUjL7zVk61Qi7tjxmzRuAuHXiNS2xekhxqRCy8AKskWS8r2
@lmccart
lmccart / p5.geolocation.js
Created November 15, 2019 18:40
p5.geolocation modifiations
// p5.geolocation.js VERSION 3
console.log("%c p5.geolocation Loaded ", "color:pink; background:black; ");
/**
* Check if location services are available
*
* Returns true if geolocation is available
*
* @method locationCheck
@lmccart
lmccart / p5.js
Created May 9, 2019 08:31
p5.gif
/*! p5.js v0.8.0 May 07, 2019 */
! function(e) {
if ("object" == typeof exports && "undefined" != typeof module) module.exports = e();
else if ("function" == typeof define && define.amd) define([], e);
else {
("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this).p5 = e()
}
}(function() {
return function o(a, s, h) {
<!DOCTYPE html>
<html>
<head>
<title>good-listener</title>
</head>
<body>
<h1 id="title">good-listener</h1>
<style>
* {
<!DOCTYPE html>
<html>
<body>
<!-- hamachi -->
<object type="application/x-vlc-plugin" data="rtsp://admin:someone@192.168.7.181:554/live1.sdp" width="500" height="375" id="video1">
<param name="movie" value="rtsp://admin:someone@192.168.7.181:554/live1.sdp">
<embed type="application/x-vlc-plugin" name="video1" autoplay="no" loop="no" width="500" height="375" target="rtsp://admin:someone@192.168.7.181:554/live1.sdp" />
</object>
@lmccart
lmccart / video-test.html
Created February 12, 2019 22:45
activex test
<!DOCTYPE html>
<html>
<head>
<script src='js/vendor/jquery-3.3.1.min.js'></script>
</head>
<body>
<object codeBase="/VDControl.CAB?2,0,0,100#version=2,0,0,100" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" width="640" height="360" id="vlc" events="True">
<param name="MRL" value="rtsp://admin:someone@10.8.0.251:3554/live1.sdp" />
<param name="ShowDisplay" value="True" />
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<link href="https://fonts.googleapis.com/css?family=PT+Serif" rel="stylesheet">
<style>
body {
margin: 0;
@lmccart
lmccart / interaction-device.js
Created October 22, 2018 22:25
interaction-device.js
//////////////////////////////////////////////////////////////////////
// mouseX, mouseY
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(200, 20, 20, 10);
ellipse(mouseX, mouseY, 50, 50);
@lmccart
lmccart / generated-score-p5.js
Created October 4, 2018 02:06
generated score p5.js
/////////////////////////////////////////////////////////////////////////////////
///// INTRO P5 / ABSTRACT SCORE (20 mins)
// editor.p5js.org
createCanvas(w, h);
setup() and draw();
background('name');
@lmccart
lmccart / sketch.js
Last active September 14, 2018 20:18
test.html
function setup() {
createCanvas(400, 400);
}
function touchEnded(e) {
console.log(e);
}