Skip to content

Instantly share code, notes, and snippets.

Now, when I plot ISMPMI (Institute for Supply Management Purchasing Managers' Index) with a 9-month delay, as well as M2 Global Money Supply (inflation) with an exact 11-week delay over today's Bitcoin price in USD, the charts almost perfectly match all the way back to September 2023.
Original chart with M2 and Bitcoin here: https://lnkd.in/gVYDGAvA
In other words, it suggests that Bitcoin's price today follows the M2 Global Money Supply of 11 weeks and the ISMPMI of 9 months ago.
Even before September 2023, both are correlated very closely.
Here is the thesis...
@airtonix
airtonix / dataview.d.ts
Created October 25, 2024 01:44
dataview.d.ts
/// <reference types="parsimmon" />
/// <reference types="jest" />
declare module "api/result" {
/** Functional return type for error handling. */
export class Success<T, E> {
value: T;
successful: true;
constructor(value: T);
map<U>(f: (a: T) => U): Result<U, E>;
flatMap<U>(f: (a: T) => Result<U, E>): Result<U, E>;
@airtonix
airtonix / README.md
Created October 16, 2024 11:18
Remix SSH Cli

Remix SSG Cli

tsx ./remix-ssg-cli --help

Same options can be provided as SSG_* envvars.

@airtonix
airtonix / typed-config.spec.ts
Created October 16, 2024 02:01
Typed Config
import { typedConfig } from './core-typed-config';
describe('coreTypedConfig', () => {
it('should work', () => {
type Schema = {
BAR_BAZ: boolean;
BAR_COUNT: number;
REALLY_KABOOM: number;
}
@airtonix
airtonix / README.md
Last active September 8, 2024 10:17
simple-dayz-linux-server-manager/
@airtonix
airtonix / README.md
Last active August 19, 2024 01:37
Partial Lark Grammar for Hledger CSV transform rules
@airtonix
airtonix / README.md
Last active February 26, 2025 23:39
Steam Workshop Mod Manager for Linux Servers

Steam Mod Manager for Linux Servers

uses steamcmd. Yes we know. it sucks. cry me a river.

  • you need jq and steamcmd

Usage

To download mods in a collection

@airtonix
airtonix / restart-nvidia.sh
Created July 14, 2024 07:24
Restart Nvidia After Suspend
#!/bin/bash
set -e
# list all processes using cuda
# output: PID, process name
function get_cuda_processes {
# run nvisia-smi to get the process id and name
# output is a bunch of lines in csv format that looks like:
# 1234, process_name
export {};
type RouteConfig = {
pathname: string;
redirect?: {
pathname: string;
};
};
type ExtractPathnames<Routes extends Record<string, RouteConfig>> = {
@airtonix
airtonix / Microsoft.PowerShell_profile.ps1
Created January 8, 2024 03:10
Portforward one or more ports to WSL2
#
# ~/Documents/Powershell/Microsoft.PowerShell_profile.ps1
#
# get reference to the profile file dir
$HEREDIR = Split-Path -Parent $MyInvocation.MyCommand.Path
# add this directory/bin
$env:PATH += ";${HEREDIR}\bin"