Skip to content

Instantly share code, notes, and snippets.

@Jolg42
Jolg42 / app.js
Created October 31, 2016 09:41
FastSpring Remote Server Request MD5 Signature Check
var express = require('express');
var router = express.Router();
var _ = require('lodash');
var crypto = require('crypto');
var secret = 'MY_SECRET_PRIVATE_KEY';
router.post('/', function (req, res) {
// Check User Agent
/*
Firmata is a generic protocol for communicating with microcontrollers
from software on a host computer. It is intended to work with
any host computer software package.
To download a host software package, please click on the following link
to open the list of Firmata client libraries in your default browser.
https://github.com/firmata/arduino#firmata-client-libraries
@ssalonen
ssalonen / OpenWrt SSH tunnel.md
Last active February 13, 2024 21:29
OpenWrt SSH tunnel

Short how-to for creating a reverse ssh tunnel to a remote server. Useful for breaking NATted connection for example.

  1. At OpenWrt:
opkg update
opkg install sshtunnel
  1. At remote server: create client ssh keys
@pdcastro
pdcastro / notes.md
Last active July 12, 2022 13:28
balenaOS installation in a libvirt / qemu / kvm virtual machine

balenaOS in a libvirt / qemu / kvm virtual machine

Successfully tested with Ubuntu 20.04 as the host OS in 2 quite different "environments":