Skip to content

Instantly share code, notes, and snippets.

View lumaku's full-sized avatar

Ludwig Kürzinger lumaku

View GitHub Profile
@lumaku
lumaku / ctc-segmentation-for-speechbrain.md
Last active June 25, 2023 20:07
A short introduction how to use CTC segmentation with Speechbrain

CTC segmentation for Speechbrain

CTC segmentation can be used to align utterances in long audio files. This gist introduces how to use CTC segmentation for Speechbrain.

A short example

from speechbrain.pretrained import EncoderDecoderASR
from speechbrain.alignment.ctc_segmentation import CTCSegmentation
@lumaku
lumaku / scanmem-on-linux-games.md
Last active March 26, 2024 16:38
Using scanmem on Linux for games

Scanmem for Games on Linux

scanmem is a program that is able to find the memory location of a certain value in a program (e.g. the "money" value) and change its value. scanmem does not work when a game applies obfuscating techniques, e.g., moving pointers. But it works surpisingly often.

On Linux: scanmem can be be installed from the package repositories and needs superuser privileges. Use htop or a similar tool to find the main pid of the game. A scanmem session usually looks like this:

[user@pc ~]$ sudo scanmem
[sudo] password for user:
scanmem version 0.17