Skip to content

Instantly share code, notes, and snippets.

@0xbadfca11
0xbadfca11 / 00_README.md
Last active July 23, 2024 05:27
Windows ReFS versions
@raspi
raspi / enable-all-advanced-power-settings.ps1
Last active June 5, 2024 22:23
Enable all advanced power settings in Windows.
# List all possible power config GUIDs in Windows
# Run: this-script.ps1 | Out-File powercfg.ps1
# Then edit and run powercfg.ps1
# (c) Pekka "raspi" Järvinen 2017
$powerSettingTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSetting
$powerSettingInSubgroubTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingInSubgroup
Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingCapabilities | ForEach-Object {
$tmp = $_.ManagedElement
@thedroidgeek
thedroidgeek / nokia-router-cfg-tool.py
Last active July 24, 2024 18:45
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration
@supershadoe
supershadoe / MY-UBLOCK-FILTERS.md
Last active July 27, 2024 02:06
Some uBlock₀ filters

Many of these filters are usually cosmetic instead of for blocking/skipping ads or something (Although some are used for that purpose like yt-filter)

To import a filter into Some uB₀, type the link https://gist.github.com/supershadoe/aed9db4c220b9150d2361a369f7be2f2/raw/{the filter to import, e.g., spotify; without the braces obviously}-ublock-filter.txt into uB₀ settings -> Filter lists -> Custom -> Import

Links to copy for filters (this may not be up to date)

Website Link
Spotify Spotify
@slimlime
slimlime / uupdump ConvertConfig.ini explained.md
Created October 8, 2022 22:45
uupdump ConvertConfig.ini explained (convert-UUP, AutoStart, AddUpdates, Cleanup, ResetBase, NetFx3, StartVirtual, wim2esd, wim2swm, SkipISO, SkipWinRE, LCUwinre, UpdtBootFiles, ForceDism, RefESD, SkipEdge, AutoExit, Store_Apps, SkipApps, AppsLevel, CustomList, create_virtual_editions, vAutoStart, vDeleteSource, vPreserve, vwim2esd, vwim2swm, vS…

note: some of the information is posted in comments,
if you'll fork this gist, you'll loose that information,
it is best to just bookmark this one..

WIM

WIM (ESD,SWM) is an image of an OS file system,
it can be mounted, and modified (to some degree) .
there are two possible ways, through DISM or through mounting it directly through an older way, using a driver named imagex (Windows Imaging Utility).
regardless,

terminology