Category: Tools

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 can build all of my projects without doing any messy configuration. However, the latest Jenkins Docker image seems to be a simplified version, as in most of the plugins and […]

Read More

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 need this library github.com/mattn/goveralls The idea is to run test coverage and save it into a file, then use the above lib to post it to Coveralls. Don’t forget to […]

Read More

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 index pattern’ message just statys there forever. Js console in browser shows an Error: Forbidden. Googling around gives a possible reason: elasticsearch’s index is made read-only and never set back […]

Read More

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 the generated .cs file ./obj/Debug/YOUR_SDK_VERSION/*.cs Why is it not resolved Rider by default does not index obj folder and bin folder so the code inspector fails to find the generated […]

Read More

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 ts files on the fly but unfortunately, WebStorm does not have an option to debug it Easiest solution I have found Edit the default config, add this in node params […]

Read More

Inno setup insists to copy files to SysWOW64

I’m trying to copy a file to system32 folder, I use {sys} constant provided by Inno Setup. First failure The script for this file looks like this Source: "..\Release\kernel_driver\mydriver.sys"; DestDir: "{sys}\drivers"; Permissions: admins-full This should copy the file to C:\Windows\System32\drivers\mhydriver.sys So this obviously failed since I’m writing this post…The file is copied to this path […]

Read More

Force CLI tool to use SOCKS5 on macOS

Background A coder can’t live without Google but things get difficulty in China… Google, Facebook, Instagram etc. I don’t know how our dear computing students search for exceptions, documents but personally, I am spoiled by Google and StackOverflow. So I gotta find a way to access these when I come back home for holidays. In […]

Read More