Linux
I was using shell scripts and the scripts were getting long and hard to read, so I tried to summarize them with functions. However, the return values of shell script functions are different from those of functions in other programming lang…
This is a memo on how to encode and decode URLs with shell scripts. You can find many ways to do this by searching. https://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command At first, we tried using nkf for both enc…
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…
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…
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…
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…
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…
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…
PS I received an update notification for Chrome, and when I updated it, hoping for the best, it was cured so that I could type in the underscore! We will keep the original article. Below is the original article. I use Linux (Ubuntu) and Wi…
I wanted to create and manage users for local use in the project and set up an LDAP server. Since this was my first time touching LDAP, I wrote down a rough explanation of LDAP, its usage, and the procedure for installing LDAP on Ubuntu 18…
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 …
When I saw the news of the Raspberry Pi4 announcement, I pulled out my Raspberry Pi and touched it for the first time in a while. I had touched the Raspberry Pi a little before, but gradually stopped using it because I was too lazy to move…
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…
I have been touching OneDrive for a while now. I tried to use OneDrive on Ubuntu as well, but OneDrive does not have a Linux client. I did some research and found an article about a free OneDrive client for Linux, so I gave it a try. qiita…
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…
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…
We changed the server on which Jenkins is running, so we backed up Jenkins and reflected it on the new server. Just a note in case I need to backup Jenkins again. summary Jenkins is well designed, and all you have to do is copy the entire …
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…
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..…
When I try to draw diagrams in PowerPoint, I have a hard time deciding on the layout, size, etc., and I have a tendency to not be able to draw quickly. I thought that it would be better to have a rigidly restricted system, so I considered …
Batch processing of data recorded in each file is sometimes performed by shell scripts. If there were a large number of files, it could be very time consuming to process them sequentially, waiting for one file to finish before processing t…
I summarized the setup of GUI environment on Linux (Ubuntu) in the cloud to enable minimum GUI work (Chrome & Japanese input display & remote desktop) even on a machine with low specs. Background Recently, with the increasing use of web se…