Whitelines Paper Review

Whitelines is an easily scannable college (A4) paper that usually comes which squares or lines and an iOS or Android app. Its goal is to allow you to easily scan your notes to an image or directly upload to Evernote or Dropbox.

I’ve written a bit on it and want to let you know what I think, because the bridge between analog and digital is yet far from perfect and digital tablets or viable sketching or drawing methods still have not saturated the market appropriately, so this seems like a great “in between” solution.

I’ve previously eyeballed remarkable but it comes at a bit of a price tag and it’s not real paper after all.

Continue reading “Whitelines Paper Review”

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”

2017 Review

Everybody who’s reading this: Thank you! It probably means you have my blog in your feed reader and that you’re a follower.

Most of my blog hits are from strangers that want a quick fix for a coding problem, so thank you for reading this, even though it has no pragmatic value to you!

2017 has been wonderful, mostly due to my private life and off the beaten track endeavors with my better half over at GegenWind Photography, we mainly operate in Copenhagen 😉!

Continue reading “2017 Review”

How to mine Monero with the XMR Stak Miner on Linux

XMR-Stak is somewhat of a go-to miner if you mine Monero or Aeon on the command line. The miner supports CPU, Nvidia and AMD GPUs. Let’s go over how to use it on Linux. Another user on reddit pointed out that I should probably give xmr-stak a try since it supposedly is faster than the cpuminer-multi that I’ve been using in the previous post.

If you want some more info on mining in general or how to set up your wallet, have a look at How To Mine Monero (XMR) with your CPU on Linux.

Continue reading “How to mine Monero with the XMR Stak Miner on Linux”

How To Mine Monero (XMR) with your CPU on Linux

Monero is a cryptocurrency similar to Bitcoin and in this blogpost we’re going to have a look at how to mine some Monero through a command line based miner on Linux.

In contrast to Bitcoin and Ethereum a strong mining GPU is not impacting the payoffs as much since the cryptonight algorithm is CPU friendlier.

Technically you can run the miner anywhere it compiles, but Linux is probably the most likely candidate for your private mining operation since Linux servers are widely available in the shape of virtual private servers for you to quickly try it out.

Disclaimer: unless you have a lot of CPUs at your disposal it might take a while until you reach a payout.

Continue reading “How To Mine Monero (XMR) with your CPU on Linux”

Programming for Beginners: Cut Out All Unknowns

One of the most important things I tell newcomers to programming over and over is to start with the easiest puzzle pieces, over and over. It’s so vital to success that you can cut problems into sub-problems and then solve them and fit the solutions back together.

This almost never means that you start writing at the top of the file and continue for 200 lines without changing or deleting a line. It’s an iterative process.

Continue reading “Programming for Beginners: Cut Out All Unknowns”

WordPress .htaccess and Permalink Cheat Sheet

WordPress is still incredibly popular and sometimes you have a to move a WordPress installation or you want to change your permalink structure. Regardless of your motivation, you probably don’t want to hurt your SEO.

I’ve spent some time writing and testing .htaccess for Apache2 redirects recently, so I thought I’d share a list of commonly needed WordPress redirects using regular expressions or just removing segments.

By default I’ll assume you use a .htaccess file that looks something like this:

Continue reading “WordPress .htaccess and Permalink Cheat Sheet”

Handlebars Custom Helpers and Chaining

Handlebars is a popular templating engine for JavaScript and in this post we’ll have a look at how to write a custom helper. On top of that, we’ll also look at pre-compiling a part of the template and returning the compiled HTML from the helper.

We’ll be using a simple express app with some handlebars views for the setup and we’ll just quickly walk through using handlebars with Express.

Continue reading “Handlebars Custom Helpers and Chaining”

What is Patreon?

Patreon* is a platform to make money through a payment model between subscriptions and donations. Technically it’s a mix of both. It’s the digital model of the relationship of an artist with their patron that would pay them to create.

Their patrons wanted them to carry on pursuing their craft, often requesting a specific artwork from them. It’s a form of sponsorship and not directly contracting a service.

Continue reading “What is Patreon?”

Deploying Go Apps with Systemd in 10 Minutes (without Docker)

When you want to deploy a dead-simple Go API and you don’t really have the urge to learn Docker and large scale deployment (although certainly a useful skill), you have come to the right tutorial.

We’re going to have a quick look at setting up running a golang web app on a Linux VPS without spending more than 10 minutes on it.

Continue reading “Deploying Go Apps with Systemd in 10 Minutes (without Docker)”