This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stop visibility tracking | |
// @namespace https://alexandre.alapetite.fr/ | |
// @description Stop Web page visibility tracking (e.g. forcing a video to stop if its tab is not in focus) | |
// @version 1.0 | |
// @grant none | |
// @match https://example.net/* | |
// ==/UserScript== | |
//NB: You should manually add the Web sites you want to target in your user-specific inclusion list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jshint esversion:6, bitwise:false, node:true, strict:true */ | |
/* globals msg */ | |
"use strict"; | |
/** | |
* Node-RED function to decode Axioma water meter payloads. | |
* Example assuming that msg.req.body contains an HTTP POST callback from The Things Networks. | |
*/ | |
function statusAxiomaShort(s) { | |
const messages = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages":[ | |
{ | |
"name":"RFduino", | |
"maintainer":"RFduino", | |
"websiteURL":"https://github.com/RFduino/RFduino", | |
"email":"[email protected]", | |
"help":{ | |
"online":"https://github.com/RFduino/RFduino" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Version] | |
major = 1 | |
minor = 1 | |
[Common] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environment: | |
SERVER_NAME: "myserver.doma.in" | |
# Dummy key, cert | |
SSL_KEY: |- | |
-----BEGIN RSA PRIVATE KEY----- | |
MIICXQIBAAKBgQD272jYrLm8Ph5QpMWFcWUO9Ua1EviykalP+tkMIg12yZ3GvezF | |
y8aayxdztB5vu68jqMeg6mOJlscWqFUhmAxj4mDknYenVzVX2CKzCgHlGninTKxY | |
61rXDaDZVpSZ+XIESJkaB0z9HHYtrSLr0coKmq4cT5TRptOnkpDlJxIRaQIDAQAB | |
AoGATcTYoGTFmiN2KK+8BWrRCQT2X9C5woNdb3LxKIEQ/HhC2HS4PRMQWW/c0vPH | |
IilZ30EoneUztAFochpRtWLNg4lJoLy04X/eNjEiC/imp0KSwWXmnuLhDcWcb0+M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |