Git clone a repository with submodules

When you clone a Git repository with submodules, you’ll realise that it does not bring down all of the branches and code for the associate submodules. A few steps need to be taken. Step 1: Clone the repository git clone <your_repository_url> Step 2: Init submodules git submodule init Step 3: Update submodules git submodule update

June 6, 2022 · 1 min · Andrew Wu

How to Install Jira on ARM Based Docker with Docker Compose

Here is note to talk about How to install Jira on ARM Based Docker machine. I use docker compose to install Jira on my ARM Docker. My image uses dchevell/jira-software-arm64 version: '3' services: jira: depends_on: - postgresql image: dchevell/jira-software-arm64 networks: - jiranet volumes: - jiradata:/var/atlassian/jira ports: - '8081:8080' environment: - 'JIRA_DATABASE_URL=postgresql://jira@postgresql/jiradb' - 'JIRA_DB_PASSWORD=jellyfish' - 'SETENV_JVM_MINIMUM_MEMORY=2048m' - 'SETENV_JVM_MAXIMUM_MEMORY=4096m' - 'JIRA_PROXY_NAME=' - 'JIRA_PROXY_PORT=' - 'JIRA_PROXY_SCHEME=' logging: # limit logs retained on host to 25MB driver: "json-file" options: max-size: "500k" max-file: "50" postgresql: image: postgres:9....

April 17, 2022 · 1 min · Andrew Wu

How to setup Cloudflare with Google domains

Cloudflare, Inc. is an American content delivery network and DDoS mitigation company. It acts as a reverse proxy between a website’s visitor and the Cloudflare customer’s hosting provider. After bought a domain name, usally I will need a domain name provider to protect our domain. I recommended to use Cloudflare to protect you domain, they provide free CDN, Cache and DDoS mitigation etc. But they don’t charge you for these services....

April 11, 2022 · 2 min · Andrew Wu

How to setup Google domains for GitHub Pages

GitHub Pages is easy to setup your owm blog with Hugo or another frameworks, but to a custom domain with Google Domains, you may run into some problems. Here is how you can do it in below steps: Step 1: Let GitHub Pages know your custom domain Go to your github repo settings page. Add you custom domain name at Settings > GitHub Pages > Custom domain. Step 2: Go to your domain provider points your domain to GitHub Pages Go to registar page on your google domains, select your domain....

April 11, 2022 · 1 min · Andrew Wu

How to fix broken GUI of UIAutomatorViewer on Mac OS?

First you have to check your java version to make sure your version is 1.8.0_xxx. You can use the command below to check your java version: java -version After go to download swt, the version has to be 4.20(it works for me). When downloaded swt 4.20, open the folder, and we have to rename the file swt.jar to swt2.jar. Open your your android sdk path: /Users/<USERNAME>/Library/Android/sdk/tools/lib, cd to x86 and x86_64 folder, then copy the swt2....

April 10, 2022 · 1 min · Andrew Wu