Skip to content

Instantly share code, notes, and snippets.

View Fuwn's full-sized avatar
✒️
亀の甲より年の功

Fuwn Fuwn

✒️
亀の甲より年の功
View GitHub Profile
@Fuwn
Fuwn / README.md
Last active December 8, 2024 19:51
Windows XP All Editions Universal Product Keys Collection.

Windows XP Logo

Although Microsoft does not support Windows XP updates any more, I'm sure there are still many users using it due to their personal habits or job demands. Therefore, XP's product keys may be necessary even now. Here lies the most comprehensive list of Windows XP product keys.

The following CD keys are official and original from Microsoft, mainly used for Windows XP Professional Service Pack 2/3 VOL/VLK system images, which are the easiest ones to find on the Internet.

@Fuwn
Fuwn / Animated-Favicon.js
Last active December 5, 2024 08:25
A simple way to use a .gif as a favicon.
// Before attempting, use https://gifmaker.me/exploder/ to cut .gif into each frame.
var favicon_images = [
'http://website.com/img/tmp-0.gif',
'http://website.com/img/tmp-1.gif',
'http://website.com/img/tmp-2.gif',
'http://website.com/img/tmp-3.gif',
'http://website.com/img/tmp-4.gif',
'http://website.com/img/tmp-5.gif',
'http://website.com/img/tmp-6.gif'
@Fuwn
Fuwn / force-install-steam.bat
Last active May 30, 2024 17:27
A simple Batch script to force install Steam without administrator permissions on Windows
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "SteamSetup.exe"
@Fuwn
Fuwn / rustfmt.toml
Created May 5, 2023 05:16
My current `rustfmt.toml`
edition = "2021"
enum_discrim_align_threshold = 40
error_on_line_overflow = true
error_on_unformatted = true
fn_single_line = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
inline_attribute_width = 80
match_arm_blocks = false
@Fuwn
Fuwn / List-External-Services.ps1
Last active December 18, 2022 22:48
A PowerShell script to list external services that have been installed separately from the base Windows experience. I.e., user-installed services.
foreach ($service in Get-Service | ForEach-Object { $_.Name }) {
$path = Get-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\$service | ForEach-Object { $_.ImagePath }
# Change this as you see fit, but it should catch most externally installed services.
if ($path -like "*C:\Windows*") {
continue
}
"{0}: {1}" -f $service, $path | Write-Output
}
@Fuwn
Fuwn / Memory.h
Last active September 26, 2022 20:07
CSGO Memory Addressing
#pragma once
#include <Windows.h>
#include <TlHelp32.h>
#include <iostream>
class MemoryManager {
private:
DWORD dwPID; // CS:GO process ID
User-agent: *
Disallow: /x
Disallow: /proxy
User-agent: DataForSeoBot
Disallow: /x
Disallow: /proxy
@Fuwn
Fuwn / image-to-bmp3.sh
Created January 14, 2022 06:54
Image to BMP3 Converter for Worlds
# Check if a filename was supplied
if ! test -n "${1}";
then
echo "bmp-to-bmp3.sh <file.bmp>"
exit 1
fi
# Check if ImageMagick is installed
if ! command -v mogrify &> /dev/null;
then
@Fuwn
Fuwn / counter-incrament-boldening.scss
Last active June 22, 2021 21:29
Counter Increment Boldening
/* Counter Increment Boldening */
ol {
margin: 0 0 1.5em;
padding: 0;
counter-reset: item;
}
ol>li {
margin: 0;
padding: 0 0 0 2em;
@Fuwn
Fuwn / CS2Blender.md
Last active June 22, 2021 21:29
A semi-easy way to import Counter-Strike models into Blender
  1. Navigate to the game folder, then use GCFScape to open the .vpk files and extract the model(s).
  2. Use Crowbar to decompile the .mdl models into .smd model(s).
  3. Use VTFEdit to decompile the .vtf textures for the model(s) into .png textures.
  4. Use the addon Blender Source Tools to import .smd model(s) into Blender.