ONE LINER docker exec CONTAINER_NAME /usr/bin/mysqldump -u root –password=PASSWORD DBNAME>FILE_NAME.sql
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
Kibana create index pattern, error Forbidden
First time tries to create an index pattern in Kibana, after creating an index in elasticsearch, making sure the index name is correct, the ‘creating
Rider does not resolve generated code
If you are using protobuf and Rider is not able to resolve generated .cs files in Rider, here is a little bit help. Where is
Duplicate a MySQL database
When you need to copy a production db to debug or run some tests, you need to copy template data one place to another, you
Create Linux user for CI/CD(Jenkins here)
Why You often needs to execute shell scripts on the remote machine if you are using Jenkins to do CD to a remote server from
EF Core missing methods in generated DbContext
Problem Methods like UseSqlServer HasColumnName are not resolved Solution With only EF Core package is not enough, you need two more. Microsoft.EntityFrameworkCore.Design Microsoft.EntityFrameworkCore.SqlServer After installing
A CLI ping statistics tool
PingStats A CLI tool to help with ping logging and simple analyze, notify user when slow connection is detected Github link: https://github.com/Meowzz95/PingStats Sample Output 64
Mysql set default charset to utf8mb4(to support Chinese characters)
Setup Host: Ubuntu 16.04 Mysql: Ver 14.14 Distrib 5.7.22, for Linux (x86_64) using EditLine wrapper Why Somehow my default charset was set to latin1 which
Read MoreMysql set default charset to utf8mb4(to support Chinese characters)
A quick tip on debugging ts-node in WebStorm
Use ts-node to run typescript NodeJS project ts-node saves time to build ts project to js and use node xxx.js to run, it compiles the