Skip to content

Instantly share code, notes, and snippets.

@inxomnyaa
inxomnyaa / winget-upgrade-selected.ps1
Last active December 5, 2026 01:05
Upgrade Selected Apps via Winget
# Based on https://www.codewrecks.com/post/general/winget-update-selective/ (gist at https://gist.github.com/alkampfergit/2f662c07df0ca379c8e8e65e588c687b)
# Adds a grid for selecting multiple apps
# Fixes packages with truncated names
# Adds a confirmation dialogue before actually upgrading
# Updated to use newer winget commands and improved error handling
# Improved Winget Selective Upgrade Script using Microsoft.WinGet.Client PowerShell Module
# This version uses structured PowerShell objects instead of parsing text output, which is way faster
class Software {
[string]$Name
@rohan-molloy
rohan-molloy / 01-Network-Isolation-of-Services-with-Systemd.md
Last active December 5, 2026 00:12
This tutorial will look at how network namespaces can be defined in systemd service unit definitions

Network Isolation of Services with Systemd

Network namespaces are an important component of containerization in Linux. A network namespace (netns) allows a running process to see different network interfaces, routes, and firewall rules from the rest of the system. There are a number of use cases for network namespaces, such as running multiple servers, testing/staging environments and providing isolation of services.

Creating a Network Namepsace

We begin by creating a generic systemd service for creating a named network namespace. I add the following to /usr/lib/systemd/system/netns@.service. In systemd, the @ mean the service takes a parameter which is passed to the unit via %i. E.g, we can run sudo systemctl start netns@webserver.service.

@Blevene
Blevene / CVE-2026-99362_Analysis.md
Last active December 4, 2026 23:48
CVE-2026-99362: Analysis and Detection Opportunities

CVE-2026-99362: from nfsd reply-cache overflow to kernel-exec'd root shell — verified chain and production detections on stock Linux 6.12.116

This gist is self-contained: every factual claim is backed by a verbatim artifact excerpt in Appendix A or a detection rule embedded in Appendix B, and can be verified without access to our systems, files, or conversation. Scope boundary: this is a detection-engineering report. The exploit itself is not published; the chain is described to the depth needed to judge whether the detections actually cover it. All work was done in an isolated lab guest (QEMU/KVM). Terms used throughout

  • nfsd — the Linux kernel NFS server. NFSv4.1 session — state established by a client on tcp/2049; each session has slots used to cache replies.

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@yifanwang-yet
yifanwang-yet / libretv-sources.json
Last active December 4, 2026 23:27
LibreTV 点播源+直播源订阅 (2026-10-13 实测)
{
"name": "yifan 精选源列表 (2026-10-13 实测可用)",
"version": 2,
"sources": [
{ "name": "暴风资源", "url": "https://bfzyapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "非凡资源", "url": "https://cj.ffzyapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "量子资源", "url": "https://cj.lziapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "无尽资源", "url": "https://api.wujinapi.me/api.php/provide/vod", "isAdult": false },
{ "name": "优酷资源", "url": "https://api.ukuapi88.com/api.php/provide/vod", "isAdult": false },
{ "name": "光速资源", "url": "https://api.guangsuapi.com/api.php/provide/vod", "isAdult": false },
@michele-tn
michele-tn / software-engineering-iso-iec-standards-map.md
Last active December 4, 2026 23:16
Complete ISO/IEC Standards Map for Software Engineering

Complete ISO/IEC Standards Map for Software Engineering

Human-Centred Design, HCI, Usability and Accessibility

Preface

Introduction

@marco79cgn
marco79cgn / ard-mediathek.js
Last active October 1, 2023 18:28
A custom widget showing editors picks of the ARD Mediathek for scriptable.app
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: film;
// name: ard-mediathek.js
// description: A scriptable widget which displays the latest editorial picks of the ARD Mediathek
// author: Marco Dengel
// email: marco79cgn@gmail.com
let mediathekData;