Skip to content

Instantly share code, notes, and snippets.

@Alkarex
Alkarex / stop-visibility-tracking.user.js
Last active August 11, 2023 12:19
Greasemonkey user script to stop Web page visibility tracking (e.g. forcing a video to stop if its tab is not in focus)
// ==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.
@Alkarex
Alkarex / decodeAxioma.js
Last active July 26, 2024 07:23
Node-RED function to decode Axioma water meter payloads.
/* 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 = [];
@Alkarex
Alkarex / package_rfduino166_index.json
Last active October 18, 2022 21:16
RFduino Board Manager
{
"packages":[
{
"name":"RFduino",
"maintainer":"RFduino",
"websiteURL":"https://github.com/RFduino/RFduino",
"email":"support@rfduino.com",
"help":{
"online":"https://github.com/RFduino/RFduino"
},