From:
- http://www.hifi-remote.com/forums/viewtopic.php?t=14120
- http://www.remotecentral.com/cgi-bin/mboard/rc-discrete/thread.cgi?7852
Code:
Protocol: NEC1
Device: 2
SubDevice: 160
Func. OBC HEX EFC
From:
Code:
Protocol: NEC1
Device: 2
SubDevice: 160
Func. OBC HEX EFC
const tesseractTsvToJson = (tsvFilename, jsonFilename) => { | |
console.log(`> tsvToJson ${tsvFilename} => ${jsonFilename}`); | |
const tsvLines = fs.readFileSync(tsvFilename, 'utf-8').trim().split('\n').reverse(); | |
/** @type {any} */ | |
const json = {pages: []}; | |
// discard header | |
tsvLines.pop(); |
multipass: true | |
plugins: | |
- addAttributesToSVGElement: false | |
- addClassesToSVGElement: false | |
- cleanupAttrs: true | |
- cleanupEnableBackground: true | |
- cleanupIDs: true | |
- cleanupListOfValues: true | |
- cleanupNumericValues: |
sudo apt-get remove exfat-fuse exfat-utils
Some notes to adjust the MX4000 parameters for retro gaming. These notes apply to my model (SW 2.0)
/* | |
* RIFFWAVE.js v0.03 - Audio encoder for HTML5 <audio> elements. | |
* Copyleft 2011 by Pedro Ladaria <pedro.ladaria at Gmail dot com> | |
* | |
* Public Domain | |
* | |
* Changelog: | |
* | |
* 0.01 - First release | |
* 0.02 - New faster base64 encoding |
#!/usr/bin/env bash | |
DEPLOY_PATH=/tmp/heroku-deploy-`date +%s`/ | |
HEROKU_NAME="put-your-heroku-service-name-here" | |
rm -rf $DEPLOY_PATH | |
mkdir -p $DEPLOY_PATH | |
rsync -av . $DEPLOY_PATH --exclude node_modules | |
cd $DEPLOY_PATH |
$ uname -r
const crypto = require('crypto'); | |
const urlBase64 = require('urlsafe-base64'); | |
function generateVAPIDKeys() { | |
const curve = crypto.createECDH('prime256v1'); | |
curve.generateKeys(); | |
return { | |
publicKey: urlBase64.encode(curve.getPublicKey()), | |
privateKey: urlBase64.encode(curve.getPrivateKey()) |