无线上网更加舒畅
- 改变信道,解决 Wi-Fi 信号拥堵
- 使用 QoS,智能调节设备带宽
- 整理 WiFi 列表
- 展示所有 wifi
netsh wlan show networks
- 隐藏指定 wifi
netsh wlan add filter permission=block ssid="这里填上你想要隐藏的 Wi-Fi 名字" networktype=infrastructure
- 白名单、黑名单
netsh wlan show filters
netsh wlan add filter permission=allow ssid="自家的 Wi-Fi 名字" networktype=infrastructure
netsh wlan add filter permission=denyall networktype=infrastructure
- 注意路由器天线的摆放方向 【与地面垂直】
- 定时重启路由器
睡眠小贴士
- 坚持固定的睡眠时间
- 尽量每天尝试锻炼 30min~,要在睡前 2~3 时结束锻炼
- 避免咖啡因和尼古丁的摄入
- 睡前避免摄入酒精
- 深夜避免大量进食、喝饮料
- 尽量避免使用会延迟或破坏睡眠的药物
- 下午 3 点之后不要午睡
- 睡前放松
- 睡前洗热水澡
- 保持卧室幽暗凉爽
- 适当晒晒太阳
- 醒时不要躺在床上
Medium Hack
The trick is to use google web_cache to surpass the premium wall.
https://webcache.googleusercontent.com/search?q=cache:target_medium_article
Alacritty Modification
1
2
|
brew tap epk/epk
brew install --cask font-sf-mono-nerd-font
|
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
|
brew install --cask alacritty
# config file
mkdir -p ~/.config/alacritty && touch ~/.config/alacritty/alacritty.toml
# install theme
git clone https://github.com/catppuccin/alacritty.git ~/.config/alacritty/catppuccin
# ~/.config/alacritty/alacritty.yml
env:
TERM: xterm-256color
live_config_reload: true
window:
decorations: buttonless
opacity: 0.6
dynamic_padding: false
padding:
x: 14
y: 10
font:
normal:
family: "SFMono Nerd Font"
style: Medium
italic:
family: "SFMono Nerd Font"
style: Medium Italic
bold:
family: "SFMono Nerd Font"
style: Heavy
bold_italic:
family: "SFMono Nerd Font"
style: Heavy Italic
size: 13.0
import:
# uncomment the flavour you want below:
- ~/.config/alacritty/catppuccin/catppuccin-mocha.yml
# - ~/.config/alacritty/catppuccin/catppuccin-macchiato.yml
# - ~/.config/alacritty/catppuccin/catppuccin-frappe.yml
# - ~/.config/alacritty/catppuccin/catppuccin-latte.yml
|
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
|
live_config_reload = true
import = ["~/.config/alacritty/catppuccin/catppuccin-macchiato.toml"]
[env]
TERM = "xterm-256color"
[window]
decorations = "buttonless"
opacity = 0.6
dynamic_padding = false
[window.padding]
x = 14
y = 10
[font]
size = 13
[font.normal]
family = "SFMono Nerd Font"
style = "Medium"
[font.italic]
family = "SFMono Nerd Font"
style = "Medium Italic"
[font.bold]
family = "SFMono Nerd Font"
style = "Heavy"
[font.bold_italic]
family = "SFMono Nerd Font"
style = "Heavy Italic"
|
https://www.joshmedeski.com/posts/setting-up-alacritty-for-a-fast-minimal-terminal-emulator/
macOS
Mac の Terminal で sudo 実行時にタッチ ID を使用する方法: /etc/pam.d/sudo
にauth sufficient pam_tid.so
を追加します。
1
2
|
# cd into icloud-folder
cd ~/Library/Mobile\ Documents/com\~apple\~CloudDocs/
|
postman old version
[https://dl.pstmn.io](https://dl.pstmn.io/download/version/9.31.28/osx_arm64)
find and delete files
1
2
3
4
5
|
# delete all files with pattern
find . -type f -name "._*" -delete
# delete with confirmation
find . -type f -name "._*" -ok rm {} \;
|