Discover gists
All 17 core coding interview patterns. Sorted by commonality × difficulty — most frequent and easiest patterns first, rarest and hardest at the bottom. For each: how to spot it, the core idea, a clean code example, and LeetCode practice problems.
Frequency: ★★★★★ | Difficulty: Easy
- Install Xcode from the Mac App Store
- Install theos. You don't need to install the SDK
- Install theos-jailed. You don't need ios-deploy
- Get a decrypted ipa of the app you want
- Change the .ipa file extension to .zip & unzip it
| #!/bin/bash | |
| DEBIAN_FRONTEND="noninteractive" | |
| # Default values for parameters | |
| DEFAULT_PHP_VERSION=8.4 | |
| DEFAULT_NODE_VERSION=24 | |
| DEFAULT_DOMAIN="example.test" | |
| DEFAULT_USER="example" | |
| DEFAULT_MYSQL_PASSWORD=$(openssl rand -base64 10) |
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.
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.
- IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
- 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)
如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.
| #!/usr/bin/env bash -ue | |
| if [[ $# -lt 1 || $# -gt 2 ]]; then | |
| echo "Usage: git $(basename "$0" | sed 's/^git-//') <end-commit> [<start-commit>]" | |
| exit 1 | |
| fi | |
| diff_range="$1^..$1" | |
| end_commit="$1^" | |
| if [[ $# -eq 2 ]]; then |
