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”

Filezilla, great/best FTP and SFTP client for Windows, Mac, Linux

FileZilla is another program I simply would have a very hard time living without. It’s simply the one of the BEST FTP/SFTP clients ever, mostly because it works on Windows, Mac OS and Linux.

I use it for my company projects and as a standard practise for my students as a teacher. It’s an open source project, which makes it a very available tool. FTP and SFTP/SCP are quite essential for transferring and publishing in the web development world.

Continue reading “Filezilla, great/best FTP and SFTP client for Windows, Mac, Linux”

Screencasting for Video Tutorials on Linux with recordMyDesktop

Obviously screencasting falls into my domain of things to do, because it’s publishing digital media and also I’m currently recording some Linux tutorials of how to get some games working for Unganked. Secondly I’m negotiating to have a video course published, which I’ll mainly record on Linux, because the topic is partly command line specific. So I needed a way to record what ever is going on on my desktop, in full HD, with flawless audio and lots of frames per second. A program that is advertised for all this is recordMyDesktop. Continue reading “Screencasting for Video Tutorials on Linux with recordMyDesktop”

CigTrack Day #3: Open Source Software

Linux and other open source software play a significant role in technology nowadays. Linux runs on most supercomputers, server systems and most smartphones (inside Android) in the world.

I also use Linux on the desktop and especially for development it’s just great. You can test in an environment that is very close to your server and there’s many great tools that are made for developers. Also Linux makes it easy to write your own tools. Continue reading “CigTrack Day #3: Open Source Software”