Moved From Wordpress to Hugo

Oh jeez, your site is so fast now. Also it’s changed in design a little. What’s up with that? Asked nobody. Here’s the answer though: I moved from WordPress to the static site generator Hugo

DigitalOcean firewalls are pretty good

Recently I decided I was going to switch to using DigitalOcean instead of Online.net, nothing bad on Online’s part, in all honesty I just wanted to play with Laravel Forge and as I was already having to reinstall a server I figured I’d switch to DigitalOcean to save a few coins.

Your super secret subdomain is not a super secret

You’ve started a new project right? Figure you want to show it off to a bunch of people. Sending preview links to friends and supporters?

Adding a Sendy shortcode to WordPress

Just now I decided to give Sendy a go for my mail lists. I wanted something a bit more self hosted than your usual Mailchimps and something a bit more robust than Mailgun lists.

The source code that got Apollo 11 to the moon

Blast off! Oh that’s cheesy. If you’re into your code and you’re into your space you may be interested in hearing that the source code for the Apollo 11 guidance computer has been put up on GitHub: Apollo 11 Guidance Computer source code. Of course the internet is having its way with it right now, filing issues such as adding a pull request that provides an extension pack for picking up Matt Damon{.

My screen keeps going black whenever a video plays and its really annoying

Like most of the posts on this site something’s been bugging me for almost years at this point (ok, a year.. probably less) and it’s finally pushed me over the edge to try to fix it. – My screen keeps going black, seemingly randomly whenever it decides it wants a breather. Let me preface I’ve got an NVIDIA GPU of some sort for the gaming and whatnot. It uses the NVIDIA GeForce control panel to sort its inner workings. If you’ve not got that you might be able to play along here but also you might be out of luck. Let me know in the comments if this helps either way.

Jetpack thinks I'm lucky. xml_rpc -32700 Try connecting again.

Well here’s one to get into straight away! Recently tried activating Jetpack but had this pop up instead? Your Jetpack has a glitch. Something went wrong that’s never supposed to happen. Guess you’re just lucky: xml_rpc -32700 Try connecting again. Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure https://icnerd.com/xmlrpc.php is working properly. It should show ‘XML‑RPC server accepts POST requests only.

Are your Steam downloads slow? Fixit fixit fixit!

Well colour my face egg-white. I was complaining a bunch about Steam downloading slowly and it turns out there’s an easy fix if it’s on Steam’s end and not your own. Now I’m guessing everyone and their dog knows how to solve this but in case you don’t know I thought I’d chuck up a little thing here. It’s quite a simple fix. Click up top of the Steam program “Steam” menu option and then Settings and then go to Downloads.

Windows 8.1 is here! Hopefully it'll fix some issues.

While I’ve not been able to get it just yet, reports are that Windows 8.1 is being rolled out as I type this. If you’re already on Windows 8 have a peek in the Windows Store and it should be there as an update. Fingers are very crossed that this fixes the issues we’ve seen in A fix for my Windows 8 laptop dropping wifi connection. Most notably of course the wifi dropping out for no apparent reason.

Installed OpenVPN in CentOS 6 – Can't find easy-rsa directory anywhere!

Just a quick one I came across today – I’ve installed OpenVPN but I wasn’t able to find the easy-rsa directory that simplifies the process of creating a server hugely. If you’re here for the same reason, it’s because it’s not delivered with the install anymore. Good times! As pointed out by a user in the comments.. it’s in yum just in a separate package. Can’t believe I missed that trick!

Dynamic backend servers with Varnish 3.0

Note: This only works in Varnish 3 – Varnish 4 removed the DNS director and we’ll have to wait on a VMOD or make one ourselves to get this working in version 4! Let’s say you’re wanting to host multiple websites on multiple backend servers and you want a single caching reverse proxy in front of all of them to make them super speedy. For example each of my sites lives in its own OpenVZ container for security purposes as well as super easy backups and restores if needed.

Webserver down: "Invalid command ‘php_value’"

Well this one took me by surprise I’ll say. It’s never fun when Zabbix lights up saying half of your websites have dropped out! Starting httpd: Syntax error on line 31 of /etc/httpd/conf.d/php.conf: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration [FAILED] Firstly DO NOT comment out the bottom two lines as some sites have recommended. The reason being this will allow your webserver to start up however PHP will not be processed, dumping all of your site’s code into the browser as plain text for anyone to see!

A fix for my Windows 8 laptop dropping wifi connection

Plagued by the constant disconnecting from the wifi whenever I wandered off for a few moments to do something in meatspace I had to find out what was going on. Then I procrastinated.. and completely forgot about it. Then it did it again so I started searching. Piecing together giblets of information from the internet I figured out Windows 8 likes to switch off power to the wifi adapter if the computer goes idle for long enough.

Install git from source on Centos 6

Just want the latest version of git but CentOS 6 doesn’t provide it using yum? Personally I needed this to install the completely awesome GitList Quick note – If you’re here because you need to just install git you probably just want yum install git! Before you start on this you should probably know that this will likely interfere with yum if you ever try installing git with yum or rpm.

Redirect / Rewrite destination IP address using iptables

Just a quick one on how to alter the destination of an outbound connection IP using iptables. I imagine a few tweaks would allow this to work in the sense of redirecting through a proxy etc too.