Skip to content

Instantly share code, notes, and snippets.

@jhol-byte
jhol-byte / Ikea_bilresa_scroll_wheel.yaml
Last active September 5, 2026 06:47
Home Assistent Blueprint "Ikea_bilresa_scroll_wheel"
blueprint:
name: Ikea_bilresa_scroll_wheel
description: |
Blueprint for Ikea Bilresa Matter (button and scroll wheel for 3 different channels)
Version: 2026-04-06
Info: https://community.home-assistant.io/t/ikea-bilresa-scroll-wheel-blueprint-matter/965365
domain: automation
# input selectors
input:
@fnky
fnky / ANSI.md
Last active September 5, 2026 06:18
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
activity.musical.ly
activity.tiktok.com
ads.tiktok.com
analytics.tiktok.com
api15-h2-eagle.tiktokv.com
api15-h2.tiktokv.com
api16-core-c-alisg.tiktokv.com
api16-core-c-useast1a.musical.ly
api16-core-c-useast2a.musical.ly
api16-core-c-useast2a.tiktokv.com

25 Redis Interview Questions (ANSWERED) For Web Developers

Redis offers a great deal of support for developing efficient caching mechanisms. It takes only a couple of minutes to implement a cache mechanism and get it working with any application. Follow along to learn 25 most common Redis Interview Questions and Answers for your next senior web developer interview.

Q1: What is Redis?

Topic: Redis
Difficulty: ⭐

Redis, which stands for Remote Dictionary Server, is a fast, open-source, in-memory key-value data store for use as a database, cache, message broker, and queue.

You can run atomic operations, like appending to a string; incrementing the value in a hash; pushing an element to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set.

@AD1993
AD1993 / RestCalls
Created January 5, 2018 09:16
BOMBitUP - OTP apis calls
import android.util.Log;
import org.json.JSONObject;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.Headers;
import okhttp3.MediaType;

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.

{%- set image_count = namespace(value=0) %}
{%- set video_count = namespace(value=0) %}
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
{%- if content is string %}
{{- content }}
{%- elif content is iterable and content is not mapping %}
{%- for item in content %}
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
{%- if is_system_content %}
{{- raise_exception('System message cannot contain images.') }}
@joyrexus
joyrexus / skill-builder-guide.md
Last active September 5, 2026 05:13 — forked from liskl/The-Complete-Guide-to-Building-Skills-for-Claude.md
Complete guide to building Skills for Claude — covers fundamentals, planning, testing, distribution, patterns, and YAML frontmatter reference (converted from Anthropic's official PDF)
@widcardw
widcardw / default.custom.yaml
Last active September 5, 2026 05:12
Rime custom config
# Rime default settings
# encoding: utf-8
patch:
# 方案列表
schema_list:
- schema: rime_ice
- schema: wubi86
- schema: japanese
@obihann
obihann / README.md
Last active September 5, 2026 04:38
C++ Fork bomb exmaple

A fork bomb is a script that uses an infinite loop in an attempt to utilize all resources and crash the system.