Skip to content

Instantly share code, notes, and snippets.

@alaminfirdows
alaminfirdows / Bengali.php
Created July 9, 2019 13:02
Laravel Bangla Date, Time and Number
<?php
class Bengali
{
// Numbers
public static $bn_numbers = ["১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯", "০"];
public static $en_numbers = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
// Months
public static $en_months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
public static $en_short_months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];

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.

@lewangdev
lewangdev / default.custom.yaml
Last active December 2, 2026 01:31
雾凇拼音自定义配置,MacOS-like & Wechat-like Dark/Light Color Scheme For Rime
patch:
# 菜单
menu:
page_size: 8 # 候选词个数
# alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
# alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键
# ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
# 中西文切换
#
# 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。
@xikhar
xikhar / metroidvania-prompt.md
Created December 1, 2026 22:06
metroidvania-prompt

Build a high quality complete pixel style metroidvania game in the browser.

Platform and constraints: It should run in the browser. Graphics drawn using webgl. Gameplay engine built on top of webgl as well, no external libraries. you need to invent all the code to make and run the game great.

First part: Research. It needs to be a Metroidvania, so research on how they look like and what are the gameplay mechanisms, camera movements, world design, Techniques to build it. Webgl things to understand. study the existing games for some references. Read ENGINE section below for what more to research on that.

Second part: reference & Design. Use PIXELGAME.jpg in main-ref folder as the source of truth. Use available models on FAL MCP to generate more reference images as you need, or any video that you need. The first part of the process is to explore reference ideas and have a concrete plan of what to build, along with what it should look like. And the entire theme should be consistent across the game. generate mo

@jetfir3
jetfir3 / download_fusion.sh
Last active December 2, 2026 01:24
Download VMware Fusion Pro Without a Broadcom Account
#!/bin/bash
# Download VMware Fusion DMGs from a third-party Internet Archive collection.
# Compatible with macOS's Bash 3.2. No Homebrew, jq, or Python required.
set -euo pipefail
export LC_ALL=C
ARCHIVE_ITEM="vmwareworkstationarchive"
DOWNLOAD_DIR="${HOME}/Downloads"
VERSION=""
MODE=""
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 2, 2026 01:07
Conventional Commits Cheatsheet