Skip to content

Instantly share code, notes, and snippets.

Avatar
🍊

Lauren Lee McCarthy lmccart

🍊
View GitHub Profile
View conversa_wedding.ino
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd1(12, 11, 16, 17, 18, 19);
LiquidCrystal lcd2(12, 5, 6, 7, 8, 9);
LiquidCrystal lcds[2] = { lcd1, lcd2 };
int leds[2] = { 2, 10 };
// wedding
@lmccart
lmccart / extensions.js
Last active Nov 25, 2021
browser extension examples
View extensions.js
/////////////////////////////////////////////////////////////////////////
//// MANIFEST
{
"manifest_version": 2,
"name": "Getting started example",
"description": "This extension shows a Google Image search result for the current page",
View gist:2294810e44ba37c03de85fb4d502c47c
I am attesting that this GitHub handle lmccart is linked to the Tezos account tz1ingPzzQcTuetzghNtfk69WgCDjYivJt1r for tzprofiles
sig:edsigtt1wBBYT4ytSq5Gr59wMYkiCcWy9Do5XnjTvQ8N3QcSeY43TUjL7zVk61Qi7tjxmzRuAuHXiNS2xekhxqRCy8AKskWS8r2
@lmccart
lmccart / gist:2273a047874939ad8ad1
Last active Dec 16, 2020
p5.js + p5.dom.js + clmtracker.js
View gist:2273a047874939ad8ad1
<html>
<head>
<script src="clmtrackr.js"></script>
<script src="model_pca_20_svm.js"></script>
<script src="p5.js"></script>
<script src="p5.dom.js"></script>
<script>
var ctracker;
@lmccart
lmccart / gist:532780549d49e36b5558
Last active Nov 25, 2020
face tracking with clmtrackr.js + p5.js
View gist:532780549d49e36b5558
////////////////////////////////////////////////////////////////////
//// clmtrackr
<html>
<head>
<script src="clmtrackr.js"></script>
<script src="models/model_pca_20_svm.js"></script>
<script src="p5.js"></script>
<script src="p5.dom.js"></script>
<script>
@lmccart
lmccart / gist:a29c88800c8e0779d78e
Created Mar 5, 2015
wikipedia iframe example
View gist:a29c88800c8e0779d78e
<html>
<head>
<script src="jquery.js"/></script>
<script>
$(document).ready(function() {
$('#show').click(function() {
$('#wiki').fadeIn();
})
@lmccart
lmccart / p5.geolocation.js
Created Nov 15, 2019
p5.geolocation modifiations
View p5.geolocation.js
// 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
View video-test.html
<!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" />
View p5.js
/*! 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) {
View good-listener.html
<!DOCTYPE html>
<html>
<head>
<title>good-listener</title>
</head>
<body>
<h1 id="title">good-listener</h1>
<style>
* {