Updating PHP 5 (or any other) Apps with Docker

PHP5, released in 2014, has reached its end of life in 2018, but many hosters continued to support it. If you have any custom PHP applications, you might still be running them on a server that has a PHP5 runtime.

The upgrade path for these applications might not be obvious, but I found a way that should make it easier, so in this article we’re going to have a look at running PHP simultaneously with PHP5 and PHP7 using docker and docker-compose.

Continue reading “Updating PHP 5 (or any other) Apps with Docker”

How to set up an SSH Honeypot (low interaction) and live stream it

I recently found a streamer on twitch that had an interesting title:

Watch people trying to hack my computer

and the stream was just an endless list of unsuccessful login attempts to the bespoken server. In the description it said:

Can you teach me how to do this? No.

So naturally I had to do a bit of research and try out streaming some failed SSH login attempts into one of my servers. In this post we’ll have a look at how to set up your own honeypot with pshitt and if you’re interested you can stream the attempts to twitch as well 😉

Continue reading “How to set up an SSH Honeypot (low interaction) and live stream it”

Showing Indentation, Spaces, Tabs (Invisibles) in Various Editors

Invisibles are the characters that are in your editor anyways, but they are usually not displayed with anything but empty space or simply completely invisible, like line breaks. Showing invisibles in Vi or Vim can easily be done by changing the vim config with the list and listchars properties. Other editors have config files or an easy to use UI like Atom or Visual Studio Code.

Continue reading “Showing Indentation, Spaces, Tabs (Invisibles) in Various Editors”

Raspberry Pi (4) Kiosk / Wall Display / Dashboard

This post is about setting up a display with a Raspberry PI or similar computer using Linux, potentially raspbian / n00bs on an sd card and a screen. The Raspberry Pi 4 has some respectable specs is quiet, displays up to 4k and has Wi-Fi which makes it a pretty great dashboard display source.

Continue reading “Raspberry Pi (4) Kiosk / Wall Display / Dashboard”

How to quit vim / nano / any text editor on Linux

How do I quit vim?!

Has become a running gag of the computer nerd community for a few decades now, but recently I was asked by a fellow developer how to quit vim. Colour me surprised when what I saw in the terminal was not vim, but nano. After a few days of procrastination and consideration I thought it wouldn’t be too much to write a post about how to quit different text editors.

Continue reading “How to quit vim / nano / any text editor on Linux”

Codefund: Ethical Google Adsense Alternative?

In this article I’ll have a look at Codefund, which is an online advertising platform specifically targeted at the tech sector. So if you’re looking to monetize your tech blog, the documentation of you open source project or similar, this might be a possibly solution for you.

Continue reading “Codefund: Ethical Google Adsense Alternative?”

Music Monday: Sabaton, Combichrist, RAMMSTEIN, Storm Seeker

This Music Monday is going to be a bit different, because it’s not about one artist or band, but a few different ones (because with the old model, I’ll never get through them all).

Continue reading “Music Monday: Sabaton, Combichrist, RAMMSTEIN, Storm Seeker”

Cookies, sessionStorage, localStorage. What’s the difference?!

This post is about different storage possibilities in your browser. There are cookies, and different kinds of storage that can be accessed through JavaScript APIs in your client side code. They’re used for authentication, tracking tools like Google Analytics and a lot of other stuff, so let’s have a look at how they work!

Continue reading “Cookies, sessionStorage, localStorage. What’s the difference?!”