Tag: tutorials

Just as the title implies, this tutorial is going to cover what it takes to automatically cleanup a Plex media server, using Google Scripts. I am aware there are other ways to do this, but this tutorial is tailored specifically for Google Scripts. Table of contents SetupCodeExecutionNotificationsSetupHead over to the Google Script dashboard and create a new project. Before we start writing any piece of code we need some prerequisites, for our project. Open the View menu and click on Show manifest file. This will allow us to add dependencies and other scripts to our project. Now you can open...

Continue reading »

Recently I created a new theme for Ghost, that you can find here and can currently experience on this website. I wanted a way of showing it off, so anyone that wants to contribute to it or just plain use it, can get a feel of what it looks like in a live environment. Initially I looked at Heroku, but I soon fell into a rabbit hole of errors, because Docker doesn't play nice with Heroku and I didn't like that I would have to jump through hoops just to keep the app online. Keep in mind that this is...

Continue reading »

Recently I started working on a project that required me to have the backend part installed locally, instead of using a remote backend. The project uses Maven as a build tool and it deploys the code to a Tomcat server. I got cracking and started configuring the project on my local machine. The first thing I noticed is that Intellij IDEA Community does not have a Tomcat plugin, unlike the Ultimate edition, that has one out of the box. Many Google searches later I found a few plugins that might do the trick but when I tried using them, the...

Continue reading »

You're working on a new project with WordPress. You enjoy yourself. You're confident in your abilities but then all of a sudden you realize you need a bunch of custom post types and the user is not allowed to edit the title to one of them but you need to find a way to auto-increment the title because that was a client request. So, you pull up the functions file, scratch your head and copy / paste the bellow snippet and hope for the best. // Use a filter to make the change add_filter( 'wp_insert_post_data' , 'modify_post_title'...

Continue reading »

The author of this tutorial should not be held responsible for any loss of data or hardware that one may encounter by following this tutorial. You have been informed. We’re developers! We have projects, a lot of projects. We don’t want to store the old ones on our dev machine, because you know, storage and organizing stuff is important. Oh, who am I kidding, go rent yourself 20TB of space at Amazon, you’ve earned it. But if you don’t want to do that, what can we do about it? A simple answer would be to get...

Continue reading »