共有 274 篇文章
📅 最近更新
2024-04-26
- 2024-09-18
Debian指纹识别
1# 安装
2sudo apt install fprintd
3# 录入 (录入5次后会显示completed)
4sudo fprintd-enroll
5# 识别
6sudo fprintd-verify
2024-04-20
- 2024-09-15
通过ADB停用系统更新和去除更新统治
1# 屏蔽更新
2adb shell pm disable-user com.oneplus.opbackup
3# 清除更新通知
4adb shell pm clear com.oneplus.opbackup
5# 恢复更新
6adb shell pm enable com.oneplus.opbackup
2024-04-13
- 2024-09-18
官方安装教程 https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build
Chrome 插件
https://chromewebstore.google.com/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld
安装后在插件中添加域名https://post.akvicor.com
来启用插件
初始化数据库
在安装成功且访问之前, 需要先初始化数据库, 否则容器会崩溃(如果容器已经崩溃, 需要删除容器后重新安装)
2024-04-09
- 2024-09-18
引脚定义
展示所有串口
1dtoverlay -a | grep uart
查看特定串口信息
1dtoverlay -h uart2
开启串口 UART2-5
1vim /boot/config.txt
2# 或 (新版本系统中路径发生变化)
3vim /boot/firmware/config.txt
在文件结尾添加如下:
1dtoverlay=uart2
2dtoverlay=uart3
3dtoverlay=uart4
4dtoverlay=uart5
重启后查看是否生效:
2024-03-24
- 2025-03-16
扩充固件
将.img文件中的分区使用fdisk扩充7G
写入固件
启用魔法
1echo 0xDEADBEEF > /etc/config/google_fu_mode
SSRP 添加Socks5
1opkg update
2opkg install ipt2socks
2024-03-16
- 2024-09-18
由于css中限制了标签的宽高, 如果标题过长会无法显示, 因此需要修改css中的属性
在virgo/assets/scss/partials/content/nav.scss
中的.container-nav/.toc/li
中的width
2024-03-02
- 2025-03-17
utterances和isso两种评论系统搭建
isso
- 自建
- 数据存储在本地, 方便备份迁移
- 无需登陆
- 可配置审核等
搭建isso
1services:
2 isso:
3 container_name: isso
4 image: ghcr.io/isso-comments/isso:release
5 ports:
6 - "8080:8080"
7 restart: always
8 volumes:
9 - "/app/isso/data/config:/config"
10 - "/app/isso/data/db:/db"
配置: /app/isso/data/config/isso.cfg
2024-02-20
- 2024-09-18
Special pages
- Interwiki (more information)
Editors
- CodeEditor (more information)
- WikiEditor (more information)
Parser hooks
- CategoryTree (more information)
- Cite (more information)
- ImageMap (more information)
- InputBox (more information)
- Math (more information)
- ParserFunctions (more information)
- Poem (more information)
- Scribunto (more information)
- SyntaxHighlight_GeSHi (more information)
- TemplateData (more information)
API
- PageImages (more information)
Other
- MultimediaViewer (more information)
- OATHAuth (more information)
LocalSettings.php
网站图标
1$wgFavicon = "$wgResourceBasePath/resources/assets/snowflake_128.png";
短URL
在编译好的docker镜像中,已经配置好了apache
,因此只要修改wiki的配置文件即可
2024-02-08
- 2024-09-18
M = moveto(M X,Y)
:起始 将画笔移动到指定的坐标位置L = lineto(L X,Y)
:连线 画直线到指定的坐标位置H = horizontal lineto(H X)
:水平线 画水平线到指定的X坐标位置V = vertical lineto(V Y)
:垂直线 画垂直线到指定的Y坐标位置C = curveto(C X1,Y1,X2,Y2,ENDX,ENDY)
:三次贝塞尔曲线S = smooth curveto(S X2,Y2,ENDX,ENDY)
:三次贝塞尔曲线Q = quadratic Belzier curve(Q X,Y,ENDX,ENDY)
:二次贝塞尔曲线T = smooth quadratic Belzier curveto(T ENDX,ENDY)
:二次贝塞尔曲线 映射A = elliptical Arc(A RX,RY,XROTATION,FLAG1,FLAG2,X,Y)
:椭圆弧 弧线Z = closepath()
:闭合(从最后一个点连直线到起始点)关闭路径
使用大写字母表示绝对位置,小写字母表示相对位置(相对于起点的位置,向右向下为正)。
2024-02-06
- 2024-09-18
使触摸板敲击(不是按压)时也产生左键事件
1sudo apt install xserver-xorg-input-synaptics
2sudo vim /etc/X11/xorg.conf.d/50-synaptics.conf
在文件中添加以下内容
1Section "InputClass"
2 Identifier "touchpad catchall"
3 Driver "synaptics"
4 MatchIsTouchpad "on"
5
6 Option "TapButton1" "1" #单指敲击产生左键事件
7 Option "TapButton2" "2" #双指敲击产生中键事件
8 Option "TapButton3" "3" #三指敲击产生右键事件
9
10 Option "VertEdgeScroll" "on" #滚动操作:横向、纵向、环形
11 Option "VertTwoFingerScroll" "on"
12 Option "HorizEdgeScroll" "on"
13 Option "HorizTwoFingerScroll" "on"
14 Option "CircularScrolling" "on"
15 Option "CircScrollTrigger" "2"
16
17 Option "EmulateTwoFingerMinZ" "40" #精确度
18 Option "EmulateTwoFingerMinW" "8"
19 Option "CoastingSpeed" "20" #触发快速滚动的滚动速度
20
21 Option "PalmDetect" "1" #避免手掌触发触摸板
22 Option "PalmMinWidth" "3" #认定为手掌的最小宽度
23 Option "PalmMinZ" "200" #认定为手掌的最小压力值
24EndSection
键入时禁止触摸板
键入时禁止触摸板可以避免焦点变化,影响当前的输入。 对于使用 startx 来启动的桌面系统,可以修改其 .xinitrc 初始化配置文件来完成: