Skip to content

Instantly share code, notes, and snippets.

View m0jek's full-sized avatar
💭
I may be slow to respond.

Andre Skarzynski m0jek

💭
I may be slow to respond.
  • King's Lynn, England
View GitHub Profile
@PigDogBay
PigDogBay / NextBASICCribSheet.txt
Last active April 18, 2024 15:02
NextBASIC Crib Sheet, Wikitext markup
__NOTOC__
Notes on the Sinclair ZX Spectrum Next [[Retro Gaming]], [[ZX Spectrum]], [[Z80 Assembly Language]]
==Next BASIC==
===Editor===
EXTEND MODE, CAPSLOCK - Start of program<br/>
EXTEND MODE, GRAPHICS - End of program
<pre>
ERASE 100,200 ;Erase lines 100 to 200
LINE 100,2 ;Renumbers lines from 100 in steps of 2, 100, 102, 104, 106...
@avoidik
avoidik / README.md
Last active May 22, 2024 17:49
How to install Citrix Workspace app onto Raspbian or Ubuntu Arm64

Citrix Workspace

In this manual I assume that we'll be using usb audio handset instead of hdmi audio output

Step

Check available architectures first

$ dpkg --print-architecture
@Paraphraser
Paraphraser / TheRetainFlag.md
Created September 18, 2020 02:42
MQTT and the retain flag

Tutorial: MQTT and the retain flag

Assumptions and setup

This tutorial assumes:

  • a single computer (like a Raspberry Pi)
  • MQTT broker (like Mosquitto) running
  • the mosquitto_pub and mosquitto_sub commands are available.
@alastair-dm
alastair-dm / load_agps_data.py
Last active March 25, 2024 19:04
Proof of concept AGPS data loading for PinePhone
#!/usr/bin/python3
#
# load_agps_data
#
# proof of concept loading of agps data to quectel modem via AT commands
from datetime import datetime, timezone
import requests
import serial
@Paraphraser
Paraphraser / MQTT_Node-Red_Influx.md
Last active June 22, 2024 05:04
Efficient recipe for getting MQTT data into an InfluxDB database using Node-Red

Recipe: from MQTT to InfluxDB via Node-RED

  • 2024-05-16 adds case study explaining how to extract values from topic strings, and how to specify the measurement name in the message payload provided to the "influxdb out" node.
  • 2023-12-02 revise graphics to correspond with "influxdb out" node, and explain the pros and cons of InfluxDB 1.8 vs InfluxDB 2.

Introduction

Getting data produced by IoT sensors into a database is practically a mandatory step before effective visualisation (eg dashboards).

This recipe shows you how to get an MQTT payload into an InfluxDB database using three Node-RED nodes. It makes the following assumptions:

@kuenishi
kuenishi / gist:3825178
Created October 3, 2012 05:22
Accessing to VM via serial console at VMware Fusion 5

Environment

  • Using FreeBSD
  • Mountain Lion
  • VMware Fusion 5
  • Your VMware is installed at '/Applications/VMware Fusion.app'
  • Command Line tools are at '/Applications/VMware Fusion.app/Contents/Library'
  • especially vmrun