Skip to content

Instantly share code, notes, and snippets.

View woodenphone's full-sized avatar

woodenphone

  • Zero-Trust Security LLC
  • Australia
View GitHub Profile
@paltaio-admin
paltaio-admin / Samsung_MDC_Commands_Reference.md
Created June 5, 2025 15:29
Samsung MDC Protocol Commands Reference

Samsung MDC Commands Reference

Protocol Overview

Samsung MDC (Multiple Display Control) protocol uses the following packet structure:

[Header] [Command] [ID] [Data Length] [Data...] [Checksum]
@2art
2art / New-Shortcut.ps1
Created March 13, 2025 08:37
New-Shortcut (PowerShell Function for Creating Shortcuts on Windows)
##
## This is the initial working state version. It may be updated in the future; Check the
## repository at: https://github.com/2art/PowerShellFunction_New-Shortcut
##
function New-Shortcut() {
<#
.SYNOPSIS
Creates a new shortcut pointing to the specified file or directory, with
@dbilanoski
dbilanoski / windows11-ms-settings-uri-commands.csv
Last active May 12, 2026 06:14
Complete List Of Windows 11 MS-Settings URI Commands
Category Settings Page URI Command
Accounts Access work or school ms-settings:workplace
Accounts Email & app accounts ms-settings:emailandaccounts
Accounts Family & other people ms-settings:otherusers
Accounts Set up a kiosk ms-settings:assignedaccess
Accounts Sign-in options ms-settings:signinoptions
Accounts Sync your settings ms-settings:sync
Accounts Windows Hello setup ms-settings:signinoptions-launchfaceenrollment
Accounts Your info ms-settings:yourinfo
Apps Apps & Features ms-settings:appsfeatures
@dbilanoski
dbilanoski / windows11-shell-folders-by-clsid.csv
Last active May 4, 2026 17:17
Complete List Of Windows 11 Shell Folders By CLSID GUIDs
Name Shell Command Shortcut
%UserProfile% explorer "shell:::{59031a47-3f72-44a7-89c5-5595fe6b30ee}"
%UserProfile%\Desktop explorer "shell:::{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"
%UserProfile%\Documents explorer "shell:::{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}"
%UserProfile%\Downloads explorer "shell:::{088e3905-0323-4b02-9826-5d99428e115f}"
%UserProfile%\Pictures explorer "shell:::{24ad3ad4-a569-4530-98e1-ab02f9417aa8}"
Add Network Location explorer "shell:::{D4480A50-BA28-11d1-8E75-00C04FA31A86}"
Additional Information explorer "shell:::{C58C4893-3BE0-4B45-ABB5-A63E4B8C8651}\resultPage"
Advanced Problem Reporting Settings explorer "shell:::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}\pageAdvSettings"
Advanced sharing settings explorer "shell:::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}\Advanced"
@dbilanoski
dbilanoski / windows11-shell-folders-by-name.csv
Last active May 4, 2026 16:50
Complete List Of Windows 11 Shell Folders By Name
Name Shell Command Shortcut
3D Objects explorer "shell:3D Objects"
AccountPictures explorer "shell:AccountPictures"
AddNewProgramsFolder explorer "shell:AddNewProgramsFolder"
Administrative Tools explorer "shell:Administrative Tools"
AppData explorer "shell:AppData"
AppDataDesktop explorer "shell:AppDataDesktop"
AppDataDocuments explorer "shell:AppDataDocuments"
AppDataFavorites explorer "shell:AppDataFavorites"
AppDataProgramData explorer "shell:AppDataProgramData"
@MohitDabas
MohitDabas / windows-apis-via-powershell.md
Last active December 29, 2025 07:09
Calling Windows APIs via Powershell with Example code

Call WinAPI functions in PowerShell using delegate functions with Add-Type and Reflection types

Simplest Method

$code = @"
using System;
using System.Runtime.InteropServices;

public class User32Interop {
/*
* Broadcom/Avago/LSI HBA/RAID cards are made to be used in servers where there's plenty of airflow (minimum of 200 linear feet per minute (LFM)).
* These conditions are not always attainable in Desktop PCs without generating a considerable amount of noise.
* In this scenario, there's a need of constantly monitoring the IOC core temperature to dynamically regulate fan speed.
*
* Unfortunately, those idiotic devs at Broadcom couldn't be bothered to add this feature to "sas3ircu" so a DIY approach had to be followed.
*
* The IOC has internal sensors that measure the temperature of each core.
*
* This very simple PoC displays the IOC core temperature (MAX(Sensor[0->N-1])) for Broadcom/Avago/LSI HBA cards. No kernel mods required.
@PackeTsar
PackeTsar / byobu-ssh-cheatsheet.md
Last active March 25, 2026 08:30
Byobu (over SSH) Cheat Sheet

Byobu (over SSH) Cheat Sheet

I often find myself using Byobu on a Linux machine when connected to it over SSH. In doing so, I've noticed that many of the documented keyboard shortcuts don't work. This can be due to the native PC's OS intercepting certain keys, or possibly other reasons.

Below is a cheatsheet with Byobu features I have found usually work when run over a SSH connection.

Action Windows + Putty to Ubuntu MacOS + Terminal to Ubuntu
Help menu BASH: byobu-config FN-F1
Create new window CTRL-a c CTRL-a c or FN-F2
@nnuudev
nnuudev / Desuarchive flags.user.js
Created September 13, 2021 18:48
Add flags to the posts when viewing an archived thread on Desuarchive
// ==UserScript==
// @name Load /mlp/ flags on Desuarchive
// @namespace https://desuarchive.org/mlp/thread/
// @description Add flags to the posts when viewing an archived thread on Desuarchive
// @version 1.0
// @author Anonymous
// @icon https://s.4cdn.org/image/flags/mlp/anf.gif
// @match https://desuarchive.org/mlp/thread/*
// @run-at document-end
// @grant GM_addStyle