Entries from 2018-01-01 to 1 year
I have been using JavaScript's async/await for some reason with a vague understanding, and when it didn't work, I would use Promise. However, recently I have been seeing async/await being used more and more often, so I started to think tha…
There are times when you want to retrieve S3 files from one account to another. In such cases, it is quicker to create a dedicated user who can download the S3 file, but this can also be done by granting access to the destination S3 to the…
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…
Google Cloud Platform (GCP) has two types of accounts: user accounts and service accounts. A user account is a Google account, familiarly known as Gmail, that can belong to multiple arbitrary projects. A service account, on the other hand,…
There is a service called Azure Functions, which is like an Azure version of AWS Lambda. I wanted to operate Azure from MS Flow, and since MS Flow has a connector for Azure Functions, I tried to write a Function to operate Azure with Azure…
Basic authentication is an easy way to restrict access to a site. Basic authentication is convenient, but it is problematic because the browser does not remember the ID and password and you have to enter them each time, or anyone can acces…
When working with Docker, you may find yourself with a lot of unnamed images like the one below. The images are Official Description, and you can delete all of them at once as follows. $ docker rmi $(docker images -f "dangling=true" -q) Re…
Using an Arduino, I made a USB-connected volume control button that can turn up, turn down, or mute the volume of a PC. There are many different types of Arduino, but we will use the Arduino Micro, which has a microcontroller called ATmega…
In the following directory structure, how to get a list of directories directly under a bucket or "dir_A1/dir_B1" in JSON. s3://bucket_1/ dir_A1/ dir_B1/ dir_C1/ dir_C2/ dir_C3/ dir_A2/ dir_A3/ When directly under the bucket $ aws s3api li…
It is fine to use Docker on the Raspberry Pi by itself, but it is not so easy to use Docker on the Raspberry Pi as a mini-server. impetus The server, which performs periodic crawls, was running on a desktop PC. Since we planned to prepare …
This is a memo note on how to write a program to the ESP8266 from a PC. explanation This is a memo note for myself, but I will give a brief explanation. ESP8266 is a microcontroller with WiFi communication function. Create a program on the…
Office365 provides an API called Microsoft Graph API that allows you to access Office365. However, it is a bit time-consuming, as you need to acquire the token yourself and learn how to use the API. So, we will show you how to use Office36…
When I write JavaScript programs, I use TypeScript. Originally, I had written JavaScript directly, but the React component I wanted to use was written in TypeScript, so I tried writing it in TypeScript to see how it worked. I ended up not …
I was building a single page application and did not want to publish it externally, but wanted to put it on a non-local server to test delivery, so here are my notes on building it. Elements Since it was a static distribution and S3 seemed…
This is a note of what I am trying to do with the Azure Node SDK, trying to parameterize and execute on the Azure Data Factory pipeline. Pipeline execution of Data Factory is performed by the "createRun" method of the "pipelines" member of…