- 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]
| #!/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 |
** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)
由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \
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.
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+ (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:
После того как этот электронный ценник приобрёл известность в 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...", подгружайте если нужно. И пожалуйста, большие фотки и т.п. размещаем под спойлером.