Skip to content

Instantly share code, notes, and snippets.

View nmnmcc's full-sized avatar
😄

Yinhao Huang nmnmcc

😄
  • Zhuhai College of Science and Technology
View GitHub Profile
@nmnmcc
nmnmcc / neovim.md
Created July 16, 2025 06:14
NeoVim Cheat Sheet

NeoVim Cheat Sheet

I. Basic Concepts

1. Modes

NeoVim is a modal editor, primarily featuring the following modes:

  • Normal Mode: The default mode for navigating, deleting, copying, and pasting text. Press Esc to return to this mode from others.
  • Insert Mode: Used for typing text. Enter it with keys like i, a, o.
@nmnmcc
nmnmcc / cet.txt
Created July 14, 2025 12:03
CET Words
ace
ache
achieve
achievement
acid
acidity
acknowledge
acknowledgement
acquaint
acquaintance

在 Windows 中禁用 AAC 编码

从Windows版本21370开始,Windows开始支持蓝牙AAC编码(Advanced Audio Coding),而我突然发现我的小米Air2 SE耳机的音质出现了明显地下降,有质的差别。原本在我的意识里,AAC编码比SBC编码(Low-complexity Subband Codec)更高级,应该会有提高音质的效果才对,怎么会出现音质明显下降的情况呢?我搜寻了一番,无法得出结论。但是事实如此,在我禁用AAC编码重新使用SBC编码以后,音质确实又回到了原本的水平。

可以通过修改注册表的方法来禁用AAC编码:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BthA2dp\Parameters]
@nmnmcc
nmnmcc / typst_guide.md
Last active June 29, 2026 18:38
Typst 入门与精通

Typst 入门与精通

Typst 是一款新兴的基于标记的排版系统,它致力于在拥有与 LaTeX 同等强大功能的同时,提供更为简洁易学的用户体验 。本指南将系统地介绍 Typst 的各项功能,从基础入门到高级应用,帮助用户全面掌握这款现代排版工具。

Typst 概览 (Typst Overview)

在深入学习 Typst 的具体语法和功能之前,有必要了解其核心设计哲学和主要优势。这些理念贯穿于 Typst 的方方面面,是理解其特性和行为的关键。

Typst 的设计哲学 (Typst's Design Philosophy)

@nmnmcc
nmnmcc / wbi.dart
Last active April 14, 2024 02:39
library wbi;
import 'dart:convert';
import 'package:dartx/dartx.dart';
import 'package:path/path.dart' as path;
import 'package:http/http.dart' as http;
import 'package:uri/uri.dart';
void main(List<String> args) async {
final originalUri =
@hacker1024
hacker1024 / disableAAC.reg
Last active May 16, 2026 06:16
Disable AAC Bluetooth audio codec in Windows
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BthA2dp\Parameters]
"BluetoothAacEnable"=dword:00000000
@emilianavt
emilianavt / BestVTuberSoftware.md
Last active July 12, 2026 14:34
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported
@fnky
fnky / ANSI.md
Last active July 12, 2026 00:41
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27