Add P.A.R.A. methodology documentation and restructure Personal folder

- Created Methodology.md to outline the P.A.R.A. system and its components.
- Added Outline.md for a structured overview of P.A.R.A. content.
- Documented PKM content organization decisions in PKM-Consolidation-Decision.md.
- Introduced Workflows.md to explain practical applications of P.A.R.A. in work scenarios.
- Moved sensitive information to security-sensitive folder and restructured the Personal folder to align with P.A.R.A. principles.
- Archived backup files including Matrix Me.md and TTG Cookies.md.
- Implemented a comprehensive refactor of the Personal folder to improve organization and security.
This commit is contained in:
windyboy
2025-12-29 15:37:17 +08:00
parent c9d757d973
commit daf4aa3dfa
106 changed files with 268 additions and 37 deletions
+38
View File
@@ -0,0 +1,38 @@
Hi Amin,
Thanks for posting in the community. We are happy to help you.
According to your description, the situation on your end is likely caused by your organization's settings/policies (e.g. conditional access policy).
You can try the following steps, and then check if it still happens or not.
1. Please sign out your accounts from Office applications, then close all Office applications.
2. Open File Explorer, paste the following path, and delete all files and folders.
%localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
3. In the Windows search bar, search for "Access Work or School".
4. Check if you can see your business account in "Access Work or School".
- If you don't see it, please select Connect and add your business account.
- If you can see it, please select it and select Disconnect. After that, please click "Connect" and log into your account again to register the device.
5. Run one Office application, such as Word, sign into your account, and check again.
If the error message still appears after trying the above steps, I recommend you report the situation to your organization admin or IT department.
We look forward to your response. Thanks for your cooperation.
Sincerely,
George | Microsoft Community Moderator
[Updated by George Jiang MSFT 04:33 AM 08/10 2024 UTC + 8]
• Beware of Scammers posting fake Support Numbers here.
+5
View File
@@ -0,0 +1,5 @@
亲,以下是您购买的商品信息。
MobaXterm Professional 便携版
下载地址https://wwxs.lanzoum.com/ieYNw0s21tab
备用地址https://www.987123.xyz/oss/lovemei9/MobaXterm/MobaXterm_Portable_v23.1.zip
说明:复制以上地址进行下载,软件包中已经集成授权文件,下载后解压即用。
+3
View File
@@ -0,0 +1,3 @@
api:
secret_WggiGblW3PayQXirTeOCrS9FTsQ5EWGWHjInmNcvJdv
+86
View File
@@ -0,0 +1,86 @@
Here is the **definitive, consolidated guide** for setting up Playwright on **Arch Linux (WSL)**.
This summary skips the trial-and-error we just went through and provides the "Happy Path" to get everything working in one go.
---
### 📋 Prerequisites
* **WSL 2** (Recommended).
* **Proxy (Optional):** If you are behind a proxy, remember to use `sudo -E` to preserve environment variables.
---
### 🚀 Step 1: System Prep & Node.js
First, ensure your package database is fresh (fixes 404 errors) and install Node.js.
```bash
# Update system and install Node.js/npm
# Use -E if you have https_proxy set in your shell
sudo -E pacman -Syu nodejs npm
```
### 📦 Step 2: Install System Dependencies (The Critical Step)
**Do not** use `npx playwright install-deps` (it fails on Arch). Instead, install these packages manually. This list includes all the X11, Graphics, and Network libraries required by Chromium, Firefox, and WebKit.
```bash
sudo -E pacman -S --needed \
git \
nss \
nspr \
libdrm \
alsa-lib \
mesa \
gtk3 \
at-spi2-core \
pango \
cairo \
gdk-pixbuf2 \
libx11 \
libxcomposite \
libxdamage \
libxext \
libxfixes \
libxrandr \
libxcursor \
libxi \
libxrender \
libxcb \
freetype2 \
fontconfig \
ffmpeg
```
### 🛠️ Step 3: Initialize Playwright
Set up your project and download the browser binaries (these are separate from the system libs above).
```bash
# Create project directory
mkdir my-tests && cd my-tests
# Initialize (Select TypeScript/JavaScript as preferred)
npm init playwright@latest
# If prompted to "Install Playwright browsers", select True.
# If you need to install them manually later:
npx playwright install
```
### ✅ Step 4: Run Tests
You are now ready to run.
```bash
npx playwright test
```
---
### 💡 Troubleshooting Cheat Sheet
| Issue | Solution |
| :------------------------ | :-------------------------------------------------------------------------------- |
| **`install-deps` fails** | **Ignore it.** It only supports Ubuntu. Use the `pacman` command in Step 2. |
| **`libxxx.so not found`** | You are missing a package. Use `pkgfile libxxx.so` to find the Arch package name. |
| **404 Errors (Pacman)** | Your mirrors are out of sync. Run `sudo pacman -Syu` to refresh. |
| **Browser won't launch** | Ensure `nspr` and `nss` are installed (included in Step 2). |
| **GUI/Headless issues** | If visual mode fails, try `xvfb-run npx playwright test`. |
@@ -0,0 +1,173 @@
To set up **Oh My Posh** with **Zsh** on **Debian 12**, follow these steps to install the necessary components and configure your terminal prompt.
## Installation Steps
### 1. Download the Oh My Posh Binary
First, you need to download the Oh My Posh binary suitable for Linux. Open your terminal and run the following command:
```bash
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
```
### 2. Set Executable Permissions
Make the downloaded binary executable:
```bash
sudo chmod +x /usr/local/bin/oh-my-posh
```
### 3. Create a Directory for Themes
You need a directory to store your themes. Create it using:
```bash
mkdir -p ~/.poshthemes
```
### 4. Download Themes
You can download predefined themes from the Oh My Posh repository. For example, to download the latest themes, run:
```bash
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
```
Unzip the downloaded file:
```bash
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
```
Then, clean up by removing the zip file:
```bash
rm ~/.poshthemes/themes.zip
```
### 5. Update Your Zsh Configuration
Now, you need to configure your Zsh shell to use Oh My Posh. Open your `.zshrc` file in a text editor:
```bash
nano ~/.zshrc
```
Add the following line at the end of the file to initialize Oh My Posh with a specific theme (replace `alien` with your preferred theme name):
```bash
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/alien.omp.json)"
```
### 6. Apply Changes
After saving and closing the `.zshrc` file, apply the changes by running:
```bash
source ~/.zshrc
```
## Additional Configuration
### Install a Nerd Font (Optional)
For better aesthetics, install a Nerd Font that supports icons used by Oh My Posh. You can download fonts like **Meslo** or **Fira Code** from their respective repositories and install them on your system.
### Set Terminal Font
Finally, ensure that your terminal emulator is configured to use the newly installed Nerd Font for optimal display of icons and symbols.
By following these steps, you will have successfully set up Oh My Posh with Zsh on Debian 12, enhancing your terminal's appearance and functionality.
Citations:
[1] https://dev.to/karleeov/wsl-arch-setup-for-oh-my-posh-51pa
[2] https://www.reddit.com/r/NixOS/comments/1ge1gwn/how_to_set_ohmyposh_settings/
[3] https://ohmyposh.dev/docs/installation/linux
[4] https://www.librebyte.net/en/cli-en/oh-my-posh-a-beatifull-prompt-for-your-shell/
[5] https://www.youtube.com/watch?v=nGHgyPLi7UM
[6] https://calebschoepp.com/blog/2021/how-to-setup-oh-my-posh-on-ubuntu/
[7] https://www.linux.org/threads/need-help-finalizing-oh-my-posh-bash-terminal.52617/
.zshrc
```
#go lang
export GOROOT=/usr/local/go
export GOPATH=/home/windy/go-lang
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/powerlevel10k_modern.omp.json)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Zinit setup and plugin management
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
source "${ZINIT_HOME}/zinit.zsh"
# Load essential annexes (non-turbo mode for annex functionality)
zinit light-mode for \
zdharma-continuum/zinit-annex-as-monitor \
zdharma-continuum/zinit-annex-bin-gem-node \
zdharma-continuum/zinit-annex-patch-dl \
zdharma-continuum/zinit-annex-rust
# Load Zeno plugin with keybindings
zinit ice lucid depth"1" blockf
zinit light yuki-yano/zeno.zsh
if [[ -n $ZENO_LOADED ]]; then
bindkey ' ' zeno-auto-snippet
bindkey '^m' accept-line
bindkey '^i' zeno-completion
bindkey '^g' zeno-ghq-cd
bindkey '^r' zeno-history-selection
bindkey '^x' zeno-insert-snippet
fi
# Load additional Zsh plugins
zinit ice wait"0"; zinit light zsh-users/zsh-completions
autoload -Uz compinit && compinit
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
zstyle ':completion:*:default' menu select=1
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab
# FZF configuration
zi ice from"gh-r" as"program"
zi light junegunn/fzf
# Auto-suggestions styling
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=244"
# History settings
HISTFILE=~/.zsh-history
HISTSIZE=100000
SAVEHIST=1000000
HISTDUP=erase
setopt appendhistory sharehistory hist_ignore_space hist_ignore_all_dups
setopt hist_save_no_dups hist_ignore_dups hist_find_no_dups
setopt inc_append_history share_history
# Zsh options for usability
setopt AUTO_CD
setopt AUTO_PARAM_KEYS
# Completion and FZF styling
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' menu no
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
# Load additional plugins with default keys
zinit pack"default+keys" for fzf
# Ensure Zinit autocompletion
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
# Consolidate PATH with deduplication
export PATH=$(echo "/run/current-system/sw/bin:/usr/local/bin:/usr/local/sbin:$PATH" | tr ':' '\n' | awk '!seen[$0]++' | tr '\n' ':' | sed 's/:$//')
```