Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 7, 2025 02:57
Rimworld output log published using HugsLib
Log uploaded on Friday, February 7, 2025, 10:57:15 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
World Tech Level(m00nl1ght.WorldTechLevel): LunarLoader(1.1.12), LunarFramework(1.1.12), WorldTechLevel(1.1.0)
[O21] WikiRim (Continued)(Mlie.WikiRim)[mv:1.5.0]: HelpTab(av:1.0.0,fv:1.5.0)
Achtung!(brrainz.achtung)[mv:3.9.5.0]: Achtung(3.9.5), CrossPromotion(1.1.2), ModFeatures(1.2.6)
Achtung!_zh(RWZH.ChinesePack.achtung): (no assemblies)
Camera+(brrainz.cameraplus)[mv:3.2.0.0]: CameraPlus(3.2.0), CrossPromotion(1.1.2)
Camera+_zh(RWZH.ChinesePack.cameraplus): (no assemblies)
@minhqnd
minhqnd / fap.py
Created February 7, 2025 02:56
Convert FAP FPT Calendar to ics
import json
from datetime import datetime, timedelta
def create_event(data):
"""Format each event for the iCalendar file."""
event_template = """BEGIN:VEVENT
DTSTART;TZID=Asia/Ho_Chi_Minh:{start_time}
DTEND;TZID=Asia/Ho_Chi_Minh:{end_time}
SUMMARY:{summary}
LOCATION:{location}
<div class="policy-date-container" [formGroup]="effectiveDateRowForm">
<div class="date-fields">
<mat-form-field floatLabel="always">
<mat-label>Earliest Policy Effective Date</mat-label>
<input #dateInput1
matInput
formControlName="earliestPolicyEffectiveDate"
[matDatepicker]="earliestPicker"
style="display: none">
<input matInput
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 7, 2025 02:55
pympress v1.7.2 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\pympress\pympress.nupkg" checksum="33106763815B05D4E58056BD1A7A05FD" />
<file path="C:\ProgramData\chocolatey\lib\pympress\pympress.nuspec" checksum="24AB412B32A104EF9FC57EFDA89B3C52" />
<file path="C:\ProgramData\chocolatey\lib\pympress\tools\chocolateyInstall.ps1" checksum="C96C0E781CA5DDA49E7E7F32F09709EC" />
</files>
</fileSnapshot>
@RePod
RePod / antellipark.sh
Created February 7, 2025 02:55
AntelliPark
#!/bin/bash
# For when IntelliPark exists and every other option (wdidle, APM, etc) fails.
# Allow smartctl for normal users:
# sudo visudo /etc/sudoers.d/smartcl
# RUNNING_USER ALL=(ALL:ALL) NOPASSWD:/usr/sbin/smartctl
WATCH_DEVICE="/dev/sda" # The physical device to keep awake
WATCH_MOUNT="/mnt/fivedollarwdgreen" # Mount of the device to watch for usage.
AWAKE_INTERVAL=7 # (int) Sleep between awake commands. IntelliPark defaults to 8s and I don't want to think about catching it mid-movement.
https://pastebin.com/tuz0SyJE
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 7, 2025 02:55
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Friday, February 7, 2025, 10:54:43 AM
Loaded mods:
Auto Mod Config(Garethp.ModlistConfigurator)[mv:1.0.0]: ModlistConfigurator(0.0.0)
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 7, 2025 02:53
mkcert v1.4.4 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\mkcert\mkcert.nupkg" checksum="C10E9DF7A5AB776A8FA87939234FE469" />
<file path="C:\ProgramData\chocolatey\lib\mkcert\mkcert.nuspec" checksum="F36F1A5C731C81DCEE4FA3AE3939FFBE" />
<file path="C:\ProgramData\chocolatey\lib\mkcert\legal\LICENSE.txt" checksum="FE00F5198507B76253C1A7873B3FFF38" />
<file path="C:\ProgramData\chocolatey\lib\mkcert\legal\VERIFICATION.txt" checksum="E988D272E3FCCB71AA162F1C69EB50DE" />
<file path="C:\ProgramData\chocolatey\lib\mkcert\tools\mkcert.exe" checksum="8AE03FB0741D036801ADD750B5528ACD" />
</files>
</fileSnapshot>
@0xdevalias
0xdevalias / convert-top-level-pr-comments-to-file-review-comments.md
Created February 7, 2025 02:53
Proof of concept GitHub Actions workflow that converts top-level PR comments into file-attached review comments for better thread organization.
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 7, 2025 02:52
clipto.install v7.2.17 - 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-1596741959-743918983-2523237570-1000</user>
<keys>
<key installerType="Custom" displayName="Clipto 7.2.17" displayVersion="7.2.17">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ea36ddea-0fbd-5c38-b538-96315ef4eb48</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\Programs\Clipto\Uninstall Clipto.exe" /currentuser /S]]></UninstallString>