Skip to content

Instantly share code, notes, and snippets.

View neersighted's full-sized avatar

Bjorn Neergaard neersighted

View GitHub Profile
@vtjnash
vtjnash / MHO-C303.txt
Last active January 18, 2023 05:08
Updating time on MHO-C303 manually (example)
Getting current time:
julia> string(bswap(round(UInt32, datetime2unix(Dates.now()))), base=16) * "00"
"5f3f1f60"
The "00" is the timezone offset (in hours). Here we just use localtime (with offset zero).
With Bluetility.app (from Github) or any other similar tool for bt gatt, look for:
Service: EBE0CCB0-7A0A-4B0C-8A1A-6FF2997DA3A6
Characteristic: EBE0CCB7-7A0A-4B0C-8A1A-6FF2997DA3A6
Read: Hex: 973F1F60_00
@dannote
dannote / final-cut-pro-trial-reset.swift
Last active June 5, 2025 14:05
Final Cut Pro X trial reset
#!/usr/bin/swift
// DISCLAIMER
// This script modifies an unencrypted file associated with the trial version of Final Cut Pro.
// Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological
// protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections.
// Distributing this code is therefore legal under the DMCA.
// This script is intended for educational and research purposes, such as exploring trial-related file structures,
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active June 11, 2025 23:01
Hyperlinks in Terminal Emulators
@abn
abn / rpm-build-workflow.md
Last active May 18, 2022 05:04
RPM build and hosting workflow using github, travis-ci and copr

RPM Build Flow

This document details a simple RPM build flow pattern used to build and host RPM artifacts for open source projects. The below is a visual summary of this flow.

In order to achieve this multiple tools and services are used. The services and their purpose in the flow is as listed below.

Service Purpose
GitHub As is the most common use for GitHub, it holds the build source code. In this case we hold only the spec files and related source files. All other sources, including project binaries/sources are retrieved at build time.
@XVilka
XVilka / TrueColour.md
Last active April 27, 2025 10:17
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!