Skip to content

Instantly share code, notes, and snippets.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active October 18, 2025 02:42
Conventional Commits Cheatsheet
@dimaskiddo
dimaskiddo / 90DNS-Injection-to-Atmosphere-0.18.x-DNS.MITM-Module.md
Created March 15, 2021 08:28
90DNS Injection in Atmosphere 0.18.x DNS.MITM Module

Follow this Guide with YOUR OWN RISK!

REQUIRED: NX-Atmosphere 0.18.x

As Atmosphere 0.18.x Releases, there is dns.mitm module implementation to extend Nintendo Switch hosts file, but first we need to activate dns.mitm module to be started by configuring system_settings.ini file in atmosphere/config. Here's the snippet section of system_settings.ini file:

...
[atmosphere]
...
...
@sts10
sts10 / rust-command-line-utilities.markdown
Last active October 18, 2025 02:40
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@gene1wood
gene1wood / how-to-find-HP-retired-product-support-page.md
Created October 19, 2024 20:25
How to find the link to HP Drivers and Support for retired products

If you go to the HP support site

https://support.hp.com/us-en/drivers/desktops

And enter the serial number of your retired HP device, it will respond with an error message saying that your product is retired and that they don't provide drivers and manuals any more.

HP policy for products no longer supported HP Support may vary by product. Once a product is retired, the official HP support content (troubleshooting articles, user guides, how-to videos, etc.) for that product is removed from the HP web site. Additional support content may still be available via the HP Forums or from third-party web sites; however, HP takes no responsibility for content authored by third-parties.

@fnky
fnky / ANSI.md
Last active October 18, 2025 02:59
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@rodrigoborgesdeoliveira
rodrigoborgesdeoliveira / ActiveYouTubeURLFormats.txt
Last active October 18, 2025 02:30 — forked from ScottCooper92/gist:ea11b690ba4b1278e049
Example of the YouTube videos URL formats
http://www.youtube.com/watch?v=-wtIMTCHWuI
http://youtube.com/watch?v=-wtIMTCHWuI
http://m.youtube.com/watch?v=-wtIMTCHWuI
https://www.youtube.com/watch?v=lalOy8Mbfdc
https://youtube.com/watch?v=lalOy8Mbfdc
https://m.youtube.com/watch?v=lalOy8Mbfdc
http://www.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://m.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git

title: "Claude Code Hooks — Input & Output Schemas" description: "Authoritative reference for the JSON input/output schemas for all Claude Code hook events, including blocking behaviors and exit codes" category: "reference" tags: ["claude-code", "hooks", "json-schema", "api", "automation", "tool-control", "permissions", "stdin", "stdout"] last_updated: "2025-01-18" difficulty: "advanced" estimated_time: "30 minutes" author: "Claude Code Team" status: "published"

@pffigueiredo
pffigueiredo / claude-code-sheet.md
Last active October 18, 2025 02:14
Claude Code Sheet Sheet

Claude Code

Plan Mode

  • Shift + tab + tab
  • Use “opus” for planning and Sonnet for everything else, /model

Multi Agent Parallel Tasks

@iam-hussain
iam-hussain / default HTTP
Last active October 18, 2025 02:10
Serve nextJS app from a port through NGINX reverse proxy HTTP and HTTPS
# Serve nextJS app from a port through NGINX reverse proxy (HTTP)
# Path: /etc/nginx/sites-available/default
# Default server configuration for HTTP
server {
server_name www.DOMAINNAME.com DOMAINNAME.com;
# Serve any static assets with NGINX
location /_next/static {
alias /home/ubuntu/PROJECT_FOLDER/.next/static;