Skip to content

Instantly share code, notes, and snippets.

View rmallof's full-sized avatar

Roi Mallo rmallof

View GitHub Profile
@rmallof
rmallof / setup.sh
Created March 15, 2026 10:20 — forked from jserv/setup.sh
Run Lotus 1-2-3 on macOS + Apple Silicon
#!/usr/bin/env bash
# setup.sh - Bootstrap Lotus 1-2-3 on macOS arm64 via Blink
# Authored by Jim Huang <jserv@ccns.ncku.edu.tw>
#
# Downloads the prebuilt i386 binary from GitHub, builds Blink,
# populates the sysroot from Ubuntu archive i386 .debs, validates the layout,
# and generates run-123.sh. No SSH/scp needed -- everything from public URLs.
#
set -euo pipefail
@rmallof
rmallof / .gitignore
Created February 1, 2026 20:42 — forked from hghwng/.gitignore
SciTools Understand for Arch Linux
pkg/
src/
understand-bin-*.pkg.*
Understand-*.tgz
.SRCINFO
@rmallof
rmallof / windows-keys.md
Created December 23, 2025 17:39 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@rmallof
rmallof / star_model.py
Created December 26, 2024 22:38 — forked from ChadFulton/star_model.py
LSTAR1 model
"""
Smooth Transition Autoregression
References
----------
Dijk, Dick van, Timo Terasvirta, and Philip Hans Franses. 2002.
"Smooth Transition Autoregressive Models - a Survey of Recent Developments."
Econometric Reviews 21 (1): 1-47.
@rmallof
rmallof / _idapro9_macarm_patch_guide.md
Created November 19, 2024 00:32 — forked from sagittarius-a/_idapro9_macarm_patch_guide.md
Guide: Patching IDA Pro 9.0 BETA

Patching the IDA Pro 9.0 BETA

Note

Obligatory disclaimer: this is for educational purposes only. I am not responsible for any damages caused by following this guide, or using any of the script(s) herein.

This guide prioritizes arm64 macOS, but may also work for other platforms.


Step 1 - Patching dylibs

// Configuration object for the search
const searchConfig = {
searchCriteria: { user: { id: true, email: true } }, // What we're looking for
maxDepth: 50, // How deep to search in the tree
stopAfterFirst: false, // Whether to stop after finding the first match
searchPaths: ["memoizedProps", "memoizedState"], // Where to look in each node
mainSelector: "#__next", // The root element of our React app
callback: (matchingObjects) => {
matchingObjects.forEach(({ matchingObject, fiberNode }) => {
console.log("Found matching object:", matchingObject);
@rmallof
rmallof / decrypted.json
Created November 20, 2023 20:47 — forked from matteyeux/decrypted.json
Apple Vision Pro firmware keys for VisionOS 1.0 beta 1-5
[
{
"url": "https://updates.cdn-apple.com/2023SummerSeed/patches/042-21091/60572AF0-9BC3-465F-89ED-77117194CB26/com_apple_MobileAsset_SoftwareUpdate/3df121022bd578846478faa25a4dcf3055396954.zip",
"build": "21N5207g",
"filename": "iBEC.n301.RELEASE.im4p",
"kbag": "AB7893B981E44BFF298328C89C826F8BA6EF1A7ADC80DB156C9D55D9F4E27E8AD2CC21AFA42A41E1392B57E9FE90D992",
"key": "34b218667cd03eb93e073b9b3bca4a865b20f130550a800b2aa2c1c2348041865cee47db7e3bcda739d05adde9f9f716"
},
{
"url": "https://updates.cdn-apple.com/2023SummerSeed/patches/042-21091/60572AF0-9BC3-465F-89ED-77117194CB26/com_apple_MobileAsset_SoftwareUpdate/3df121022bd578846478faa25a4dcf3055396954.zip",
@rmallof
rmallof / spectrograms.ipynb
Created October 19, 2023 15:50 — forked from aprovecharLab/spectrograms.ipynb
Fun with Continuous Wavelet Transform Spectrograms
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmallof
rmallof / demo_adaptive_lasso.py
Created September 17, 2023 18:08 — forked from agramfort/demo_adaptive_lasso.py
Adaptive Lasso demo
"""Example of adaptive Lasso to produce event sparser solutions
Adaptive lasso consists in computing many Lasso with feature
reweighting. It's also known as iterated L1.
"""
# Authors: Alexandre Gramfort <firstname.lastname@inria.fr>
#
# License: BSD (3-clause)
import numpy as np
"""
Self-Exciting Threshold Autoregression
References
----------
Hansen, Bruce. 1999.
"Testing for Linearity."
Journal of Economic Surveys 13 (5): 551-576.
"""