WSL ssh-agent

IntroductionWSL on Windows is great. After using it for some months, I have learned way more about how Windows and Linux systems interact. One of the things that bothered me was that for some reason my SSH keys on the WSL system never works. On my previous machine running Ubuntu,…

Git file permissions on WSL

Due to how docker volumes are mounted on Windows, I had to checkout git repositories on Ubuntu WSL to the Windows directory mount, eg. /c/workspace/... File permissions don't translate well from Linux to Windows, hence, the git files have their permissions "changed" to 755, which is the default mounted…

Waking up Wi-Fi on Ubuntu 18.04

I faced an issue with my Ubuntu boxes where the WiFi doesn't come back on when the machine wakes up. After trying a few suggestions on stackoverflow, I finally found a command that works. sudo service network-manager restartAnd to automate it to work on wake. We follow the steps here…

Increasing ulimit and file descriptors limit on Ubuntu 18.04

Most UNIX-like operating systems, including Linux and macOS, provide ways to limit and control the usage of system resources such as threads, files, and network connections on a per-process and per-user basis. These “ulimits” prevent single users from using too many system resources. (https://docs.mongodb.com/manual/reference/ulimit/…