Skip to content

Instantly share code, notes, and snippets.

Here's how you can download older versions of files in a game from Steam using SteamDB to navigate the game's patch history. The example here is reverting Skyrim SE's 1.6.640 patch so we're back to the 1.5.97 version of SkyrimSE.exe.

You can find all of the available depots for a given game by looking up its appid as follows: https://steamdb.info/app/489830/depots/ - 489830 here is the appid for Skyrim SE.

First, you have to find what changed, so click the History button down the left side: https://steamdb.info/app/489830/history/

That shows the last change - Changelist #16107407 at the time of writing - as happening for depot https://steamdb.info/depot/489833/ which is Skyrim Special Edition exe and contains just SkyrimSE.exe.

If you click the History button on the left, you can see all the changes released for that depot: https://steamdb.info/depot/489833/history/

This is WIP, may contain incomplete info.

Dualboot 13.2 InternalUI

You need to find 13.2_17B45a_InternalUI_D331pAP_DVT, sha256sum ffdc84e560e14cad79916aaa9f143b225348ebca47e8fdd096a7cd47bdd0983d on the internet. I can't include the link here.

Copy IMG4 files from /usr/standalone/firmware/* to your working dir.

Setup

Make 2 volumes from ramdisk, I have my System and Data as disk0s1s11 and disk0s1s12, mounted to /mnt1 and /mnt2 respectively.

@popstas
popstas / docker-logs-localtime
Last active July 6, 2026 16:58
docker-logs-localtime - Replace all UTC dates in docker logs output to local dates in pipe
#!/usr/bin/env node
// replace all UTC dates to local dates in pipe
// usage: docker logs -t container_name | docker-logs-localtime
// install:
// curl https://gist.githubusercontent.com/popstas/ffcf282492fd78389d1df2ab7f31052a/raw/505cdf97c6a1edbb10c3b2b64e1836e0627b87a0/docker-logs-localtime > /usr/local/bin/docker-logs-localtime && chmod +x /usr/local/bin/docker-logs-localtime
// alternative: https://github.com/HuangYingNing/docker-logs-localtime
const pad = d => (d > 9 ? d : '0' + d);
@Grissez
Grissez / LICENSE
Created July 6, 2026 16:55
Code Summarizer
MIT License
Copyright (c) 2026 Grissez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@Aldaviva
Aldaviva / wmp_h.265_hevc.md
Last active July 6, 2026 16:57
Play H.265/HEVC videos in Windows Media Player (Classic) without a third-party codec pack or media player. Tested using Microsoft.HEVCVideoExtension_2.0.60091.0_x64__8wekyb3d8bbwe with WMP 12.0.20348.1311 on Windows Server 2022 21H2 and 12.0.22621.1105 on Windows 11 22H2.

Download

  1. Go to https://store.rg-adguard.net.
  2. Search for the HEVC Video Extensions from Device Manufacturer (Microsoft.HEVCVideoExtension) app by entering the following store URL into the search box and then clicking the button.
    https://www.microsoft.com/en-us/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq
    
    • Do not use the normal HEVC Video Extensions app URL, because that can't play HEVC videos in Windows Media Player for some inscrutable reason.
  3. Download the AppxBundle file for the version you want.
    • You may have to right click › Save Link As because the URL scheme is http, not https, if your browser is set to enforce HTTPS-only mode.
  • If it tries to save as a filename that's just a GUID, you may copy the correct .AppxBundle filename and save it as that instead.
@karpathy
karpathy / min-char-rnn.py
Last active July 6, 2026 16:57
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@Maksim-us
Maksim-us / JSONtoXMP.ps1
Last active July 6, 2026 16:50
A PowerShell script to convert JSON files generated by Google Photos Takeout to XMP sidecar files to be used in Immich (with external libraries)
<#
.DESCRIPTION
Converts Google Photos Takeout JSON files to XMP sidecar files for Immich
- Prompts for a folder containing photos & JSON via a FolderBrowserDialog
- Logs errors/exceptions to JSONroXMP.log (in the same directory as this script)
- Prompts once to overwrite or skip existing XMP files
- Replaces placeholders in the XMP template with actual values from the JSON
.NOTES
Author: Maksim-us
@baryluk
baryluk / mesa-build.py
Last active July 6, 2026 16:58
Build Mesa from git and libdrm git for Debian. amdgpu build 64-bit and 32-bit for Debian stable, testing and unstable, and possibly Ubuntu, Mint, PopOS, etc. No root required. (well sudo to install some build dependencies required tho). Currently a bit borked on Debian stable (requires newer meson).
#!/usr/bin/env python3
# A simple script to build 64-bit and 32-bit Mesa and libdrm on amd64 Debian
# stable, Debian testing, Debian unstable, and possibly some Ubuntu versions
# with some tweaks.
#
# libdrm is build too, because often version right now in Debian sid and experimental
# is too old for current mesa git repo. Also it is nice to build debug
# versions of libdrm when troubleshooting some crashes and bugs.
#