Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created December 15, 2025 10:11
Rimworld output log published using HugsLib
Log uploaded on Monday, December 15, 2025, 6:10:59 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
Food Texture Variety Core(Goat.Food.Texture.Variety.Core): FoodTextureVariety(1.0.0)
@webtoffee-git
webtoffee-git / functions.php
Created December 15, 2025 10:10
Code snippet to automatically add prefix to product IDs - By WebToffee( Product feed for WooCommerce Basic)
<?php // Do not copy this line of code
/**
* Prefix product ID in feed output.
*
* @param string|int $product_id Product ID being processed.
* @param WC_Product $product Product object.
*
* @return string|int Modified product ID.
*/
function wbtfe_product_feed_alter_product_id( $product_id, $product ) {
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created December 15, 2025 10:10
nscp v0.10.9 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1310950506-3162192048-3929828176-1000</user>
<keys>
<key installerType="Msi" displayName="NSClient++ (x64)" displayVersion="0.10.9.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{252B5618-C050-4A5E-8073-ECF84CCE6F21}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{252B5618-C050-4A5E-8073-ECF84CCE6F21}]]></UninstallString>
@bedroge
bedroge / easybuild_test_report_24783_easybuilders_preasybuild-easyconfigs_20250915-UTC-10-09-39.md
Created December 15, 2025 10:09
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #24783

Test report for PR(s) easybuilders/easybuild-easyconfigs#24783

Test result

Build succeeded for 5 out of 5 (5 easyconfigs in total)

Overview of tested easyconfigs (in order)

  • SUCCESS ant-1.10.15-Java-21.eb
  • SUCCESS Gradle-8.14.3-Java-21.eb
  • SUCCESS OpenSlide-4.0.0-GCCcore-14.2.0.eb
  • SUCCESS OpenSlide-Java-0.12.4-GCCcore-14.2.0-Java-21.eb
@Morveus
Morveus / gist:298b04dfb93ebd34fbd842bc17cccceb
Created December 15, 2025 10:08
zwavejs - setting "enabled" to all Fibaro Walli switches' scene settings
// --- CONFIGURATION ---
// IDs of our switches (ex: 4, 15, 22)
const targetNodeIds = [7,8,9,10,11];
// We need to set both parameters 40 and 41 (detecing presses)
const params = [40, 41];
// Bitmasks to enable (1, 2, 4, 8 = 1x press, 2x presses, 3x presses, hold and release)
const bitmasks = [1, 2, 4, 8];
const newValue = 1; // 1 = Enable
#!/bin/bash
set -e
ORG="${ORG:-org}"
NPMRC="${HOME}/.npmrc"
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
@Thyre
Thyre / easybuild_test_report_24783_easybuilders_preasybuild-easyconfigs_20250715-UTC-10-07-40.md
Created December 15, 2025 10:07
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #24783

Test report for PR(s) easybuilders/easybuild-easyconfigs#24783

Test result

Build succeeded for 5 out of 5 (total: 4 mins 58 secs) (5 easyconfigs in total)

Overview of tested easyconfigs (in order)

  • SUCCESS ant-1.10.15-Java-21.eb

  • SUCCESS Gradle-8.14.3-Java-21.eb

@dragontheory
dragontheory / d7460n-template-themes.markdown
Created December 15, 2025 10:07
D7460N Template Themes
@alexdolbun
alexdolbun / RT @Xianbao_QIAN China’s depth of STEM talent is the ultimate refutation of the concentration of power. After Xiaomi, RedNote, Meituan…
Created December 15, 2025 10:06
RT @Xianbao_QIAN: China’s depth of STEM talent is the ultimate refutation of the "concentration of power." After Xiaomi, RedNote, Meituan… (via Twitter https://twitter.com/alexdolbun/status/2000507393848037857)
RT @Xianbao_QIAN: China’s depth of STEM talent is the ultimate refutation of the "concentration of power."
After Xiaomi, RedNote, Meituan…
— @alexdolbun (@alexdolbun)
Dec 15, 2025
December 15, 2025 at 12:05AM
=== app/models/user.py ===
from sqlalchemy import Boolean, Column, Integer, String
from sqlalchemy.orm import relationship
from app.database import Base
class User(Base):
__tablename__ = "users"
id = Column(Integer, primary_key=True, index=True)
username = Column(String, unique=True, index=True, nullable=False)