Welcome to new things

[Technical] [Electronic work] [Gadget] [Game] memo writing

Windows Subsystem for Linux

The story of how I moved to WSL2 because Puppeteer stopped working at WSL1.

I have been using WSL1 and was thinking of using WSL2 sometime in the future when it becomes more stable, but now I have moved to WSL2 out of necessity. I'm going to write about the transition from WSL1 to WSL2 and the related Docker and X…

jq usage memo

Shell scripts use the jq command to retrieve data from JSON. I often forget how to use it, so here is a memo for my own use. Basic Basic operation "takes input from standard input, filters it, and outputs it to standard output." . represen…

Command memo for downloading a small file with SVN

I have a project that uses SVN and I may download the latest files from there. This is a minimal SVN command memo to be used when you just want a specified file, and you want to retrieve such a little file. svn installation sudo apt-get in…

AWS CLI configuration notes

It's been a while since I installed the AWS CLI. I see that it is now at version 2. Once you set it up, you don't have a chance to touch it and forget about it, so here is a memo on how to set it up for yourself. Basic Structure Set profil…

How to automatically change environment variables for each directory in Linux

The Docker Compose project name is the name of the directory where the docker-compose.yaml file is located. However, there are many cases where you may want to give a directory a different name. In such cases, you can specify the project n…

How to split logs into tabs for each container in Docker Compose

When I want to link multiple containers together, I use Docker Compose. When you run Docker Compose, you will see the logs for each container, but you will see the logs for all containers on one screen. I want to follow the log for each co…

I'm going to try to make the Linux shell switch in tabs like Chrome.

When I usually work with Linux, I have multiple terminals up and running. I'm not particularly inconvenienced by that, but I was looking into the possibility of launching multiple shells in a single CUI terminal and switching between them …

Using peco/fzf has made the selection process in the Linux shell dramatically easier.

I was looking for some kind of tool to help me select clusters for Kubernetes, and I saw a tool called peco. https://qiita.com/sonots/items/f82912367693d717ff06 PECO is an independent tool that has nothing to do with Kubernetes, but when I…

Fix WSL's Windows folder colors that are hard to see.

WSL (Windows Subsystem for Linux) files and folders are closed within WSL and cannot be accessed from outside WSL, such as Explorer. So I use a symbolic link to refer to a Windows folder as a location that can be accessed from both WSL and…

Building a Node.js environment in WSL with nvm

As with Building a Python environment, this is a note from when I re-installed the Node.js environment on a new version of WSL's Ubuntu. Since the version of Node.js used varies depending on when the JavaScript application was created, Nod…

How to run multiple Docker Servers with Docker on Windows

I have Docker on my Windows dextop PC running a server for a little routine work. However, since we also do development on the same PC, we do not want to have production affected by the work done in development, so we separate the machines…

Build Python3+Jupyter Notebook environment with pyenv on WSL

Since the version of Ubuntu in WSL (Windows Subsystem for Linux) was getting old at 16, we installed a new Ubuntu with version 18. I also re-set up Python3 + Jupyter Notebook accordingly, but I ran into a few snags along the way, so here a…

Does that mean that the strange cursor display of Emacs in WSL (Windows Subsystem for Linux) will be fixed if I wait a little longer?

2019/05/22 Update The news is that the Windows 10 May 2019 Update (build 1903) has been released. I updated it right away, and it fixed the weird Emacs display in WSL! It was worth the wait. But maybe I should have waited a little longer..…