🌱 🦤 🌱

windows

1
oobe\bypassnro
1
sysdm.cpl

新系统设置

  • 设置关闭隐私内容关闭应用自启动关闭粘滞键

  • 设置搜索powershell,打开以允许本地 PowerShell 脚本在未签名的兄下运行

  • 控制面板关闭快速启动

  • win11系统修改鼠标右键

1
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32"
1
irm https://get.activated.win | iex
  • regedit, 关闭自动更新
1
计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
1
FlightSettingsMaxPauseDays
  • 添加自定义自启动程序
1
shell:startup
  • 添加右键菜单发送
1
shell:sendto

Firefox

永久禁用更新

1
2
3
cd firefox64
mkdir distribution
vim policies.json
1
2
3
4
5
{
"policies": {
"DisableAppUpdate": true
}
}

编辑浏览器界面

  • F12开启控制台后输入如下代码, 即可更改网页任意数据
1
2
document.body.contentEditable='true'
document.designMode='on'

更换背景

  • 把火狐浏览器主页和新建标签页设置为空白页, 经以下操作后即可自定义主页和新建标签页背景
1
about:profiles
1
2
mkdir chrome
vim userContent.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {

body::before {
content: "";
z-index: -1;
position: fixed;
top: 0;
left: 0;
background: no-repeat url(test.png) center;
background-size: cover;
width: 100vw;
height: 100vh;
}
}
1
about:config
1
toolkit.legacyUserProfileCustomizations.stylesheets

firefox便携版

  • 官网下载源文件之后, 把文件名Firefox Setup 115.14.0esr.exe修改为Firefox Setup 115.14.0esr.7z, 并解压文件. 得到core文件夹和setup.exe
    1724846220613

  • 新建FirefoxPortableESR/App/Firefox64文件夹, 把coer文件夹下的内容复制到FirefoxPortableESR/App/Firefox64文件夹下

  • 新建FirefoxPortableESR/Data/profile文件夹, 该文件夹是用于保存个人数据

  • 新建FirefoxPortableESR/FirefoxPortable.ini文件, 写入

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    [FirefoxPortable]
    FirefoxDirectory=App\Firefox
    ProfileDirectory=Data\profile
    SettingsDirectory=Data\settings
    PluginsDirectory=Data\plugins
    FirefoxExecutable=firefox.exe
    AdditionalParameters=
    LocalHomepage=
    DisableSplashScreen=true
    AllowMultipleInstances=false
    DisableIntelligentStart=false
    SkipCompregFix=false
    RunLocally=false

    # The above options are explained in the included readme.txt
    # This INI file is an example only and is not used unless it is placed as described in the included readme.txt
  • 打开portableapps.com, 下载文件, 得到FirefoxPortableESR_115.14.0_SimpChinese.paf.exe, 修改文件名为FirefoxPortableESR_115.14.0_SimpChinese.paf.7z, 解压或提取该文件, 得到FirefoxPortable.exe, 把它放在FirefoxPortableESR文件夹下

  • 此时便携版火狐浏览器文件树应为

    1
    2
    3
    4
    5
    6
    7
    8
    9
    FirefoxPortableESR
    ├─┬ FirefoxPortable.exe # 启动文件
    │ ├── FirefoxPortable.ini
    │ ├── App
    │ │ └── Firefox64
    │ │ └── ...
    │ ├── Data
    │ │ └── profile # 配置文件
    │ │ └── ...
  • 启动FirefoxPortable.exe, 初始化后, 转到FirefoxPortableESR/App/Firefox64文件夹下, 注意到firefox.exe文件, 此后使用该文件firefox.exe启动更佳, 而FirefoxPortable.exe适合转移数据后第一次启动

  • 在火狐浏览器搜索框输入about:profiles, 配置文件应为{your}/FirefoxPortableESR/Data/profile

vscode

个人配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
// vscode self config
"files.trimTrailingWhitespace": true,
"editor.wordWrap": "on",
"editor.fontFamily": "Ubuntu Mono derivative Powerline,'Consolas', Courier New",
"editor.fontSize": 15,
"editor.fontWeight": "bold",
"editor.fontLigatures": true,
"editor.fontVariations": true,
"workbench.tree.indent": 30,
"debug.console.fontSize": 12,
"terminal.integrated.fontSize": 12,
"terminal.integrated.fontWeight": "bold",
"terminal.integrated.fontWeightBold": "bold",
"terminal.integrated.minimumContrastRatio": 7,
"files.exclude": {
"**/.DS_Store": false,
"**/.git": false,
"**/.hg": false,
"**/.svn": false,
"**/CVS": false,
"**/Thumbs.db": false
},
"search.exclude": {
"**/*.code-search": false,
"**/bower_components": false,
"**/node_modules": false
},

// go self config
"go.languageServerExperimentalFeatures": {
"diagnostics": false
},

// terminal self config
// "terminal.integrated.defaultProfile.windows": "Ubuntu-22.04 (WSL)",

// markdown ctrl v img
"vscode-office.pasterImgPath": "${fileName}/${now}.png",
"editor.maxTokenizationLineLength": 100000,
"update.mode": "none",
"extensions.autoUpdate": false,


// vim self config
"vim.useCtrlKeys": false,
"vim.handleKeys": {
"<C-o>": false,
"<C-s>": false,
"<C-v>": false,
"<C-c>": false,
"<C-x>": false,
"<C-[>": false,
"<C-]>": false,
"<C-y>": false,
},
"vim.easymotion": true,
"vim.leader": "<space>",

}

在vscode使用vim

  • vscode扩展商店搜索vscodevim

vscode便携版

  • 根据https://code.visualstudio.com/docs/editor/portable

  • Windows, Linux

  • Download the VS Code (or VS Code Insiders) ZIP distribution for your platform.

  • Create the data folder as above.

  • Copy the user data directory Code to data and rename it to user-data:
    Windows %APPDATA%\Code
    Linux $HOME/.config/Code

  • Copy the extensions directory to data:
    Windows %USERPROFILE%\.vscode\extensions
    Linux ~/.vscode/extensions

  • As an example, here’s the desired outcome on Windows:

1
2
3
4
5
6
7
8
|- VSCode-win32-x64-1.84.2
| |- Code.exe (or code executable)
| |- data
| | |- user-data
| | | |- ...
| | |- extensions
| | | |- ...
| |- ...

v2ray便携版

mydockerfind便携版


Openwrt

开始

用powershell连接openwrt

1
ssh root@192.168.88.1

这里先称它为ssh界面, 和后面sftp界面区分开

1
yes
1
输入路由器管理界面的密码

在openwrt系统中安装sftp用于把下载好的luci-app-酸酸乳-plus上传至路由器系统的/tmp/文件夹下

1
opkg update
1
opkg install openssh-sftp-server

在另一个powershell界面输入:

1
sftp root@192.168.88.1

ssh操作输入密码

1
put -r /plugins_path/*.ipk /tmp/

/plugins_path/为安装luci-app-酸酸乳-plus以及其它必要软件包的路径

回到ssh界面

1
cd /tmp/
1
opkg -i install *.ipk
1
rm -rf *.ipk
一些可能遇到的问题

然后酸酸乳 plus+ not running


原因有如下两个xray-corepdnsd-alt未安装的问题, 引起酸酸乳未启动(可能启动了也没启动)

那么直接安装这两个插件就可以了……

最终的效果

1689305374311

关灯

1
/etc/init.d/led stop
1
/etc/init.d/led disable

五十音

平假名

k g
s z
t d
n
h b
p
m
y
r
w

片假名

あ行:アイウエオ
か行:カキクケコ
さ行:サシスセソ
た行:タチツテト
な行:ナニヌネノ
は行:ハヒフヘホ
ま行:マミムメモ
や行:ヤ ユ ヨ
ら行:ラリルレロ
わ行:ワ ヲ

长音

あ段+あ
い段+い
う段+う
え段+え、い (ei)
お段+お、う (ou)

促音

つ(tu) っ(tsu)

拗音

KYA KYU KYO
きゃ きゅ きょ
GYA GYU GYO
ぎゃ ぎゅ ぎょ
SYA SYU SYO
しゃ しゅ しょ
JYA JYU JYO
じゃ じゅ じょ
TYA TYU TYO
ちゃ ちゅ ちょ
JYA JYU JYO
ぢゃ ぢゅ ぢょ
NYA NYU NYO
にゃ にゅ にょ
HYA HYU HYO
ひゃ ひゅ ひょ
BYA BYU BYO
びゃ びゅ びょ
PYA PYU PYO
ぴゃ ぴゅ ぴょ
MYA MYU MYO
みゃ みゅ みょ
RYA RYU RYO
りゃ りゅ りょ