Skip to content

Instantly share code, notes, and snippets.

View mtl1979's full-sized avatar

Mika Lindqvist mtl1979

View GitHub Profile
#Enable Stake Combine (0 - disabled [default], 1 - enabled)
enablestakecombine=0
#Combine Peepcoin inputs below this value
stakecombine=0
#Enable Stake Split (0 - disabled [default], 1 - enabled)
enablestakesplit=0
#Splits staking outputs above this level
stakesplit=500000000
#Set minimum time for input stack to be considered for auto combine, in blockchain hours
stakemintime=0
@mtl1979
mtl1979 / depcheck.cpp
Last active February 28, 2024 09:16
Depedency checker for NMake Makefiles (zlib-ng)
/* depcheck.cpp - Dependency checker for NMake Makefiles
* Copyright (c) 2024 Mika T. Lindqvist
*/
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
@mtl1979
mtl1979 / 0001-usb_disk-Don-t-synchronize-cache-or-read-if-no-media.patch
Last active December 16, 2024 20:45
Fix removable USB drive support in Haiku
From a92b332589eda8cf391ab8dd308fd1ee670c596f Mon Sep 17 00:00:00 2001
From: "Mika T. Lindqvist" <[email protected]>
Date: Mon, 16 Dec 2024 22:44:00 +0200
Subject: [PATCH] usb_disk: Don't synchronize cache or read if no media
present.
---
.../kernel/drivers/disk/usb/usb_disk/usb_disk.cpp | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
@mtl1979
mtl1979 / syslog
Created December 20, 2024 17:34
_user_create_pipe syslog
_user_create_pipe(): flags=0
_user_create_pipe(): flags=-1661083760
_user_create_pipe(): flags=100956576
_user_create_pipe(): flags=0
_user_create_pipe(): flags=0
_user_create_pipe(): flags=118602000
_user_create_pipe(): flags=0
_user_create_pipe(): flags=-548939504
_user_create_pipe(): flags=0
_user_create_pipe(): flags=-518149872
@mtl1979
mtl1979 / 0001-Fix-kernel-ABI-breakage-with-beta-5.patch
Created December 22, 2024 13:20
Fix kernel ABI breakage with beta 5.
From d79709696d47576eae9df018329aad412411acce Mon Sep 17 00:00:00 2001
From: "Mika T. Lindqvist" <[email protected]>
Date: Sun, 22 Dec 2024 15:18:02 +0200
Subject: [PATCH] Fix kernel ABI breakage with beta 5.
---
headers/private/system/syscalls.h | 3 ++-
src/system/kernel/UserTimer.cpp | 2 +-
src/system/kernel/fs/fd.cpp | 2 +-
src/system/kernel/fs/vfs.cpp | 2 +-
a52dec-0.8.0-1-x86_64.hpkg
analitza-23.08.5-1-x86_64.hpkg
aspell_en-2020.12.07~0-1-any.hpkg
aspell-0.60.8.1-1-x86_64.hpkg
assimp-5.4.3-1-x86_64.hpkg
attica_devel-5.115.0-1-x86_64.hpkg
attica-5.115.0-1-x86_64.hpkg
autoconf_archive-2024.10.16-1-any.hpkg
autoconf-2.72-1-x86_64.hpkg
automake-1.16.5-3-x86_64.hpkg
xz_utils-5.6.2-2-x86_64.hpkg
llvm18_libs-18.1.7-3-x86_64.hpkg
readline-8.2.013-1-x86_64.hpkg
liborigin_devel-3.0.2-1-x86_64.hpkg
gst_plugins_bad-1.24.7-1-x86_64.hpkg
glew-2.2.0-3-x86_64.hpkg
fluidsynth2_devel-2.1.8-3-x86_64.hpkg
libass-0.17.3-2-x86_64.hpkg
libxau_devel-1.0.9-3-x86_64.hpkg
kglobalaccel-5.115.0-2-x86_64.hpkg
@mtl1979
mtl1979 / gist:9b758d14c60bdaa8221f19a69776220c
Created December 22, 2024 16:12
chroot has these packages active
chroot has these packages active:
/boot/system/packages/autoconf-2.72-1-x86_64.hpkg
/boot/system/packages/automake-1.16.5-3-x86_64.hpkg
/boot/system/packages/bash-5.2.032-1-x86_64.hpkg
/boot/system/packages/binutils-2.42-1-x86_64.hpkg
/boot/system/packages/bzip2-1.0.8-3-x86_64.hpkg
/boot/system/packages/ca_root_certificates-2024_11_26-1-any.hpkg
/boot/system/packages/coreutils-9.3-3-x86_64.hpkg
/boot/system/packages/diffutils-3.10-3-x86_64.hpkg
/boot/system/packages/expat-2.6.4-1-x86_64.hpkg
a52dec-0.8.0-1-x86_64.hpkg
analitza-23.08.5-1-x86_64.hpkg
aspell_en-2020.12.07~0-1-any.hpkg
aspell-0.60.8.1-1-x86_64.hpkg
assimp-5.4.3-1-x86_64.hpkg
attica_devel-5.115.0-1-x86_64.hpkg
attica-5.115.0-1-x86_64.hpkg
autoconf_archive-2024.10.16-1-any.hpkg
autoconf-2.72-1-x86_64.hpkg
automake-1.16.5-3-x86_64.hpkg