Skip to content

Instantly share code, notes, and snippets.

View nicholasareed's full-sized avatar

Nicholas Reed nicholasareed

View GitHub Profile
import { builder, BuilderComponent, Builder } from '@builder.io/react';
import '@builder.io/widgets';
builder.init(process.env.BUILDERIO_API_KEY);
const MyComponent = props => {
return (
<>
{/* <YourHeader /> */}
{props.content || Builder.isPreviewing ? (
1: No LED (off, default)
echo -n -e '\xA0\x01\x00\xA1' > /dev/ttyUSB0
1: LED (on)
echo -n -e '\xA0\x01\x01\xA2' > /dev/ttyUSB0
2: No LED (off, default)
echo -n -e '\xA0\x02\x00\xA2' > /dev/ttyUSB0
@nicholasareed
nicholasareed / index.js
Created June 22, 2017 17:54
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var docusign = require('docusign-esign');
var async = require('async');
var integratorKey = '***'; // Integrator Key associated with your DocuSign Integration
var email = 'YOUR_EMAIL'; // Email for your DocuSign Account
var password = 'YOUR_PASSWORD'; // Password for your DocuSign Account
@nicholasareed
nicholasareed / index.js
Created May 11, 2016 20:59
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
// Request Signature on a Document [creating Envelope using a local file] (Node.js)
//
// To run this sample
// 1. Copy the file to your local machine and give .js extension (i.e. example.js)
// 2. Change "***" to appropriate values
// 3. Install docusign-esign, async, and fs packages

Keybase proof

I hereby claim:

  • I am nicholasareed on github.
  • I am nickreed (https://keybase.io/nickreed) on keybase.
  • I have a public key whose fingerprint is 55C5 4D01 0C28 C9BE 26A8 E6DD 4AE2 3904 E5D2 7076

To claim this, I am signing this object:

interact('.sport-list-item')
.on('tap', function(){
console.log(1);
})
.draggable();
@nicholasareed
nicholasareed / user_signup_notify_admin.html
Created January 15, 2015 18:45
UserSignupNotifyAdmin
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><!-- If you delete this meta tag, Half Life 3 will never be released. --><meta content="width=device-width" name="viewport"><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><style type="text/css">
table.primary-color,
div.primary-color,
td.primary-color,
tr.primary-color {
background-color: #999999 !important;
}
@nicholasareed
nicholasareed / reset_password_confirm.html
Created January 13, 2015 21:53
ResetPasswordConfirm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><!-- If you delete this meta tag, Half Life 3 will never be released. --><meta content="width=device-width" name="viewport"/><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><style type="text/css"></style><style type="text/css">
table.primary-color,
div.primary-color,
td.primary-color,
tr.primary-color {
background-color: #999999 !important;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><!-- If you delete this meta tag, Half Life 3 will never be released. --><meta content="width=device-width" name="viewport"/><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><style type="text/css">
table.primary-color,
div.primary-color,
td.primary-color,
tr.primary-color {
background-color: #999999 !important;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><!-- If you delete this meta tag, Half Life 3 will never be released. --><meta content="width=device-width" name="viewport"><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><style type="text/css"></style><style type="text/css">
table.primary-color,
div.primary-color,
td.primary-color,
tr.primary-color {
background-color: #999999 !important;
}