image

Docker, GO and CGO application build

Docker, GO and CGO application build

I’ve been avoiding Docker for a very long time. I started as a sysadmin setting up servers running FreeBSD and early versions of Debian on bare-bone servers. As soon as “cloud” came into the market, I switched to AWS and GCE and have used them since then. EC2 was my always goto choice to deploy something on the internet quickly. But Docker — for some reason, I was avoiding it until this two years ago, when I started using it. Without too much trust.

But today, history is not about my love & hate relationship with Docker, but about deploying the GO application and VIPS library. A couple of problems appeared during the process, and it’s worth mentioning them for future generations because I could find much help around my issues.

Web thumbnails for free

Web thumbnails for free

Taking snapshots of websites – it’s very simple thing, but … you need to install an browser extension – I’m using Awesome Screenshot , or use magic shortcut in Mac OS X. You can also take advantage of services specializing in this task, but as far as I know there are not many free solutions. So today I will describe the project webthumbnail.org .</ The idea is very simple – generate snapshots of the page at any resolution, we can choose between several browsers (Chrome, FireFox, Opera).
How to get better results with ImageMagick and convert

How to get better results with ImageMagick and convert

In last two days I’m trying to find best way to convert PDF files to good quality JPEG files. Of course size does matter, not only in case of women breasts. When I was trying convert files directly from PDF to JPEG results was pretty scary: convert myfile.pdf[1] dc.jpg number 1 in brackets means only one(second) page to process. As I result I get file with pretty huge size: 496.8K