Skip to content

Instantly share code, notes, and snippets.

@switchabl
switchabl / TacxLegacyANT.md
Last active August 26, 2026 11:37
Tacx legacy ANT protocol description

Tacx legacy ANT protocol

Older Tacx wireless trainers are not ANT+ FE-C compatible and use a proprietary ANT-based protocol instead.

This summary is based on work done by @totalreverse, @fluxoid-org, @mikeymclellan, @m472 and @rjohn65 (see sources) along with own research.

This document is a work in progress and represents a best guess. Some of the information has not been verified with actual hardware.

All messages are sent as broadcast data (unless otherwise noted). All integer values are big-endian (MSB first).

@besser
besser / cura_klipper_end.gcode
Last active July 30, 2024 13:36
Klipper configuration file and Cura Start/End gcode
SET_GCODE_VARIABLE MACRO=END_PRINT VARIABLE=machine_depth VALUE={machine_depth}
END_PRINT
@dodying
dodying / favicon.md
Last active September 26, 2026 18:40
[Get Favicon] #api #favicon
  • DuckDuckGo https://icons.duckduckgo.com/ip2/{hostname}.ico
  • Google https://www.google.com/s2/favicons?domain_url={hostname}
  • Yandex https://favicon.yandex.net/favicon/{hostname1}/{hostname2}/
  • allesedv https://f1.allesedv.com/16/{hostname}
  • http://grab-favicons.herokuapp.com/api/v1/grab-favicons/?url={hostname}
  • https://besticon-demo.herokuapp.com/icon?url={hostname}&size=80..120..200
  • http://favicongrabber.com/service-api-reference
@canton7
canton7 / RSAConverter.cs
Last active July 1, 2022 08:28
C# class to convert OpenSSL private keys into PuTTY'-format private keys. Can't handle encryption or anything else funky
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// Usage: