Skip to content

Instantly share code, notes, and snippets.

@fanurs
fanurs / reinstall-vscode.sh
Last active October 7, 2024 04:11
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 August 27, 2024 11:23
Memory profiling Rust code with heaptrack in 2019