As configured in my dotfiles.
start new:
tmux
start new with session name:
| # Download new packages but don't install them | |
| # Save in /etc/systemd/system/ | |
| [Unit] | |
| Description=Pacman Automatic Download (no install) service | |
| After=network-online.target | |
| [Service] | |
| # Wait time if process hangs | |
| TimeoutStopSec=5m |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| import pandas as pd | |
| import asyncio | |
| # 初始化 DataFrame | |
| df = pd.DataFrame(columns=['id', 'name', 'value']) | |
| # 模拟异步增删改查操作 | |
| async def add_row(name: str, value: float): | |
| global df | |
| new_id = len(df) + 1 |
| { | |
| "editor.fontSize": 15, | |
| "workbench.editor.empty.hint": "hidden", | |
| "editor.tabSize": 4, | |
| "editor.insertSpaces": true, | |
| "editor.detectIndentation": false, | |
| "editor.autoIndent": "full", | |
| "workbench.colorCustomizations": { |