- Iterm2 + Oh my zsh + Powerlevel10k
- Raycast
- et (needs install on remote)
- superpowered
- fig
- displaylink manager
# on local machine ~/.bashrc
rcp () {
</dev/null ssh sam-huang-dev "$1" | pbcopy
}
# to copy to clipboard
rcp "cat ~/text.txt"
- GoLinks
- DashLane
- ClockWise
- OneTab
- Column Copy
- sh -> https://explainshell.com/explain?cmd=%s
- g -> https://github.com/search?q=%s&ref=opensearch
- j -> https://snorkelai.atlassian.net/secure/QuickSearch.jspa?searchString=%s
- m -> https://www.google.com/maps/search/%s/?authuser=0
- b -> https://github.com/snorkel-ai/strap/branches/all?query=%s
- y -> https://www.youtube.com/results?search_query=%s&page={startPage?}&utm_source=opensearch
- exa
- the_silver_searcher (ag)
- tmux
- fzf
- glances [-2]
- micro
- ssh-agent (see https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
- fzf → ** + tab for autocomplete (works for files, ssh, and kill -9)
- eval "$(ssh-agent -s)"
- type CMD # will show command referenced by alias
- type -a CMD # will show all referenced commands in order of precedence
- CMD 2>&1 | tee -a some_file → redirects standard error to standard output and standard output to some_file and also print it to standard output
- hjson can fix the formatting of almost correct json
- pip3 install hjson
- JSON_OUTPUT | python -m hjson.tool -j
- control + r → search previous commands
- If you are using the Pylance VSCode extension you can set your source folder via the setting
python.analysis.extraPaths
(this fixes project imports not resolving) - CMD+P to search for a file
- CMD+SHIFT+F to find
- CTRL+j to remove linebreaks from selection
- git cherry -v main # see differing commits
- git diff [--stat] [--cached] HEAD^
- git checkout experiment -- app.js # copy the changes to app.js in branch "experiment"
- https://stackoverflow.com/questions/9864728/how-to-get-git-to-clone-into-current-directory
- docker system prune -a