CATEGORY

Developer Tools

  • January 3, 2021

Setup Homebrew on Windows

Homebrew is a package manager. It supports a Linux since version 2.0 and it also supports the WSL. This article explains how to setup Homebrew in WSL. About Homebrew Homebrew can Install dependencies at once. Updates and uninstall packages easily Homebrew following steps with 1 command. Download a package. Download dependencies. Install them with valid order. Generate and execute needed scripts. Benefits on WSL Linux distributions on WSL has a package manage. Are there any befits Homebrew has? Yes. Homebrew independent from the Linux distribution. Homebrew install packages into the user’s home directory. Linux distributions on WSL has apt-get. It […]

  • January 3, 2021
  • January 3, 2021

Docker: Check the Privacy Configuration if you use Docker on macOS Catalina 10.15

The Docker can mount the folder in host OS to share with container. This article says check points if this function doesn’t work fine. The running environment of this article is macOS Catalina 10.15. When the host OS is macOS, the privacy settings also needed to be checked. Situation I have been using the web server which is running on the docker container to develop. The content files are in the folder which is shared with the container, because I want to edit them quickly. The configuration file of the Docker Composer is following: version: "3" services: nginx: build: . […]

  • January 1, 2021
  • December 26, 2020

Creating the disk image file has HFS+ file system

The default file system of the macOS is changed to APFS since macOS High Sierra 10.13. The file system of the disk image file which is created by the Disk Utility had been changed to APFS also. They are not able to mount on earlier OS than macOS 10.13 which not supports APFS. This article how to create the disk image file with specify the file system. Creating the disk image file To create the disk image file, you can following way: Use the Disk Utility Use the hdiutil To specify the file system, use hdiutil to create the disk […]

  • December 31, 2020
  • December 26, 2020

Creating the zip file in format as same as Finder

Finder has a function create the zip file from the file or the folder. This zip file is different from the zip file Windows creates. This article says this zip file as Finder style zip file. You can create this zip file from the terminal and the shell script. You can create it in the automated script. This article explains that how to create the Finder style zip file and how to expand it. Creating the Finder style zip file You can create the Finder style zip file with ditto. $ ditto -c -k --sequesterRsrc --keepParent Test Test.zip Above line […]

  • December 25, 2020
  • December 26, 2020

Setup old macOS as guest on the Parallels Desktop

The version of the Parallels Desktop in this article is Parallels Desktop 15. Sometimes, long-lived product have been support too old macOS. Parallels Desktop is useful to test these product. It supports too old macOS such as OS X 10.5 Leopard Server as guest. There are some tips to setup OS X 10.15 Leopard Server as guest. If you want to set up old macOS as guest, this article will help you. The Problem The problem is that the Parallels Tools can’t be installed on the OS X 10.5.0 Leopard Server. The bad application icon was appeared. It seems that […]

  • December 7, 2020
  • December 26, 2020

How to configure the Nginx to support the HTTP POST method

How to configure the Nginx to support the HTTP POST method The docker is more useful to test and debug the code to communicate with the Web server rather than the real web server. The following post says that how to run the web server container with the docker. However, the docker can’t handle the HTTP method with the default configuration. This post explains that the Nginx in the container returns the contents of the file at URL same as GET method. Error Response The Nginx with the default configuration returns the response below when the client program connects with […]

  • December 7, 2020
  • December 26, 2020

The Docker is useful to test and to debug the code to connect with HTTP/HTTPS

If you implement the code to communicate with HTTP or HTTPS, you may want to test it with fixed response. The docker is useful to do it. It can create and run the container which contains the Nginx, the web server. You can test your application with this container. How to create the container Create the docker image To create the docker image, create the file with name ‘Dockerfile’ and write below. FROM nginx:1.17 Create the Composer define file Create the docker-compose.yml file and write code below. version: "3" services: nginx: build: . ports: - 8080:80 volumes: - ./content_home:/usr/share/nginx/html Create […]

>Programming Tips From Software Engineer

Programming Tips From Software Engineer

Technical News, Documents and Tips.

CTR IMG