Skip to content

TitleDoesNotMatter

Sharing random stuff

  • Home
  • Blog
  • GitHub
  • Contact

Year: 2019

  • Home
  • 2019
Posted on July 20, 2019February 11, 2020

Angular FormBuilder group unexpectedly change array to value

Problem Component editor receives an object and create reactive form base on the object passed in. Something like this(most fields are omitted): this.form = new

Read MoreAngular FormBuilder group unexpectedly change array to value

  • Web
Posted on June 15, 2019February 11, 2020

Jenkins Docker in Docker

Yesterday I was trying to deploy a Jenkins on a Linux machine. From my past experience, the official Jenkins Docker image works very well, I

Read MoreJenkins Docker in Docker

  • Tools
Posted on June 13, 2019February 11, 2020

CircleCI and Coveralls integration

Spent 2 hours to figure out how to automate Coveralls checking in CircleCI, the online articles are really outdated and not working… Solution You will

Read MoreCircleCI and Coveralls integration

  • Tools
Posted on June 10, 2019February 11, 2020

ngx-admin infinite interceptor call

Problem After setting up Auth in ngx-admin, the http call gets stuck in interceptor. You may see error in console like Max call stack reached…

Read Morengx-admin infinite interceptor call

  • Web
Posted on May 15, 2019February 11, 2020

Symbolic link fails on MacOS

Problem when you try to symbolic something using ln -s xx xx, you may get Operation not permitted error. Even sudo can’t solve the problem.

Read MoreSymbolic link fails on MacOS

  • random
Posted on April 5, 2019February 11, 2020

Jenkins user gets permission denied for using docker or docker-compose

Error message When you run docker-compose up -d in your pipeline script, the following error is thrown. The APPDATA variable is not set. Defaulting to

Read MoreJenkins user gets permission denied for using docker or docker-compose

  • Linux
  • Tools
Posted on March 28, 2019February 11, 2020

FreeRTOS xSemaphoreTake always fail

Here I am using binary a semaphore to protect(lock) a shared resource. Only one of Task 1 and Task 2 can only get the lock

Read MoreFreeRTOS xSemaphoreTake always fail

  • RTOS
Posted on March 16, 2019February 11, 2020

Django REST always return hyperlink with http proto even if the request is made via https

We always host Django app behind a proxy server(apache or nginx) in production, the connection from your client and the proxy server may be(better be)

Read MoreDjango REST always return hyperlink with http proto even if the request is made via https

  • Backend
Posted on March 4, 2019February 11, 2020

Mysql dump docker DB one-liner solution

ONE LINER docker exec CONTAINER_NAME /usr/bin/mysqldump -u root –password=PASSWORD DBNAME>FILE_NAME.sql

  • Backend
Posted on March 3, 2019February 11, 2020

Let’s encrypt (SSL) wildcard domain

Prerequisite Clone master branch from certbot Github repo here Easiest solution cd in to your cloned directory let’s say ~/certbot Set your domain as an

Read MoreLet’s encrypt (SSL) wildcard domain

  • Linux

Posts navigation

Older
Copyright © 2021 TitleDoesNotMatter. All rights reserved.
Busyness by WEN Themes