Write to log file in Go

References https://stackoverflow.com/questions/19965795/go-golang-write-log-to-file

Read More

Redirect Request to SSL on Apache

When redirecting everything you don’t even need a DocumentRoot:

Note: Once the configuration is working as intended, a permanent redirection can be considered. This avoids caching issues by most browsers while testing. The directive would then become:


References https://wiki.apache.org/httpd/RedirectSSL https://serverfault.com/questions/429634/restrict-apache-to-only-allow-access-using-ssl-for-some-directories

Read More

Configure CMake to use GLIB

References https://github.com/gammu/gammu/blob/master/cmake/FindGlib.cmake

Read More

Install ShadowSocks via shadowsocks-libev on Ubuntu 16.04

Configure and start the service

References https://github.com/shadowsocks/shadowsocks-libev

Read More

Add external libraries to CMake

References https://stackoverflow.com/questions/24570916/add-external-libraries-to-cmakelist-txt-c

Read More

Installing GCC & MSYS2

Add C:\msys64\mingw64\bin and C:\msys64\mingw32\bin, in that order, to your PATH add C:\msys64\usr\bin if needed edit C:\msys64\msys2.ini

References https://github.com/orlp/dev-on-windows/wiki/Installing-GCC–&-MSYS2

Read More

Install .NET Core on Ubuntu 16.04

References https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.0-download.md

Read More