I’m trying Visual Studio Code at the moment and it’s a fun and fast atom alternative. One of my early annoyances was that I could not figure out how to make my MarkDown files wrap at the desired column width.
The trick apparently is to define the following settings:
Continue reading “How to keep Soft Line Wrap at Column width Visual Studio Code and MarkDown”
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]”
Writing your own tools and scripts is always a very satisfying thing. You take something that used to take a long time and then you automate it.
Continue reading “Image Resizing with Gulp”
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”
Reddit did an amazing thing recently, that gave every user the possibility to place exactly one pixel every 5 minutes on a gigantic drawing board. What the community made of this was pretty incredible.
There were multiple Linux and video game logos, country flags and a ton of other stuff. I merely helped out keeping the tux (as seen above) in a good shape and revert stray pixels on its white belly 😉
Continue reading “Reddit Place and how they did it”
Let’s have a look at how to split application code and configuration for your Golang app. As an example I’d like to show how to use TOML to load your database configuration.
I came to write this because I was dabbling with exporting WordPress posts to TOML front matter / hugo and needed to be able to swap out database servers for development and production servers.
Continue reading “Golang TOML Configs Example: MySQL Connection”
In this post we’ll create a single page app with Vue.js that shows a random quote or string. We’ll start from scratch and use the default webpack-simple boilerplate provided by the creators of vue through
This again is part of the Making of photographerexcuses.com post series, where I walk you through all parts that were necessary to create the page.
For this tutorial you’ll need to have node.js including npm installed.
Continue reading “Building a Singe Page App with Vue.js Tutorial”
I wanted to make an API available on the same domain as a single page app built with Vue.js, which means that I had to rewrite a part of the domain to use another port on the same host, but you can also use an entirely different machine or have a load balancer in between.
This post is part of the Making Of: photographerexcuses.com series.
I picked nginx for a server for some PHP productions and this because it simply has the best configs and it tends to perform a bit better if you don’t have a lot of RAM to throw at your server.
Continue reading “Proxy / Rewrite your API Endpoint into Domain Segment with Nginx”
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”