Skip to content

Instantly share code, notes, and snippets.

@monperrus
monperrus / claude-weekly-reset.md
Last active September 25, 2026 20:27
Claude Code: the 'weekly' usage limit resets every 72 hours, not 7 days

Claude Max: The "Weekly" Limit Resets Every 72 Hours, Not 7 Days

Background

Claude Pro/Max plans expose a usage API at https://claude.ai/api/oauth/usage that returns two utilization counters:

  • five_hour.utilization — a rolling 5-hour window (well documented)
  • seven_day.utilization — described as a "weekly" cap

The seven_day object also contains a resets_at field. Monitoring this field over ~11 days (June 9–20, 2026) revealed that the "weekly" limit does not reset every 7 days — it resets every 72 hours.

@muhiminulhasan
muhiminulhasan / README.md
Last active September 12, 2026 17:15
Fix for Windows 11 missing Taskbar Toolbands. Real-time Network Speed Meter (Up/Down) with Auto-Positioning and Light/Dark mode support.

Windows 11 Network Speed "Taskbar Band" Overlay

A lightweight, theme-aware Python utility that restores a real-time network speed monitor to the Windows 11 taskbar.

In Windows 11, Microsoft redesigned the taskbar and officially deprecated Taskbar Toolbands. This change broke popular utilities like DUmeter, leaving power users without a native way to view upload and download speeds at a glance. Existing third-party alternatives often require heavy installations, lack theme support, or fail to align with the new centered taskbar design.

This script does not modify system files or inject code into explorer.exe. Instead, it creates a high-performance PyQt6 overlay that mimics the behavior of the classic taskbar band:

YubiKey SSH Signing Key Setup

1. Generate the FIDO2 resident key on the YubiKey

ssh-keygen -t ed25519-sk -O resident -O application=ssh:<your-username>-signing -O user=<your-username> -C "<your-email>" -f "$env:USERPROFILE\.ssh\id_ed25519_sk_<your-username>-signing"

Key flags:

  • -t ed25519-sk — hardware-backed FIDO2 key

GitHub Authentication via SSH using a YubiKey

1. Generate a resident authentication key

A separate key from the signing one — same process, different application name:

ssh-keygen -t ed25519-sk -O resident -O application=ssh:<your-username>-auth -O user=<your-username> -C "<your-email>" -f "$env:USERPROFILE\.ssh\id_ed25519_sk_<your-username>-auth"
@christo-zero-john
christo-zero-john / instructions.md
Created December 20, 2025 15:04
Instructions to get your free Gemini API Key

How to Get a Gemini API Key & Set Up Billing

This guide walks you through obtaining a Gemini API key from Google AI Studio, understanding the Free vs. Paid tiers, and setting up Google Cloud billing to unlock the $300 free credit.

1. Get Your Free Gemini API Key

  1. Go to Google AI Studio: Visit aistudio.google.com.
  2. Sign In: Log in with your Google account.
  3. Get API Key:
  • Click on the "Get API key" button in the top-left corner or sidebar.
@roib20
roib20 / apt-repo-playbook.yaml
Last active August 18, 2026 12:31
Example usages of the new `deb822_repository` Ansible module
---
- hosts: localhost
connection: local
gather_facts: true
tasks:
- name: Add APT repositories
when: ansible_os_family == 'Debian'
become: true
block:
@XenoPanther
XenoPanther / Windows ReFS versions.en.md
Last active August 21, 2026 05:54 — forked from 0xbadfca11/00_README.md
Windows ReFS versions

Version number is reported by fsutil fsinfo refsinfo, available on Windows 10 and Windows Server 2016.

ReFS 1.1

  • Version of formatted by Windows Server 2012.
  • Version 1.1 is used already in Windows Server 8 Beta. I have never seen version 1.0.
  • Can use and store alternate data streams, when mount on 8.1/2012 R2 or later.

ReFS 1.2

  • Version of formatted by Windows 8.1, Windows 10 v1507 to v1607, Windows Server 2012 R2, and when specified ReFSv1 on Windows Server 2016 or later.
  • Cannot use alternate data streams, when mount on 2012.
// ==UserScript==
// @name Wikipedia Vector
// @author Vusys
// @match *://*.wikipedia.org/*
// @exclude *://*.wikipedia.org/
// @grant none
// @license MIT
// ==/UserScript==
(function() {
@cmbaughman
cmbaughman / crowdsec-commands.md
Last active March 1, 2026 15:43
Crowdsec Commands

Useful Crowdsec Commands

Update

cscli hub update && cscli hub upgrade

Restart

systemctl restart crowdsec
@hl2guide
hl2guide / Search_Everything_Cheatsheet.md
Last active August 16, 2026 07:46
Search Everything Cheatsheet

Search Everything Cheatsheet 📒

Search Everything is a fast, powerful, and effective search tool for Windows.

This cheatsheet acts as a quick start reference to get more out of Search Everything.

It compliments the official documentation.

Searching 🔍