commit e836fb5413b0994d566901f39318aa9552df4a17 Author: LingBai Date: Sat Oct 4 21:53:49 2025 +0800 first diff --git a/.config/code-server/config.yaml b/.config/code-server/config.yaml new file mode 100644 index 0000000..863ad00 --- /dev/null +++ b/.config/code-server/config.yaml @@ -0,0 +1,4 @@ +bind-addr: 192.168.0.112:8080 +auth: password +password: 102165ad9c4e601201757b1c +cert: false diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..167442c --- /dev/null +++ b/.gitconfig @@ -0,0 +1,3 @@ +[user] + email = lingbai114514@qq.com + name = LingBai diff --git a/.local/share/code-server/coder-logs/code-server-stderr.log b/.local/share/code-server/coder-logs/code-server-stderr.log new file mode 100644 index 0000000..ef9ad16 --- /dev/null +++ b/.local/share/code-server/coder-logs/code-server-stderr.log @@ -0,0 +1,46 @@ +[21:50:54] Error: Unable to retrieve mac address (unexpected format) + at gU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:45856) + at yU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46233) + at async file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46150 + at async Promise.all (index 2) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +[21:50:54] Error: Unsupported platform + at Object. (/data/data/com.termux/files/usr/lib/code-server/lib/vscode/node_modules/@vscode/deviceid/dist/index.js:24:11) + at Module._compile (node:internal/modules/cjs/loader:1730:14) + at Module._extensions..js (node:internal/modules/cjs/loader:1895:10) + at Module.load (node:internal/modules/cjs/loader:1465:32) + at Module._load (node:internal/modules/cjs/loader:1282:12) + at TracingChannel.traceSync (node:diagnostics_channel:322:14) + at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) + at cjsLoader (node:internal/modules/esm/translators:266:5) + at ModuleWrap. (node:internal/modules/esm/translators:200:7) + at ModuleJob.run (node:internal/modules/esm/module_job:274:25) + at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26) + at async xU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46540) + at async Promise.all (index 4) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +[21:57:54] Error: Unable to retrieve mac address (unexpected format) + at gU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:45856) + at yU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46233) + at async file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46150 + at async Promise.all (index 2) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +[21:57:54] Error: Unsupported platform + at Object. (/data/data/com.termux/files/usr/lib/code-server/lib/vscode/node_modules/@vscode/deviceid/dist/index.js:24:11) + at Module._compile (node:internal/modules/cjs/loader:1730:14) + at Module._extensions..js (node:internal/modules/cjs/loader:1895:10) + at Module.load (node:internal/modules/cjs/loader:1465:32) + at Module._load (node:internal/modules/cjs/loader:1282:12) + at TracingChannel.traceSync (node:diagnostics_channel:322:14) + at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) + at cjsLoader (node:internal/modules/esm/translators:266:5) + at ModuleWrap. (node:internal/modules/esm/translators:200:7) + at ModuleJob.run (node:internal/modules/esm/module_job:274:25) + at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26) + at async xU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46540) + at async Promise.all (index 4) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) diff --git a/.local/share/code-server/coder-logs/code-server-stdout.log b/.local/share/code-server/coder-logs/code-server-stdout.log new file mode 100644 index 0000000..07d80e5 --- /dev/null +++ b/.local/share/code-server/coder-logs/code-server-stdout.log @@ -0,0 +1,31 @@ +[2025-08-14T13:45:51.354Z] info code-server 4.101.2 aff005e19626ac6802223713fa569e743c125725 +[2025-08-14T13:45:51.355Z] info Using user-data-dir /data/data/com.termux/files/home/.local/share/code-server +[2025-08-14T13:45:51.376Z] info Using config file /data/data/com.termux/files/home/.config/code-server/config.yaml +[2025-08-14T13:45:51.376Z] info HTTP server listening on http://127.0.0.1:8080/ +[2025-08-14T13:45:51.376Z] info - Authentication is enabled +[2025-08-14T13:45:51.376Z] info - Using password from /data/data/com.termux/files/home/.config/code-server/config.yaml +[2025-08-14T13:45:51.376Z] info - Not serving HTTPS +[2025-08-14T13:45:51.376Z] info Session server listening on /data/data/com.termux/files/home/.local/share/code-server/code-server-ipc.sock +[21:50:54] + + + + +[21:50:54] Extension host agent started. +[21:50:54] Started initializing default profile extensions in extensions installation folder. file:///data/data/com.termux/files/home/.local/share/code-server/extensions +[21:50:54] ComputeTargetPlatform: web +[21:50:54] Completed initializing default profile extensions in extensions installation folder. file:///data/data/com.termux/files/home/.local/share/code-server/extensions +[2025-08-14T13:57:38.519Z] info code-server 4.101.2 aff005e19626ac6802223713fa569e743c125725 +[2025-08-14T13:57:38.528Z] info Using user-data-dir /data/data/com.termux/files/home/.local/share/code-server +[2025-08-14T13:57:38.556Z] info Using config file /data/data/com.termux/files/home/.config/code-server/config.yaml +[2025-08-14T13:57:38.557Z] info HTTP server listening on http://192.168.0.112:8080/ +[2025-08-14T13:57:38.557Z] info - Authentication is enabled +[2025-08-14T13:57:38.557Z] info - Using password from /data/data/com.termux/files/home/.config/code-server/config.yaml +[2025-08-14T13:57:38.557Z] info - Not serving HTTPS +[2025-08-14T13:57:38.557Z] info Session server listening on /data/data/com.termux/files/home/.local/share/code-server/code-server-ipc.sock +[21:57:54] + + + + +[21:57:54] Extension host agent started. diff --git a/.local/share/code-server/coder.json b/.local/share/code-server/coder.json new file mode 100644 index 0000000..06f659e --- /dev/null +++ b/.local/share/code-server/coder.json @@ -0,0 +1,3 @@ +{ + "query": {} +} \ No newline at end of file diff --git a/.local/share/code-server/extensions/extensions.json b/.local/share/code-server/extensions/extensions.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/.local/share/code-server/extensions/extensions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.local/share/code-server/heartbeat b/.local/share/code-server/heartbeat new file mode 100644 index 0000000..e69de29 diff --git a/.local/share/code-server/logs/20250814T215054/remoteTelemetry.log b/.local/share/code-server/logs/20250814T215054/remoteTelemetry.log new file mode 100644 index 0000000..e69de29 diff --git a/.local/share/code-server/logs/20250814T215054/remoteagent.log b/.local/share/code-server/logs/20250814T215054/remoteagent.log new file mode 100644 index 0000000..43f2de7 --- /dev/null +++ b/.local/share/code-server/logs/20250814T215054/remoteagent.log @@ -0,0 +1,32 @@ +2025-08-14 21:50:54.603 [info] + + + + +2025-08-14 21:50:54.603 [error] Error: Unable to retrieve mac address (unexpected format) + at gU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:45856) + at yU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46233) + at async file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46150 + at async Promise.all (index 2) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +2025-08-14 21:50:54.603 [error] Error: Unsupported platform + at Object. (/data/data/com.termux/files/usr/lib/code-server/lib/vscode/node_modules/@vscode/deviceid/dist/index.js:24:11) + at Module._compile (node:internal/modules/cjs/loader:1730:14) + at Module._extensions..js (node:internal/modules/cjs/loader:1895:10) + at Module.load (node:internal/modules/cjs/loader:1465:32) + at Module._load (node:internal/modules/cjs/loader:1282:12) + at TracingChannel.traceSync (node:diagnostics_channel:322:14) + at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) + at cjsLoader (node:internal/modules/esm/translators:266:5) + at ModuleWrap. (node:internal/modules/esm/translators:200:7) + at ModuleJob.run (node:internal/modules/esm/module_job:274:25) + at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26) + at async xU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46540) + at async Promise.all (index 4) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +2025-08-14 21:50:54.603 [info] Extension host agent started. +2025-08-14 21:50:54.614 [info] Started initializing default profile extensions in extensions installation folder. file:///data/data/com.termux/files/home/.local/share/code-server/extensions +2025-08-14 21:50:54.625 [info] ComputeTargetPlatform: web +2025-08-14 21:50:54.651 [info] Completed initializing default profile extensions in extensions installation folder. file:///data/data/com.termux/files/home/.local/share/code-server/extensions diff --git a/.local/share/code-server/logs/20250814T215754/remoteTelemetry.log b/.local/share/code-server/logs/20250814T215754/remoteTelemetry.log new file mode 100644 index 0000000..e69de29 diff --git a/.local/share/code-server/logs/20250814T215754/remoteagent.log b/.local/share/code-server/logs/20250814T215754/remoteagent.log new file mode 100644 index 0000000..09a0052 --- /dev/null +++ b/.local/share/code-server/logs/20250814T215754/remoteagent.log @@ -0,0 +1,29 @@ +2025-08-14 21:57:54.559 [info] + + + + +2025-08-14 21:57:54.559 [error] Error: Unable to retrieve mac address (unexpected format) + at gU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:45856) + at yU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46233) + at async file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46150 + at async Promise.all (index 2) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +2025-08-14 21:57:54.559 [error] Error: Unsupported platform + at Object. (/data/data/com.termux/files/usr/lib/code-server/lib/vscode/node_modules/@vscode/deviceid/dist/index.js:24:11) + at Module._compile (node:internal/modules/cjs/loader:1730:14) + at Module._extensions..js (node:internal/modules/cjs/loader:1895:10) + at Module.load (node:internal/modules/cjs/loader:1465:32) + at Module._load (node:internal/modules/cjs/loader:1282:12) + at TracingChannel.traceSync (node:diagnostics_channel:322:14) + at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) + at cjsLoader (node:internal/modules/esm/translators:266:5) + at ModuleWrap. (node:internal/modules/esm/translators:200:7) + at ModuleJob.run (node:internal/modules/esm/module_job:274:25) + at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26) + at async xU (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:75:46540) + at async Promise.all (index 4) + at async PW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:194:413) + at async MW (file:///data/data/com.termux/files/usr/lib/code-server/lib/vscode/out/server-main.js:195:1418) +2025-08-14 21:57:54.576 [info] Extension host agent started. diff --git a/.local/share/code-server/machineid b/.local/share/code-server/machineid new file mode 100644 index 0000000..af68c8f --- /dev/null +++ b/.local/share/code-server/machineid @@ -0,0 +1 @@ +cc5112de-4211-4725-90cd-d161a31e1dde \ No newline at end of file diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys new file mode 100644 index 0000000..e69de29 diff --git a/.termux/termux.properties b/.termux/termux.properties new file mode 100644 index 0000000..da7b335 --- /dev/null +++ b/.termux/termux.properties @@ -0,0 +1,190 @@ +### This is a `.properties` [https://en.wikipedia.org/wiki/.properties] file +### for termux app properties and is loaded with the `java.util.Properties.load()` +### [https://developer.android.com/reference/java/util/Properties#load(java.io.Reader)] +### call by the termux app and must be formatted as per its spec. +### To make changes to a property value, uncomment the property line by removing +### any hash `#` characters at the start of the line. +### After making required changes, save the file and run `termux-reload-settings` +### in the terminal for changes to take effect. Some properties require app +### process to be restarted to be updated which can be done by force stopping +### the app from Android app settings. +### All information here can also be found on the +### wiki: https://wiki.termux.com/wiki/Terminal_Settings + +############### +# General +############### + +### Allow external applications to execute arbitrary commands within Termux. +### This potentially could be a security issue, so option is disabled by +### default. Uncomment to enable. +# allow-external-apps = true + +### Default working directory that will be used when launching the app. +# default-working-directory = /data/data/com.termux/files/home + +### Uncomment to disable toasts shown on terminal session change. +# disable-terminal-session-change-toast = true + +### Uncomment to not show soft keyboard on application start. +# hide-soft-keyboard-on-startup = true + +### Uncomment to let keyboard toggle button to enable or disable software +### keyboard instead of showing/hiding it. +# soft-keyboard-toggle-behaviour = enable/disable + +### Adjust terminal scrollback buffer. Max is 50000. May have negative +### impact on performance. +# terminal-transcript-rows = 2000 + +### Uncomment to use volume keys for adjusting volume and not for the +### extra keys functionality. +# volume-keys = volume + +############### +# Fullscreen mode +############### + +### Uncomment to let Termux start in full screen mode. +# fullscreen = true + +### Uncomment to attempt workaround layout issues when running in +### full screen mode. +# use-fullscreen-workaround = true + +############### +# Cursor +############### + +### Cursor blink rate. Values 0, 100 - 2000. +# terminal-cursor-blink-rate = 0 + +### Cursor style: block, bar, underline. +# terminal-cursor-style = block + +############### +# Extra keys +############### + +### Settings for choosing which set of symbols to use for illustrating keys. +### Choose between default, arrows-only, arrows-all, all and none +# extra-keys-style = default + +### Force capitalize all text in extra keys row button labels. +# extra-keys-text-all-caps = true + +### Default extra-key configuration +# extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]] + +### Two rows with more keys +# extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \ +# ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']] + +### Configuration with additional popup keys (swipe up from an extra key) +# extra-keys = [[ \ +# {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ +# {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ +# {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \ +# {key: TAB, popup: {macro: "ALT a", display: A-a}}, \ +# {key: LEFT, popup: HOME}, \ +# {key: DOWN, popup: PGDN}, \ +# {key: UP, popup: PGUP}, \ +# {key: RIGHT, popup: END}, \ +# {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \ +# {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \ +# ]] + +### Another configuration with advanced popup key usage designed for more +### specific use-cases. In this case, it is designed for working with Vim-like +### editors for faster navigation +#extra-keys = [ \ +# [ \ +# { key: ESC, popup: { macro: ":q\n", display: "QuickExit" } }, \ +# { key: '/', popup: '\\\\' }, \ +# { key: '-', popup: '_' }, \ +# { key: HOME, popup: { macro: "CTRL HOME", display: "Top" } }, \ +# { key: UP, popup: { macro: "CTRL UP", display: "UP" } }, \ +# { key: END, popup: { macro: "CTRL END", display: "End" } }, \ +# { key: ":", popup: ";" }, \ +# { key: "(", popup: "{" } \ +# ], \ +# [ \ +# { key: TAB, popup: { macro: ":wq\n", display: "Write And Exit" } }, \ +# { key: CTRL, popup: { macro: ":w\n", display: "Write" } }, \ +# ALT, \ +# { key: LEFT, popup: { macro: "CTRL LEFT", display: "Left" } }, \ +# { key: DOWN, popup: { macro: "CTRL DOWN", display: "Bottom" } }, \ +# { key: RIGHT, popup: { macro: "CTRL RIGHT", display: "Right" } }, \ +# { key: "#", popup: "$" }, \ +# { key: ")", popup: "}" } \ +# ] \ +#] + +############### +# Colors/themes +############### + +### Force black colors for drawer and dialogs +# use-black-ui = true + +############### +# HW keyboard shortcuts +############### + +### Disable hardware keyboard shortcuts. +# disable-hardware-keyboard-shortcuts = true + +### Open a new terminal with ctrl + t (volume down + t) +# shortcut.create-session = ctrl + t + +### Go one session down with (for example) ctrl + 2 +# shortcut.next-session = ctrl + 2 + +### Go one session up with (for example) ctrl + 1 +# shortcut.previous-session = ctrl + 1 + +### Rename a session with (for example) ctrl + n +# shortcut.rename-session = ctrl + n + +############### +# Bell key +############### + +### Vibrate device (default). +# bell-character = vibrate + +### Beep with a sound. +# bell-character = beep + +### Ignore bell character. +# bell-character = ignore + +############### +# Back key +############### + +### Send the Escape key. +# back-key=escape + +### Hide keyboard or leave app (default). +# back-key=back + +############### +# Keyboard issue workarounds +############### + +### Letters might not appear until enter is pressed on Samsung devices +# enforce-char-based-input = true + +### ctrl+space (for marking text in emacs) does not work on some devices +# ctrl-space-workaround = true + +############### +# Terminal Margin adjustments +############### + +### Horizontal (left/right) Margin +# terminal-margin-horizontal=3 + +### Vertical (top/bottom) Margin +# terminal-margin-vertical=0 diff --git a/.wget-hsts b/.wget-hsts new file mode 100644 index 0000000..3187a80 --- /dev/null +++ b/.wget-hsts @@ -0,0 +1,4 @@ +# HSTS 1.0 Known Hosts database for GNU Wget. +# Edit at your own risk. +# +bootstrap.pypa.io 0 1 1753756249 31536000