Skip to content

Instantly share code, notes, and snippets.

View hardfalcon's full-sized avatar
😷

Pascal Ernster hardfalcon

😷
View GitHub Profile
@hardfalcon
hardfalcon / node-simd-3.2.9.patch
Created November 3, 2023 21:53
Update electron 26.4.3's node 18.16.1's simdutf from version 3.2.2 to 3.2.9 to fix AVX-related crashes
diff --git a/patches/node/.patches b/patches/node/.patches
index a1a9b463cd..1e2d21f858 100644
--- a/patches/node/.patches
+++ b/patches/node/.patches
@@ -45,3 +45,4 @@ net_fix_crash_due_to_simultaneous_close_shutdown_on_js_stream.patch
net_use_asserts_in_js_socket_stream_to_catch_races_in_future.patch
lib_fix_broadcastchannel_initialization_location.patch
win_process_avoid_assert_after_spawning_store_app_4152.patch
+simdutf-3.2.9.patch
diff --git a/patches/node/simdutf-3.2.9.patch b/patches/node/simdutf-3.2.9.patch
@hardfalcon
hardfalcon / pyqt6-elasticnodes.py
Last active July 1, 2022 11:30
PyQT6 elastic nodes example
#!/usr/bin/env python
# This file was shamelessly copied from
# https://github.com/baoboa/pyqt5/blob/master/examples/graphicsview/elasticnodes.py
# and ported to PyQt6 by Pascal Ernster
#############################################################################
##
## Copyright (C) 2013 Riverbank Computing Limited.
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
@hardfalcon
hardfalcon / build_openjdk-17-17.0.3+7-0ubuntu0~20.04.sh
Last active April 23, 2022 21:44
Build openjdk-lts 11.0.15+10 and openjdk-17 17.0.3+7 for Ubuntu 20.04, derived from existing packages openjdk-lts 11.0.14.1+1-0ubuntu1~20.04 and openjdk-17 17-17.0.2+8-0ubuntu1~20.04
#!/bin/bash
set -euo pipefail
export UBUMAIL="Pascal Ernster <pascal.ernster@localhost>"
# obtained timestamp from https://github.com/openjdk/jdk17u/releases/tag/jdk-17.0.3%2B7
export SOURCE_DATE_EPOCH=1650398209
pkgname="openjdk-17"
# openjdk-17 17.0.2+8-0ubuntu1~20.04
@hardfalcon
hardfalcon / microsoft.txt
Created February 3, 2018 07:17 — forked from CHEF-KOCH/microsoft.txt
Microsoft Products + file check
Nr. + product name + .exe/.iso/dvd + file integrety check
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 MS-DOS 6.0 (English) EN_MSDOS60.exe 2000-10-12 877B0B8E391ED07CB83214CB09E8F3B10C4B206F
2 SQL Server 2008 Enterprise (x86, x64, ia64) - DVD (Chinese-Simplified) zh-hans_sql_server_2008_enterprise_x86_x64_ia64_dvd_x14-89199.iso 2008-8-13 D23B103331AB0B3CCC82769B99CA1C2F16BEBBF4
3 Windows XP Professional with Service Pack 2- VL (Simplified Chinese) sc_win_xp_pro_with_sp2_vl.iso 2005-5-18 C0ADDD927B5D1F93DCE9C455FD6B26EAC7391BE9
4 MS-DOS 6.22 (English) EN_MSDOS622.exe 2000-10-12 D01AA47A5D85908185F8987E972AFC66DC92A735