-
There may be a case where you want to use WSL(Windows Subsystem for Linux) via a remote SSH connection. Configuring a remote SSH connection to WSL is not necessarily straightforward because: You need to configure port forwarding from WSL to the host machine WSL does not have systemd, so you need to configure automatic …
Read More -
Install pyenv to manage multiple python versions This gist self-explains how to install pyenv and use it to manage multiple python versions on your machine Manage virtual envs A virtual env is where dependencies live without polluting the global space of the current python version, preventing dependency version …
Read More -
I use linux terminal all day, and if you are like me, you should use tmux, which enables a number of terminals to be created, accessed, and controlled from a single screen, just to be more productive! So, there're some essential commands for tmux down below. start a new session 1tmux # session name will be 0,1,2, ... …
Read More -
This article is based on the content of aws knowledgebase. You might have been stuck in memory leak when building some kinda javascript-heavy frontend apps like Vue or React on a cloud server itself. Just for serving built artifacts, we do not need large instances, but still the building process is always hungry for …
Read More -
Manjaro is an attractive distro built on top of Arch. Let's get golang development environment ready on your Manjaro machine! You can just update the whole system packages and then simply install golang stable version provided by the Arch repository, not sure what it's called really. 1pacman -Syu 2pacman -S go 3go …
Read More -
As you may know, the package manager of Arch Linux is "pacman". 1sudo pacman -Syu #Update and upgrade system packages 2sudo pacman -S package_name #Install a new package 3sudo pacman -R package_name #Remove a package 4sudo pacman -Rn package_name #Remove along with backup-ed config files 5sudo pacman -Rsu …
Read More -
Back up the current sources.list first. 1sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup Well, run this command then. 1sudo echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list Now you can run apt update command! Happy networking! 😎
Read More