Skip to content

Instantly share code, notes, and snippets.

//login
//setting up parameters for login method
User_auth auth = new User_auth();
auth.setUser_name(USER_NAME);
auth.setPassword(PASSWORD);
//sending an empty name_value_list
Name_value nameValueListLogin[] = null;
//trying to login
@MelbourneDeveloper
MelbourneDeveloper / Agents.md
Created November 18, 2026 20:48
Global Agents.md
  • 1 feature branch, 1 working tree: merge all loose branches/stashes/uncommitted files into it & push. Delete branches already merged into it
  • ❌ ask user questions. Decide, act, report. Act autonomously
  • Duplication = bug. Use deslop
  • Important lints → error. Run static analysis routinely
  • 🧹 After work: delete safe system caches & unneeded build files, kill your owned processes that eat CPU or memory and check disk space
  • Refactors: violent, immediate, no back-compat. Legacy code banned → delete now
  • Minimize code; decide toward less. Delete dead code now
  • 📦 Minimize 3rd-party deps: routinely delete unused packages/crates, add none without need, consolidate overlapping deps into one, avoid those with a vulnerability history
  • Reply ≤2 sentences, emojis for emphasis. Don't stream responses
  • ✅ Tick mandatory plan checklist items as you work
@advixity
advixity / Create a MacOS installer USB (on Windows).md
Last active November 23, 2026 10:31
A (relatively) simple guide to create a Bootable MacOS installer USB on Windows

Create a Bootable MacOS installer USB on Windows

Note! Before proceeding, please make sure that you have a USB flash drive at least 8GB in size. All data will be destroyed on this drive, so please back up your files.

Try this first!

Some awesome guy has made a repo for this exact thing https://github.com/LongQT-sea/macos-iso-builder

Flash resulting DMG with Rufus

@ijd
ijd / Sublime Text 4215.md
Last active November 23, 2026 10:31
Sublime Text 4215 Crack

Patch with HexEd.it:

Replace 0F B6 51 0C 83 F2 01 with C6 41 0C 01 31 D2 90


Windows Script (run as admin):

py -c "open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb+').write(open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb').read().replace(b'\x0F\xB6\x51\x0C\x83\xF2\x01', b'\xC6\x41\x0C\x01\x31\xD2\x90'))"
@nulltask
nulltask / rcsvi.sh
Created February 23, 2012 18:01
RCS wrapper for vi written by POSIX-shell script
#!/bin/sh
#
# rcsvi
#
# @author Seiya Konno <seiya@uniba.jp>
#
target=$1

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ph33nx
ph33nx / Install-Android-USB-ADB-Fastboot-Windows-2026.md
Last active November 23, 2026 09:38
Install Android USB Driver, ADB, and Fastboot on Windows 10/11 (2026) – Step-by-step instructions to install the Android USB driver and set up ADB/Fastboot using winget on Windows 10/11. Perfect for Android development and troubleshooting.

Installation Guide for ADB/Fastboot & Android USB Driver (Windows 10/11)

Step 1. Install ADB and Fastboot Binaries via Winget

  1. Open Command Prompt or PowerShell
    • Execute the following command to install the binaries:
      winget install Google.PlatformTools
@markdrew156
markdrew156 / download-from-pan-baidu-com-outside-china-2026.md
Created November 12, 2026 02:16
How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

TL;DR: pan.baidu.com (Baidu Pan, Baidu Netdisk, 百度网盘) will not let you download anything without a logged-in Baidu account, and a Baidu account needs a mainland Chinese phone number. The working route in 2026 is a link-to-download service: paste the share link plus its extraction code on baidufast.com, check the real size and price, and receive a normal HTTPS download link. Files up to 150 MB are free; larger files start at $0.98.

Disclosure: BaiduFast is my own service. I run it, so this is a how-to written by the operator, not an independent review. Everything about Baidu itself below is public and checkable.

Key facts (November 2026)

  • pan.baidu.com is Baidu's consumer cloud storage. It is the dominant way files are shared on Chinese forums, Bilibili, Zhihu, game-mod sites and course platforms. "Baidu Pan", "Baidu
@gregsantos
gregsantos / CLAUDE.md
Created June 6, 2025 17:35
CLAUDE.md – Next.js + TypeScript + Tailwind + shadcn + React Query Guide

🛠️ Development Environment

  • Language: TypeScript (^5.0.0)
  • Framework: Next.js (App Router)
  • Styling: Tailwind CSS
  • Component Library: shadcn/ui
  • Data Fetching: React Query (TanStack)
  • Testing: Jest + React Testing Library
  • Linting: ESLint with @typescript-eslint
  • Formatting: Prettier