useful tools
- https://excalidraw.com/ (drawing tool)
- https://www.codeplanner.co/ (database / interface / logic planner )
- https://notion.so/ (wiki / docs / projects)
- https://www.eraser.io/home
- https://fig.io/
- https://github.com/codesenberg/bombardier (request benchmarking tool)
only Mac
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install wget
$ brew install gh
$ brew install pnpm
$ brew install --cask fig
$ brew install --cask iterm2
$ brew install --cask visual-studio-code
$ brew install --cask numi
$ brew install --cask notion
$ brew install --cask dbeaver-community
$ brew install --cask spotify
$ brew install --cask mongodb-compass
$ brew install --cask raycast
zsh setup
$ sudo apt-get update
$ sudo apt-get install zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
$ cd ~/.oh-my-zsh/themes
$ wget https://raw.githubusercontent.com/jsupa/jsupa/main/spitik.zsh-theme
$ cd
$ nano .zshrc
on .zshrc
change ZSH_THEME
to spitik
> ZSH_THEME="spitik"
reaload zsh $ source .zshrc
wakatime
$ python3 -c "$(wget -q -O - https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py)"
$ cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/sobolevn/wakatime-zsh-plugin.git wakatime
hen add wakatime
to the list of plugins in your .zshrc file.
node version manager
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
$ source .zshrc
$ nvm install --lts
$ nvm use --lts
$ node -v
$ npm -v
pnpm Ubuntu
$ curl -fsSL https://get.pnpm.io/install.sh | sh -
btm
mongo 4.4 (core dumped)
- https://www.mongodb.com/docs/v4.4/tutorial/install-mongodb-on-ubuntu/
- https://askubuntu.com/a/1403683
mongo latest
install pm2 daemon process manager
$ npm i pm2 -g
$ pm2 set pm2:sysmonit true
$ pm2 update
$ pm2 install pm2-logrotate
$ pm2 startup
libssl1.1
$ wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
$ sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
git setup w/ github cli (easy and fast) no ssh keys
$ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
$ sudo apt update
$ sudo apt install gh
$ gh auth login
$ gh auth setup-git
$ git config --global user.email "email"
$ git config --global user.name "name"
SSH
- import old .ssh folder > client
- add pub to known_hosts > server
random / useful
$ sudo nano /etc/ssh/sshd_config
$ sudo service sshd reload
$ sudo systemctl restart sshd
$ sudo lsof -i -P -n | grep LISTEN
$ cd /etc/systemd/system
$ sudo systemctl start
$ sudo systemctl enable
$ sudo timedatectl set-timezone Europe/Bratislava