技术笔记
Hard reset supervisor to continue ingest kafka data on Druid
Today, I move my druid and kafka service to another server, but after restart druid and kafka, I find that new data won’t be ingested to…
技术笔记
Today, I move my druid and kafka service to another server, but after restart druid and kafka, I find that new data won’t be ingested to…
技术笔记
I used use the tool lsyncd to sync data between linux server, these days I want to sync data from linux to mac, and when start the lsyncd…
技术笔记
今天同事提到经常用Spotify来听播客,我以前也用过,但是因为我经常自定义RSS…
技术笔记
I have a project which has web code and server code, to build the project, I need to build the web module first, then build the server…
技术笔记
Today, I want to add moment library to my angular project to format the date, but when I import the moment on the component file, it report…
技术笔记
I like to use xml to define table structure, and write a local dtd file to validate the xml file. But when I try to update the dtd file, I…
技术笔记
在MySQL服务器上登录的时候我原来使用的方案是配置用户名和密码在~/.my.cnf文件中,因为这个文件里面的信息都是明文的,不是很安全。今天看到一个更好的方案,就是用.mylogin.cnf文件。mysql有一个配置工具mysql_config_editor可以维护.mylog…
技术笔记
对于一个程序员来说,最大的喜乐还是自己写的东西能够给大家使用了。我也想写很多东西,给大家使用,比如想做一些网站,写一些工具等等…
技术笔记
Sometime we want to print a pdf file as a booklet, so we need to change the page order of the pdf file. I wrote a script with nodejs to…
技术笔记
Today, I encounter a problem, I changed a file just for local test, but when I try to commit my changes, the file will be listed on the…
技术笔记
When dmg file size is not enough, we can use the following command to resize it.
技术笔记
Today, I created a new Telegram Group for gitlab notification, but it’s difficult to find all the projects that I configured the webhook…