Skip to content

Instantly share code, notes, and snippets.

@iAnonymous3000
iAnonymous3000 / bitwarden_hardening_guide.md
Created February 20, 2025 05:28
A comprehensive hardening guide for Bitwarden password manager, covering encryption best practices, 2FA with hardware keys, self-hosting considerations, and offline backup strategies. Includes practical configuration steps and security-focused workflows.

How to Secure Your Bitwarden Account: A Comprehensive Guide

A breach in your password manager could be catastrophic, so securing it is non-negotiable. This guide covers the essentials and some pro-level tricks to make your account a fortress. Let’s dive in!

1. Use a Strong, Unique Master Password

Your master password is the linchpin of your Bitwarden security. If it falls, everything does—so let's make it unbreakable.

What Makes a Password Strong?

  • Length: Aim for 20+ characters. The longer, the better—each character ramps up the cracking difficulty.
  • Complexity: Blend uppercase, lowercase, numbers, and special characters (e.g., @, #, &).
@roachhd
roachhd / README.md
Last active March 31, 2026 18:48
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@CaseSens
CaseSens / KDE_Capslock.md
Created June 5, 2025 16:38
Fedora KDE: FIX CAps LOck DElay

How to Fix/Remove the Caps Lock Delay on Fedora KDE (Wayland)

If you're like me and use Caps Lock for capitalization, this default delay will drive you mad. I couldn't find any Fedora KDE specific fixes, so I'm writing this in hopes to help others who experienced the same issue.

note: Github repos aimed to fix this for broad distros didn't seem to work for me, so this will be a manual guide.

Navigate to your shared user folder

First, back up your capslock file:

Easy Telemetry Disable for 10/11

Prerequisites

  1. Upgrade to Enterprise edition of Windows 10/11 if you are running Home or Pro.
    • You can do this through the Change Edition option in the Extras menu in MAS.

Disabling Telemetry via Group Policy

  1. Open the Group Policy Editor. Search for "Edit Group Policy" in search or run gpedit.msc.
@sunmeat
sunmeat / different files.cs
Last active March 31, 2026 18:45
використання м'ютекса на рівні 2 процесів
перший проєкт:
using System.Text;
class WriterA
{
static void Main()
{
Console.OutputEncoding = Encoding.UTF8;
string mutexName = "{D1B62E3A-6C72-4F47-91B5-9C5F5DBA7E89}"; // в VS: средства > создать GUID
@alces
alces / ansible_local_playbooks.md
Last active March 31, 2026 18:44
How to run an Ansible playbook locally
  • using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml
  • using inventory:
127.0.0.1 ansible_connection=local
@razamit
razamit / statusline-command.py
Last active March 31, 2026 18:44
Claude Code custom status line
#!/usr/bin/env python3
import json, sys, subprocess, os, time
# Force UTF-8 output on Windows
sys.stdout.reconfigure(encoding='utf-8', errors='replace')
data = json.load(sys.stdin)
model = data.get('model', {}).get('display_name') or data.get('model', {}).get('id', 'Unknown')
cwd = data.get('workspace', {}).get('current_dir') or data.get('cwd') or os.getcwd()

Building Claude Code from Source

Step-by-step guide for building the Claude Code CLI from the alesha-pro/claude-code repository — leaked Anthropic Claude Code source code.

Requirements

  • Linux (Ubuntu 22.04+) or macOS
  • 4GB RAM, 4 CPU cores, 30GB disk
  • Bun >= 1.3
  • Git
@sorrycc
sorrycc / extract-sourcemap.mjs
Created March 31, 2026 08:57
Extract original source code from JavaScript .map (source map) files. Reads sourcesContent, skips node_modules, reconstructs the original file tree.
#!/usr/bin/env node
/**
* Extract original source code from a JavaScript source map file.
*
* Usage:
* node extract-sourcemap.mjs <path-to-.map-file> [output-dir]
*
* Example:
* node extract-sourcemap.mjs cli.js.map ./src-extracted
@steipete
steipete / agent.md
Created October 14, 2025 14:41
Agent rules for git
  • Delete unused or obsolete files when your changes make them irrelevant (refactors, feature removals, etc.), and revert files only when the change is yours or explicitly requested. If a git operation leaves you unsure about other agents' in-flight work, stop and coordinate instead of deleting.
  • Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user. Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.
  • NEVER edit .env or any environment variable files—only the user may change them.
  • Coordinate with other agents before removing their in-progress edits—don't revert or delete work you didn't author unless everyone agrees.
  • Moving/renaming and restoring files is allowed.
  • ABSOLUTELY NEVER run destructive git operations (e.g., git reset --hard, rm, git checkout/git restore to an older commit) unless the user gives an explicit, written instruction in this conversation. Treat t