Creating a WordPress Plugin
If this post makes it to published status before it’s completed, I obviously forgot. My apologies, I’ll update it as soon as I realise! Post regarding creating a WordPress plugin to add a custom widget. Continue reading
If this post makes it to published status before it’s completed, I obviously forgot. My apologies, I’ll update it as soon as I realise! Post regarding creating a WordPress plugin to add a custom widget. Continue reading
I’m spending waaaay too much time in terminal these days and I’m slowly replacing functions I use on my Google Home Mini with commands on my MacBook, because, as always, why not? The title says it all. I can now run a weather command in terminal to grab the weather… Continue reading
The Background For one of my home projects, I require an API service for my Angular SPA to interact with. I could’ve opted for C++ or Java but the turnaround on writing code in nodeJS is so much quicker, not to mention its efficiency. The project I’m working on is… Continue reading
I use inline code styling for a lot of my posts and I have been asked on several occasions how so. Well, I added some custom shortcode to my wordpress HTML editor. I’m a developer, and I very much dislike the visual editor, and so I use the HTML editor.… Continue reading
So, if you can’t tell from my recent posts, I am currently obsessed with remote control. Powering things on and off. I work on my laptop a lot, and typing is a lot quicker for me than moving the mouse around, so I spend a lot of time with terminal… Continue reading
So, carrying on from my Setting up Wake-on-lan on Ubuntu Server 18.04 LTS article, I decided that I would probably like to shut down my server a little bit more easily too. In case you’re not sure what server I’m referring to – I run a local headless ubuntu server… Continue reading
ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO) is not something you want to see when you try and login to mysql using the default root account with no password, especially when there is no password, on a fresh install! So this was the problem I faced… Continue reading
Alright, where to begin?! When I work from home, which is almost always, I often find myself working on various devices (MacBook, Dell laptop, desktop) and lately I’ve been working on a heavily database oriented project. Local dev with databases involved isn’t very friendly across multiple machines. You can add… Continue reading
So for the last 2 hours I’ve been getting errors trying to compile some C++ code on my mac that makes use of ffmpeg. For clarity, I’m using a modern MBP, Xcode and C++ to try and compile some simple ffmpeg code to spit out a list of stuff I… Continue reading
Here’s a method for calculating the nth Fibonacci number, written in Java. static int fibN(int n) { if(n <= 1) { return n; } else { return fibN(n-1) + fibN(n-2); } } This method is great for demonstrating recursion but it’s terribly inefficient for the task at hand. A more… Continue reading