Skip to content

Instantly share code, notes, and snippets.

@ajeetkumarrauniyar
ajeetkumarrauniyar / Array CheatSheet.md
Last active November 12, 2026 09:45
Cheat sheet of Array methods in JavaScript

Array Methods Cheat Sheet

1. push()

  • Definition: Adds one or more elements to the end of an array and returns the new length of the array.
  • Syntax: array.push(element1[, ...[, elementN]])
  • Example:
    let arr = [1, 2, 3];
    arr.push(4, 5);

console.log(arr); // Output: [1, 2, 3, 4, 5]

@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active November 12, 2026 09:35
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@vovapi
vovapi / mg1300-region.sh
Last active November 12, 2026 09:26
GL.iNet GL-MG1300 (Mango 2) factory region editor. See https://vovapi.ru/en/notes/gl-mg1300-cn-region/
#!/bin/sh
# GL.iNet GL-MG1300 (Mango 2) factory country-code editor.
# Verified layout: firmware 4.10.1, factory = 64 KiB, country offset = 0x4088.
# Other firmware is accepted only if its device tree confirms the same layout.
#
# Usage:
# sh mg1300-region.sh # show current running region
# sh mg1300-region.sh --list # show potential country codes
# sh mg1300-region.sh DE # inspect / dry run
# sh mg1300-region.sh DE --write # back up, write, verify
@zhuziyi1989
zhuziyi1989 / URL Schemes.md
Last active November 12, 2026 09:21
iOS 系统上常用的 URL Schemes 收集

RackNerd Billboard Banner

** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)

关于 URL Scheme 你知道多少?

iOS 系统中

由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。

@vineyrawat
vineyrawat / cheatsheet.md
Last active November 12, 2026 09:02
Postgres Database Cheat Sheet

PostgreSQL Commands Cheat Sheet

Connecting to PostgreSQL

# Connect to a database
psql -U <username> -d <database_name>

# Connect to PostgreSQL server
psql -h <host> -p <port> -U <username>
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 12, 2026 08:59
Conventional Commits Cheatsheet

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.

@ashu17706
ashu17706 / logitech-complete-uninstall.md
Last active November 12, 2026 08:43
Complete guide to uninstalling Logitech Options+ from macOS — what it secretly installs, how to find it, and how to nuke every trace

The maintained version of this guide now lives at zero8.dev/blog/completely-uninstall-logitech-options-plus-macos — same cleanup, with fixes (this gist originally had a ~-inside-quotes bug on the SentryCrash line, corrected below) and kept up to date as Logitech moves paths around.

Logitech Options+ on macOS: What It Installs, Why It's Excessive, and How to Completely Remove It

The Problem

Logitech Options+ (and its predecessor Logitech Options) installs far more than a mouse/keyboard driver. For what should be a simple button remapping tool, it drops files across 6+ system directories, installs background daemons, phones home via crash reporting (Sentry), and even bundles an AI Prompt Builder — none of which you asked for.

Here's what's actually running on your Mac after a "simple" Logitech Options+ install:

@bttrem
bttrem / ses_g-tag_6.md
Last active November 12, 2026 08:36
Reverse engineering SES-imagotag G-Tag 6

Reverse engineering SES-imagotag G-Tag 6

После того как этот электронный ценник приобрёл известность в DIY-сообществе, опубликую некоторые свои наработки по G-Tag 6.

Куча бесполезных электронных ценников G-Tag 6 — YouTube автор shojkeee

Telegram-группа по SES-imagotag G-Tag 6: https://t.me/g_tag6 владелец ReallSeriously

Update: Коментариев уже больше сотни, часть по умолчанию скрыта под "Load earlier comments...", подгружайте если нужно. И пожалуйста, большие фотки и т.п. размещаем под спойлером.