Welcome to new things

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

Entries from 2019-09-01 to 1 month

Memo on how to read Excel files in JavaScript using SheetJS (xlsx)

I use SheetJS (xlsx) to load Excel files in JavaScript (TypeScript). The usage is a bit peculiar and I forget how to use it easily, so this is a memo for my own use. manual https://www.npmjs.com/package/xlsx install npm install xlsx File r…

How to easily arrange graphs in a grid on a Tableau dashboard

It is difficult to arrange graphs in a Tableau dashboard because it is hard to get the layout to look the way I want. The reason is that when you drop or move an object with the mouse, it does not enter the intended hierarchy, Because chan…

How to do monthly/weekly aggregation in SQL Server

To aggregate data by month/week, first find the beginning date of the month/week of the date and GROUP by that beginning date. If the DATE_TRUNC() function can be used to get the head date, such as Google BigQuery, you can aggregate the da…

Memo for building Nginx+PHP+MySQL environment with Docker Compose

I had a need to use phpLDAPadmin, so I set up Nginx and PHP with Docker Compose and ran it there. This is a template memo for myself to prepare Nginx with PHP running on Docker Compose for the next time I want to use PHP on the web again. …