Strangely, my Debian system (running on WSL) suddenly refused to connect to both Gitlab and GitHub using my SSH keys. Everything was fine when I last used it a couple of weeks ago. But now running the command ssh -Tv git@github.com returns a “Connection timed out” error. And I didn’t see the same issue using the same SSH keys on a Ubuntu system (also running on WSL) and Git Bash on Windows. So, there is no issues with my SSH…
Leave a CommentAuthor: Alvin Sim
This has happened to me each time I setup a new Debian or Ubuntu environment. Firstly, the yarn command I am referring to here is the JavaScript “Yarn” package manager. The yarn that was installed or already installed was the one used by the cmdtest. I thought I had yarn installed when I checked using the command which yarn and out printed /usr/bin/yarn. $ which yarn /usr/bin/yarn When I ran yarn upgrade I got this weird error message: ~/src/a-javascript-project $…
Leave a CommentChocolatey is a software or package management on Windows, similar to the apt command on Debian or Debian-based distributions. It’d be great if Windows has something similar built-in. This does make managing software so much easier. I have used Chocolatey for many years, since 2016 or earlier, and it is always one of the first things I install on a new Windows system. One of the main advantages of using Chocolatey and because it is a command-line-interface (CLI) power tool,…
Leave a CommentI listen to podcasts because it is one of the ways I can learn something new. There was a quote from someone, from whom I can’t remember, “Podcast is like a moving university”. I will always have something to listen to when I am doing my chores, commute, having my walks or exercise, etc. Below is a list of the podcast shows I enjoy listening to currently and they are ordered in no particular order. It’s very different from the…
2 CommentsWhen I use a computer, I like to have both hands on the keyboard, or specifically on the home row. I find that it is more productive than having to move them to grab the mouse every few seconds. This is one reason I am grateful for Software with great keyboard shortcuts and also that are easily customisable. Terminal (or terminal emulator) and command prompt which you do not really need to use the mouse. Websites with great keyboard shortcuts…
Leave a CommentDid you know: You can have a visual representation of the git status command output in your shell prompt? This is especially convenient for people who use the git command-line interface (CLI). Unfortunately, this doesn’t work with the Windows command prompt or cmd. But there are a few workarounds. git-prompt.sh Disclaimer: For this part of the article, I will show the how-tos by using Debian (on Windows Subsystem for Linux or WSL) and FreeBSD as examples. These are the Unix-like…
Leave a CommentDuckDuckGo is a privacy-first search engine which doesn’t track you. I started using it as my primary search engine in 2011. Below is my first tweet about DuckDuckGo. In the tweet, I shared an article on an interview (2012) by TechSpot with DuckDuckGo’s founder, Gabriel Weinberg. I’ve used duckduckgo for more than a year & it’s AWESOME. It is currently the default search engine in all my browsers http://t.co/Dngw2s9d — Alvin Sim (@alvinsim) August 24, 2012 My reason for using…
Leave a CommentOne day on my way back home, I was listening to one of Hanselminutes’s podcast episodes titled “Inside Linux on Windows with WSL and Tara Raj”. This reminded me of the first time I tried it when Microsoft first announced it back in 2016. Then, it was called “Bash on Windows” and Microsoft collaborated with Canonical, the company behind Ubuntu. Personally, I didn’t use it much. It was just another shiny new toy and I didn’t have a use for…
Leave a CommentI use a 15″ HP Pavillion and the touchpad drives me crazy. This happens with Dells’ as well. The one thing about the touchpad that bugs me, is when I start typing and ghostly things would start to happen such as my web browser will be the active window and new tabs and/or windows will start opening; or the right-click context menu would appear. Changing the sensitivity of the touchpad didn’t help. When I am using my laptop, it’s either…
Leave a CommentHave you ever added an environment variable in Windows and having to close and re-open the command prompt just to use it? Or worse, having to reboot Windows. I just found this cool command when I used Chocolatey to install maven. Right at the end of the installation, Chocolatey prompt me to run the refreshenv command to have the environment variable change(s) take effect without re-opening the command prompt. alvin@ALVINSIM-HP C:\Users\alvin\ > refreshenv Refreshing environment variables from registry for cmd.exe.…
Leave a Comment