I hereby claim:
- I am ericterpstra on github.
- I am ericterpstra (https://keybase.io/ericterpstra) on keybase.
- I have a public key ASCWbKWfd9m0BF5MR5phu_hJm45YgLdc89h6sF2eV_Z8IQo
To claim this, I am signing this object:
| // Derived from https://www.bidouille.org/prog/plasma | |
| int WIDTH = 400; | |
| int HEIGHT = 400; | |
| float kx = WIDTH/HEIGHT; | |
| int strokeColor = 255; | |
| float time = second(); | |
| float timeScalar = .004; |
| const { spawn } = require('child_process'); | |
| // Search for each the following terms in a file called 'words.txt' | |
| const SEARCH_TERMS = "at quis risus sed vulputate odio"; | |
| // Split the terms into an array. | |
| const searchArray = SEARCH_TERMS.split(" "); | |
| // Create an array of 'batches' with 2 terms each. | |
| let batches = []; |
| const rpi433 = require('rpi-433'); | |
| // Instantiate rpi433 lib with a pulse length that matches my RF Outlet remote control | |
| const rfEmitter = rpi433.emitter({ | |
| pin: 0, | |
| pulseLength: 176 | |
| }); | |
| // Codes have been altered to nobody can come to my house and turn off the lights. | |
| const code = { |
| const RaspiCam = require('raspicam'); | |
| const axios = require('axios'); | |
| const schedule = require('node-schedule'); | |
| const fs = require('fs'); | |
| const moment = require('moment'); | |
| const rfDevice = require('./RF_Thing'); | |
| const tweeter = require('./tweets'); | |
| // Set times to turn lamp on and off | |
| const LAMP_ON_CRONTAB = "0 5,20 * * *"; |
| import tensorflow as tf, sys | |
| import simplejson as json | |
| from flask import Flask, jsonify | |
| app = Flask(__name__) | |
| def start_tf_session(): | |
| # Loads label file, strips off carriage return |
| Servo { | |
| board: | |
| Board { | |
| io: | |
| ChipIO { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 4, | |
| _maxListeners: undefined, | |
| _pins: [Object], |
| btc = 0 | |
| usd = 0 | |
| json = {} | |
| doGetData = true | |
| currencyLabel = "BTC" | |
| currencyValue = btc | |
| -- setup I2c and connect display | |
| function init_i2c_display() | |
| -- SDA and SCL can be assigned freely to available GPIOs |
| esptool -cd nodemcu -cb 230400 -cp /dev/tty.wchusbserial1420 -cf nodemcu-master-8-modules-2016-07-16-03-31-21-float.bin |
I hereby claim:
To claim this, I am signing this object:
| Meteor.publish('pubname', function(doTransform) { | |
| let options = {}; | |
| if (doTransform) { | |
| options.transform = function(doc) { | |
| doc.username = 'johndoe'; | |
| } | |
| } else { | |
| options.transform = null; | |
| } |