Skip to content

Instantly share code, notes, and snippets.

@fanurs
fanurs / reinstall-vscode.sh
Last active February 9, 2024 17:03
How to reinstall VS Code remotely
# When to reinstall?
# - When VS Code cannot connect to remote server via the SSH extension
# - New extensions cannot be installed on remote server
# 1. Connect to remote server (without using VS Code, of course).
# 2. Remove the ~/.vscode-server directory
cd ~
rm -rf .vscode-server/
@HenningTimm
HenningTimm / rust_mem_profiling.md
Last active May 4, 2024 03:48
Memory profiling Rust code with heaptrack in 2019