Heroku Alternative: Dokku

Dokku is advertising itself as a self hosted Platform as a service and it lives up to its promise. You can fairly easily deploy a range of applications like Ruby, Node.js, Go and so on. Basically everything beyond your standard PHP CMS like WordPress (but also that ;)).

Dokku is easy to install and maintain. Under the hood it uses docker containers to run your apps. Dokku also comes as a pre-built app as a one click installer on Digital Ocean*. Since Dokku is very easy to install, there’s a couple of alternatives for you, for example Linode* or Vultr*.

Note: Dokku recommends at least 1GB or RAM.

Continue reading “Heroku Alternative: Dokku”

Visualize / Analyze Disk Space on Windows, Linux and Mac OS

Do you want to know which files on your computer take up a ton of space? I do, frequently. Being the system administrator at work and at home trying to keep my Dropbox on a free plan, because to be honest, how many files do really need to have access to at any point in time?

Anyhow, the following programs make the information of what really takes up space on your Windows machine, Macbook, Linux hacker heaven box and what ever else you installed an operating system on very accessible. Analyzing your disk space visually is much more intuitive than trying to understand the raw numbers and compare them in your head.

Continue reading “Visualize / Analyze Disk Space on Windows, Linux and Mac OS”

Nautilus / Nemo: Missing Image Previews on Linux [SOLVED]

A default limit to image files like .jpg, .png and similar causes Gnome Desktops not to generate image previews for them on Linux. If an image is larger than 10 MB, no preview will be displayed, but the default image icon. Here’s how to fix it:

Continue reading “Nautilus / Nemo: Missing Image Previews on Linux [SOLVED]”

Quick Fix: Run C# Code on Linux with Mono

Running C# (or C-Sharp) on Linux is pretty trivial unless you depend on something that’s a Windows specific library. I just came a cross a tiny bash script (rather alias) I wrote when I was a teacher, since I also taught basic programming with C#. Since I’m cleaning up an old hard drive I stumbled across a small script I wrote for that.
Continue reading “Quick Fix: Run C# Code on Linux with Mono”

Deploying your Golang App without Docker

How to deploy an app written in Go? That’s one of the questions I had when I first wanted to get something online after playing with Go for a while. Thinking back I think the first project I got online, was probably the redirect checker which is explained in detail here: Tracing or Preventing HTTP Redirects in Golang

When you just want to get stuff running, you probably don’t want to learn a container system, but just get it out there which is exactly what we’re going to have a look at in this post.

Continue reading “Deploying your Golang App without Docker”

Best Cheap VPS Hosting Comparison (2017)

What are the greatest and cheapest VPS servers out there? Here’s a list of providers that offer developer friendly virtual private servers that make it super easy to spin up a new server in minutes.

My most common use cases for me are either starting new projects for pages, webcrawlers or to put client projects in a staging environment for them to preview it. I write my projects with a variety of languages and stacks, most commonly: Node.js, PHP (Laravel and WordPress) or Go, backed by xSQL or MongoDB.

Continue reading “Best Cheap VPS Hosting Comparison (2017)”

[Solved] Linux Mint 18 not waking up from Suspend / Hibernate after Lid close

My Linux Mint 18 today was refusing to wake up from Suspend/Hibernate after I had closed the lid. It’s a little odd, because I went for the cinnamon and all other niceness installation variant, an image that wouldn’t even fit on a 2GB USB flash drive.

The only thing I apparently had to do was to open the driver manager and install the graphics drivers, followed by an apt-get update && apt-get dist-upgrade

Continue reading “[Solved] Linux Mint 18 not waking up from Suspend / Hibernate after Lid close”

vnstat – Error: Interface “eth0” not available, exiting.

I recently came across this error message on one of my virtual private servers, where I was trying to have a closer look at the traffic. vnstat is a really cool tool for that sort of thing and on most Linux servers you should be able to install it with sudo apt-get install vnstat.

I was running vnstat -l and got the following response:

getting traffic...Error: Unable to get interface "eth0" statistics.
Error: Interface "eth0" not available, exiting.

Continue reading “vnstat – Error: Interface “eth0” not available, exiting.”

How to use SSH keys for Authentication (for beginners)

SSH keys make my life easier on a daily basis. I use them to log into remote root and virtual private servers for various work and spare time projects, which is probably the most common use case.

The point of an SSH key is to authenticate you with another host, also for example with a git server in order to prove that you’re really you.

In this example I’ll create a Digital Ocean Droplet to create a Linux Server for the examples. Click the link for a 10$ credit with them 😉 Another host I can recommend is Linode!

Continue reading “How to use SSH keys for Authentication (for beginners)”

GitKraken – Git GUI client with Linux support

For about a month now I’ve been using GitKraken every day, which has entered public beta some weeks ago.

It’s quite a neat GUI client for git, making all kinds of tasks nicer to perform and the best thing: It’s really cross platform and available for Linux, my operating system of choice.

Continue reading “GitKraken – Git GUI client with Linux support”