Skip to content

Instantly share code, notes, and snippets.

@asheroto
asheroto / README.md
Last active November 6, 2026 07:14
UniFi OS Server on Debian Linux

UniFi OS Server on Debian (Podman)

Deploys UniFi OS Server in a Podman container on Debian.


Requirements

  • Debian 12 or 13
  • Root access
@travisvalentine
travisvalentine / steps.md
Last active November 6, 2026 07:06
Setup Facebook app to test authentication locally (aka, setting up App Domain)

Note: I had issues with setting up my Facebook app so authentication would work. I'd receive the error at the bottom, and it took me a while to figure out what was wrong

Here are the steps I took:

  • Go to http://developers.facebook.com/, create, and setup your app
  • When inside the dashboard, click "Settings"
  • Click "Add Platform"
  • Choose website (for authentication via the web app)
  • Add http://localhost:3000/ as "Site URL" (and "Mobile URL" if necessary)
  • Add localhost to "App Domains" above

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.

@std-microblock
std-microblock / main.md
Last active November 6, 2026 07:05
关于"小米反诈监控"传闻的技术核验

结论

传闻中"系统内置反诈数据库、记录截屏时间与通话、屏幕共享行为"这部分属实;"域名用途"部分与实际不符;"GuardProvider 静默录屏"在部分机型上属实;"关掉开关仍在运行""卸载 GuardProvider 无效"属实;"669 次连续读写""每台手机都在录"不成立。


一、功能名称与开关位置

传闻描述的行为属于手机管家中的"电诈防护",不是独立的后台程序。

@hanminghui
hanminghui / chmod.sh
Last active November 6, 2026 07:03
[Linux Commands] some linux commands #linux
# chmod [OPTION] [MODE] [FILE]
# mode: '[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+'
# [ugoa] user, group, others(not in group), all
# [-+=] remove, add,
# [rwxXst] read, write, execute,
chmod u+x filename
@elado
elado / Amex - Add all offers to card.md
Last active November 6, 2026 06:57
American Express / Amex - Add all offers to card at once (bookmarklet)

American Express - Add all offers to card at once

If you own an AMEX card, you can add a bunch of offers to the card in this link: https://global.americanexpress.com/offers/eligible

There are many offers, and they change all the time. Instead of clicking "Add to card" repeatedly, I created this bookmarklet.

In Chrome, add a new bookmark (right click on bookmarks bar -> "Add Page...") with the following URL:

@eonist
eonist / hig.md
Created April 28, 2025 13:28
Apple Human Interface Guidelines (HIG)

Apple Human Interface Guidelines (HIG)

Overview of Apple Human Interface Guidelines (HIG)

Apple's Human Interface Guidelines (HIG) are a comprehensive set of design principles and best practices aimed at helping designers and developers create exceptional user experiences across all Apple platforms, including iOS, macOS, watchOS, and tvOS[1][2][3]. The HIG is a living document, regularly updated to reflect new technologies and platform conventions, and serves as a foundational resource for anyone building apps or games for Apple devices[2][4].

Core Principles

The HIG is built on several core principles that guide the design of user interfaces:

@dori4n
dori4n / Office 2021 ISO Links at Microsoft.md
Last active November 6, 2026 06:47
Office 2021 ISO Download Links at Microsoft
@minimaxir
minimaxir / AGENTS.md
Last active November 6, 2026 06:47
Python AGENTS.md (2026-02-23)

Agent Guidelines for Python Code Quality

This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes: