Skip to content

Instantly share code, notes, and snippets.

View M64GitHub's full-sized avatar
👾

M64 M64GitHub

👾
View GitHub Profile

Managing multiple versions of ZIG on your system easily

Sometimes you need a specific version of ZIG. It's been the case to me the other day, when I wanted to try out a repo I found on github just quickly.
In particular it was my twin brother's repo GPT4All.zig, and I wanted to see if it would run even on my small powered dev laptop (a 2nd hand IBM thinkpad I bought on amazon for EUR 350.00).

ZIG is moving ahead quite fast, and usually does not break a backwards-compatibility for no reason of course. But the build system in this particular case had already

@M64GitHub
M64GitHub / kro0tF1sh.md
Created March 18, 2024 00:05
kro0tf1sh

The Story

Foreword and setting the scene

Back in the early 2000s I did a lot of virus related research. A journey that started 1994, when I first stumbled across the incredible VLAD magazine, using our school's great new internet access. My focus around 2005 went on to GNU/linux systems in this regard. Also around that time was probably the peak of "reverse code engineering" sites and communities. A lot of them had been taken down already due to government concerns, most notably http://www.anticrack.de, but one of the most advanced ones was still highly active: http://www.woodman.com, where I was sysadmin for years (and founded the linux RCE forum there).

Reverse code engineering on linux platforms was not so much seen as an important skill to many, a typical argument would have been: "but there is the source code available". Keeping it short here, of course static binary analysis is a necessary skill

@M64GitHub
M64GitHub / Ubuntu-22-04-LTS-Kernel-6.8.md
Created March 17, 2024 11:02
Ubuntu 22.04 LTS Kernel upgrade to 6.8-test

Installing kernel 6.8-test on Ubuntu 22.04 LTS

Install kernel-6.8-test with original Ubuntu patches on 22.04 LTS:

  1. Advised: update system first
sudo apt update && sudo apt upgrade -y
  1. Download and install kernel packages from the Ubuntu kernel page:
@M64GitHub
M64GitHub / ANSI.md
Last active August 4, 2023 20:22 — forked from fnky/ANSI.md
ANSI Escape Codes

Quick 16 most compatible colors:

image

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033