Skip to content

Instantly share code, notes, and snippets.

View marsmensch's full-sized avatar

Florian marsmensch

  • Germany
View GitHub Profile
@marsmensch
marsmensch / README.md
Created October 22, 2025 16:45
Multi-Node Bitcoin Knots / Core on One Host (OverlayFS + Split Storage)

Multi-Node Bitcoin Core on One Host (OverlayFS + Split Storage)

Run several independent Bitcoin Core nodes that share block files while keeping each node’s LevelDB on fast/local storage.


Overview

  • LevelDB data (mutable) → /mnt/chaindata/<node> (ext4, noatime)
    Contains: chainstate/, blocks/index/, indexes/, debug.log, peers.dat, PID.
@marsmensch
marsmensch / README.md
Last active September 27, 2025 21:21
FLASH - A small Python script that finds the best **Binance USDT-M perpetuals** for scalping and exports them as Tradingview watchlist

FLASH — Fast Locator of Assets for Scalp Hits

A small Python script that finds the best Binance USDT-M perpetuals for scalping and exports:

  • a TradingView watchlist (BINANCE:SYMBOL.P)
  • a CSV with metrics and score

flash

No API key needed. Uses Binance public futures endpoints only.

@marsmensch
marsmensch / PROMPT.md
Last active September 27, 2025 09:07
TradingView Ticker Extractor (LLM Prompt)

LLM Prompt: Extract TradingView-Ready Tickers

You are a crypto market data assistant.
Your task is to extract a clean, import-ready list of tickers from a screenshot of a market scanner / screener.
The output must be directly pasteable into TradingView watchlists.


Rules

@marsmensch
marsmensch / README.md
Last active October 1, 2025 16:24
tradingview (pinescript v6) development prompt

SFP Detector — Low-TF, Pivot-Confirmed (v1.7)

A non-repainting Swing Failure Pattern (SFP) indicator for TradingView (Pine Script v6).
Signals are confirmed at bar close using pivot-based logic with optional ATR, session, and HTF bias filters.
Includes alerts with fixed messages and optional side labels for clear chart annotation.

SFP Indicator


@marsmensch
marsmensch / README.md
Created September 3, 2025 07:03
Compare contributions by Bitcoin Core https://github.com/bitcoin/bitcoin contributors with Knots https://github.com/bitcoinknots/bitcoin contributors

Bitcoin Knots vs Core — Exclusive Contributors by LOC (Bash)

This script compares Bitcoin Knots and Bitcoin Core by actual lines of code (LOC) changed (adds + deletes), then lists exclusive contributors on each side. It also prints context (top directories, files, and commits) for Knots-only contributors.

Exclusivity (strict-zero):

  • Knots-only: > THRESHOLD LOC in Knots and exactly 0 LOC in Core
  • Core-only : > THRESHOLD LOC in Core and exactly 0 LOC in Knots

Counting rules

npub1k9t9na0ws339ufejwksw6maxldm92grxwsvwp9xhn2qk54tka5xsmfzcfg
@marsmensch
marsmensch / gbdc_mac_dev.md
Created January 31, 2021 14:01 — forked from keztricks/gbdc_mac_dev.md
Developing in gbdc on Mac

I've been following GamingMonsters's gbdk Gameboy Dev tutorial (it's rad! https://www.youtube.com/playlist?list=PLeEj4c2zF7PaFv5MPYhNAkBGrkx4iPGJo).

Was doing this for my own reference, but thought I may as well flesh out & share I'm on MacOS, so have put together anywhere I've had to do something different, I'm up to Session 10, so will update if anything further comes along as we progress.

Quick heads up, before you run anything here make sure you know what it's doing, this all worked fine and dandy for me, but I'm not making any promises!

"Hello World" - Part 1

Installing gdbk

Summary of the PegNet 51% attack on 4/21/2020
=============================================
TL;DR: A miner or group of miners with more than 51% of hashpower submitted an
artificially inflated price for JPY, turning ~1,265.79 pJPY (~11.79 USD) into
~6.7mm pUSD, then tried to liquidate as much as they could on exchanges.
Timeline:
Block 241369
The address FA2dZeSVXZMVzGMGMqG5vhgoQ7J6LUjguQjC5RKTf7nRcFk9KvEj
@marsmensch
marsmensch / pass.md
Created August 26, 2019 08:35 — forked from abtrout/pass.md
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@marsmensch
marsmensch / install_nodejs_and_yarn_homebrew.md
Created July 24, 2019 13:32 — forked from nijicha/install_nodejs_and_yarn_homebrew.md
Install NVM, Node.js, Yarn via Homebrew

Install NVM, NodeJS, Yarn via Homebrew

Prerequisites

  • Homebrew should be installed (Command line tools for Xcode are included).

Getting start

Install NVM and NodeJS

  1. Install nvm via Homebrew