* Diana.exe

* 你看见嘉然。 * 她把口袋里最后一小块面包分给陌生的怪物。 * 自己的肚子,还在轻轻叫。 * 她的手有一点发抖。 * 可她没有逃跑。 * 前面的路很黑。 * 她拍拍裙角,小声说:继续走吧。

disable baloo

Baloo is a file indexing and searching framework for KDE Plasma. But it uses too many system resources. balooctl6 suspend balooctl6 disable balooctl6

apt with proxy

sudo vim /etc/sudoers Defaults env_keep = "http_proxy https_proxy" # 然后apt跟随系统proxy。

windows restore health

# 网络坏 netsh winsock reset # 文件系统坏 sfc /scannow chkdsk /f # 操作系统坏 dism /online /cleanup-Image /restorehealth

linux swap

cd /var/ # 创建一个swap文件,大小是count,1g就是1024*1024*1 dd if=/dev/zero of=swapfile bs=1024 count=2097152 # 设置swap文件权限,标记swap文件给系统用 chmod 600 swapfile /sbin/

postgres

backup pg_dump -U postgres -d change-this-db-name > /var/lib/postgresql/data/change-this-db-name.sql restore psql -U postgres -d change-this-db-name -

zsh

# 代理 export http_proxy="http://127.0.0.1:3000" export https_proxy="http://127.0.0.1:3000" # oh-my-zsh sh -c "$(curl -fsSL https://raw.githubuserconte

install chrome with command

curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb apt-get --fix-broken install -y ./google-chrome-stable_current_amd6

windows & office

download windows & office -> https://massgrave.dev/ powershell permission -> set-executionpolicy remotesigned active windows & office -> irm https:/