I’ve started playing around with Go to list files and do some file actions. It worked great; the code was done quickly, but it only had a console output. That’s when I started looking at GUI toolkits to create a file manager-like UI. I […]
Category: Technology
chmod +x with git on Windows
Sometimes you need to set the executable flag for files in a git project when you’re on Windows. To do that, use git update-index:
Kill processes on Windows via Command Line
Since working with Java, sometimes my services crash and the IDE does not recognize it. To kill the remaining Java processes, I use: That’s it. Interestingly, it does not kill IntelliJ IDEA, only the services. I guess, IntelliJ uses a different JVM name.
Print runtime dependencies in Golang
Getting a list of dependencies in Go is easy, but third-party libs have their dependencies, and it might not be obvious which ones get into the binary. Go does provide a way by using runtmime.debug.ReadBuildInfo().Deps. Just add this to your application and it will […]