Skip to content

Instantly share code, notes, and snippets.

$items = Get-ItemProperty -Path 'Registry::HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\*'
Foreach ($item in $items) {
$objUser = New-Object System.Security.Principal.SecurityIdentifier($item.PSChildName)
$objName = $objUser.Translate([System.Security.Principal.NTAccount])
$item.PSChildName = $objName.value
}
Write-Output $items | Select-Object -Property PSChildName, ProfileImagePath
@dannydark78131-jpg
dannydark78131-jpg / enable-all-advanced-power-settings.ps1
Created November 29, 2026 02:19 — forked from raspi/enable-all-advanced-power-settings.ps1
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
@Haruka-Kaya
Haruka-Kaya / report-writing-guide.md
Created November 28, 2026 17:38
Evidence-led vulnerability reporting guide for private reports, GHSA, CVE, and public advisories

Vulnerability Reporting Guide

For private reports, GitHub Security Advisories (GHSA), CVE coordination, and public advisories. Reviewed 2026-11-29. The recipient's current security policy and form take precedence.

The private recipient should be able to answer: What is affected? How can I reproduce it? What security effect was observed? The public reader should be able to decide whether and how to update or mitigate. CERT/CC asks for actionable detail, HackerOne recommends a concise but complete report, and Project Zero names reproducibility, readability, reachability, and demonstrated security impact as quality standards. [CERT/CC][HackerOne quality][Project Zero]

There is no evidence here that one Markdown template increases acceptance or bounty size across programs. “Preferred format” below means fields and presentation that recipients themselves request or recommend.

1. Choose the document and channel

@n-ce
n-ce / YTM_Clients_FOSS_Android.md
Last active November 29, 2026 01:58
YouTube Music clients on Android
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 29, 2026 01:59
Conventional Commits Cheatsheet
@naim149
naim149 / GH-600-public-study-guide.md
Created May 24, 2026 15:08
GH-600 Public Study Guide

GH-600 Public Study Guide

Markdown-only workbook for Exam GH-600: Developing in Agentic AI Systems.

Last updated: May 24, 2026.

This version is organized around the official GH-600 domains. Each domain explains the concepts, shows the GitHub implementation artifacts, and includes examples you should be able to read in YAML, Markdown, CLI output, PR timelines, and audit logs.

Public sharing note: this guide is not an exam dump and does not contain real exam questions or answer choices. It is a structured study workbook built from official Microsoft and GitHub documentation, with practical examples written for learning and review.

@zouppen
zouppen / README.md
Last active November 29, 2026 01:46
Block incoming traffic from Tor exit nodes on Linux + ipset

Block Tor exit nodes with Linux and ipset

This gist blocks incoming traffic from Tor exit nodes. You can also use it to MARK or redirect the incoming traffic, depending of your needs.

This guide is for IPv4 only, feel free to contribute IPv6 support if you have it.

Installing

@nanoDBA
nanoDBA / Download_and_install_Solarwinds_SentryOne_Plan_Explorer.ps1
Created November 20, 2021 14:02
Download and install Solarwinds SentryOne Plan Explorer
<# download and install Solarwinds SentryOne Plan Explorer #>
$filenamePlanExplorerInstall = "$env:USERPROFILE\downloads\" + ([string](Get-Date -format "yyyy-MM-dd")) + "_SolarWinds-PlanExplorer.exe"
Start-BitsTransfer -Source 'https://downloads.solarwinds.com/solarwinds/Release/FreeTool/SolarWinds-PlanExplorer.exe' -Destination $filenamePlanExplorerInstall
& $filenamePlanExplorerInstall /install /passive /norestart
@Issykul
Issykul / Office 2016 ISO Links at Microsoft.md
Created July 31, 2022 20:43
Office 2016 ISO Links at Microsoft