Skip to content

Instantly share code, notes, and snippets.

View Bemly's full-sized avatar
🚮
¯\_(ツ)_/¯

蓝莓小果冻 Bemly

🚮
¯\_(ツ)_/¯
View GitHub Profile
@Bemly
Bemly / 3.5lo2balance.md
Created October 7, 2024 08:34 — forked from muink/3.5lo2balance.md
关于3.5单端和2.5 3.5 4.4 平衡间互相转换的几条定理

关于3.5单端和2.5 3.5 4.4 平衡间互相转换的几条定理

3.5立体声与典型平衡口定义

ddt pht

互转定理

  1. 平衡设备之间可以完全地互相转换,只要接口线序一一对应不出错
@Bemly
Bemly / install-ota-update-rooted-android-device-guide.md
Created October 7, 2024 08:33 — forked from muink/install-ota-update-rooted-android-device-guide.md
在rooted設備上使用Magisk進行OTA更新[保留root和TWRP]

在rooted設備上使用Magisk進行OTA更新[保留root和TWRP]

您已收到OTA推送更新,但由於您的Android設備已root而無法安裝它?嗯,這是rooted的Android設備的已知缺點。 在本指南中,您將學習如何使用Magisk在rooted的Android設備上安裝OTA更新。 通過使用本指南中提供的方法,您還可以在安裝OTA更新後保留rootTWRP。在進一步了解之前,讓我們快速看一下OTA更新是什麼以及它如何運作。

什麼是OTA更新?

OTA更新又名空中升級(Over-the-Air Update),是一種通過無線方式接收和安裝Android設備軟件更新的方法。

@Bemly
Bemly / config.yaml
Created September 27, 2024 14:32 — forked from liuran001/config.yaml
mihomo (Clash Meta) 懒人配置
# mihomo (Clash Meta) 懒人配置
# 版本 V1.8-240904
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
# https://obdo.cc/meta
# 作者: 笨蛋ovo (bdovo.cc)
# Telegram: https://t.me/baka_not_baka
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta
# 转载请保留此注释
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解
@Bemly
Bemly / ANSI.md
Last active September 11, 2024 08:09 — forked from fnky/ANSI.md
ANSI 转义标识符 翻译

ANSI 转义标识符

标准转义码的前缀是 Escape 脱离键,常用名ESC键:

  • Ctrl 键: ^[
  • 八进制: \033
  • Unicode编码: \u001b
  • 16进制: \x1B
  • 十进制: 27
@Bemly
Bemly / scope.md
Created August 21, 2024 09:09 — forked from jashkenas/scope.md

The Scope class regulates lexical scoping within CoffeeScript. As you generate code, you create a tree of scopes in the same shape as the nested function bodies. Each scope knows about the variables declared within it, and has a reference to its parent enclosing scope. In this way, we know which variables are new and need to be declared with var, and which are shared with external scopes.

Import the helpers we plan to use.

{extend, last} = require './helpers'

@Bemly
Bemly / extramaus.c
Created August 10, 2024 05:41 — forked from dvdantunes/extramaus.c
ExtraMaus is a tool that shows an additional mouse cursor. Useful for VLC recording. Author: Dodger Tools
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <assert.h>
#include <X11/cursorfont.h>
#include <X11/extensions/shape.h>
// Include the mouse cursor xbm directly
#define mouse_width 12
#define mouse_height 21