Fixing the invalid private key error in the Google Cloud Platform App Engine app Settings page I've started playing around with Google's Cloud Platform recently and one of the first things I wanted to do was to secure my app's static pages so they could be delivered over HTTPS. This meant that I needed to upload my certificate and private key to Google. I went ahead and generated my key as usual and I thought I had an RSA key already, but Google didn't seem to like it.
Octotree breaks GitLab Issue Boards Octotree is an awesome browser extension that makes looking through Git repositories a breeze. It adds a vertical side bar that provides a file system view of whatever Git project you happen to be looking at. It works both on GitHub and GitLab, or at least used to. Recently I found that some features in GitLab stopped working while Octotree is enabled. Namely the Issue Boards do not load as expected.
Binding extra variables with PHP PDO returns no results As I expand the data binding layer for my travelblog.ws project, I keep coming across different ways of breaking the PHP PDO statement class. The recent peculiarity that I've come across was to do with binding more variables than there were bind parameters in the SQL statement. In this situation, PDO will not return any data. In fact this is documented in the API...
Older versions of JD-GUI crashing on macOS Sierra I've noticed today that my version of JD-GUI started crashing whenever I tried to open a jar file to decompile. I was on macOS Sierra and had version 0.3.3 of JD-GUI installed. This was the kind of error and crash report I was getting...
Force PHP GD library to load JPEG images that have invalid data While updating code my my travelblog.ws project I came across an issue where I was not able to upload certain JPEG files to the blog and have them automatically scaled down for thumbnail generation. The files opened fine on my Mac but PHP would not load them.
No sound or microphone when answering calls on an iPhone So this all started when I took my iPhone 6s to the Apple Store to have its battery replaced. They warned me that there was a chance that the phone may be damaged during battery replacement but if that happened, I'd get a replacement phone free of charge. I didn't think that was very likely so just went ahead with it.
Mad Max sound clicking glitch and how to fix it I received the Mad Max game for Christmas this year and have been playing it like mad ever since. I must admit it was hard switching to a game that is not Doom but considering how many new games I've yet to play, it was time to move on. Mad Max is awesome in its own way but it has a very annoying sound glitch on PS4. Every so often the game begins to 'tick' in an endless loop.
Prevent errors during ffmpeg execution in a loop I was using my Odroid XU4 based media server to transcode some videos using ffmpeg when I came across some strange errors appearing on the console. When I would run ffmpeg as a single command, it would work, however running it in a loop presented errors (or rather strange behaviour).
Pulse Secure VPN not working on macOS Sierra and how to fix it If you're running the 5.2 version of the Pulse Secure VPN client and happen to have upgraded to macOS Sierra, you will quickly find that it has lost your settings and is not able to make any connections. Instead it displays the message "Failed to connect to the Pulse Secure Service". Great!
Multiple page PDF scanning does not work in macOS Sierra If you're trying to use the macOS Sierra Image Capture utility and scanning multiple pages to a PDF file and wondering why you're ending up with just the first page, you're not alone. I've found this problem when doing some scans this morning, it seems that even when the 'Combine into single document' option is checked, any pages scanned after the first one are simply ignored.
VMware Fusion stops working after macOS Sierra upgrade I've been running the same version of VMware Fusion on a number of OS X releases and even though it was a rather old verion (6.0.6) it continued to work all the way up to and including on El Capitan. The official documentation stated that configuration was not supported, but it worked. Now I upgraded to macOS Sierra and all hell broke loose. None of my VMs would start and to make it worse the actual Fusion App itself was badly broken.
Fix G Suite SMTP error when adding another owned email address I've recently started moving all my email (personal and all my sites) to Google G Suite, formerly knows as Google Apps for Business. I was quite impressed with the service and was setting up all of my owned email addresses in Gmail when I hit the following error...
Resolving GAE deployment error - 'An error occured while deploying to AppEngine' I was doing some updates to my Guru JSON-RPC Tester recently and when it came to deploying my changes to AppEngine, I was presented with this very uninformative error message - "An error occured while deploying to AppEngine. See the error log for more details". That didn't give me any clue as to what the actual problem was, not to mention the obvious spelling mistake in the error message.
A spam/scam email from 24option.com I've received a curious email this morning for my other blog's (300 George Street Blogumentary) catch-all email address. The title was all in Arabic and came from 24Option Team. At first I thought it was a typical kind of spam email, but decided to have a look and found that it contained a username and a password for 24Option.
OpenWeatherMap 2.1 version API is now officially dead Not long ago I've written that OpenWeatherMap crippled its 2.1 version API by returning data for the same city no matter what the request was. Now it looks that OWM has completely killed off the 2.1 API endpoints in favour of its (paid) 2.5 version of the API.
Why "Browser API keys cannot have referer restrictions when used with this API" error happens After Google started to force developers to use API keys I changed my code accordingly and for a while everything was working fine. It wasn't until I tested my application on a real server that I started to get the 'Browser API keys cannot have referer restrictions when used with this API.' error. It didn't take too long to figure out why this happens and how to fix it so read on to find out.
Ingress crashing on launch after iOS 9.3.3 update I updated my iPhone 6s to iOS 9.3.3 today and noticed that Ingress started crashing every time I went into it. It looks like just as it zeros in on my location and the map is about to appear, it crashes.
How to stop the iMovie Video rendering error: 10008 On the weekend I was putting together some video footage from separate movie clips that I captured on my dashcam and every time I tried to export my project I'd get a 'Video rendering error: 10008' message. The same thing happened if I tried to share directly to YouTube too. This is how I managed to stop the error and successfully export my movie.
OpenWeatherMap cripples its 2.1 version API I've noticed that for the past few weeks my Photo Frame has been reporting odd weather. Instead of Brisbane, Australia it was giving me weather for Whitby, GB. I didn't pay much attention to it at first but then it got to me, I checked the configuration and that hasn't changed so I figured there must be something odd going on with OpenWeatherMap and turns out I was right.
A better way to handle fixed position DIV elements with form input fields Not long ago I wrote about Mobile Safari scrolling problem with an input field inside a fixed DIV and provided a solution that used a small amount of CSS to make the scrolling issue go away. This worked really well until I discovered that by setting overflow to auto caused the 'scroll' event to never fire. I rely on the scroll event firing so that I can dynamically load more data into a page, so this forced me into finding a better solution and here it is.
Mobile Safari scrolling problem with an input field inside a fixed DIV I've come across an issue in Mobile Safari while working on my travelblog.ws where 'fixed DIV' popup forms would cause the page behind the popup to scroll up as soon as the form was displayed. I narrowed this down to the jQuery .focus() method, but that wasn't the cause of the problem. Once I disabled auto-focusing of the first input field in my forms and manually selected an input field, the same behaviour manifested. I did manage to fix the issue eventually though.
SourceTree Git push fails with rejected tag Error messages I use SourceTree to manage all my Git repositories, it's a great tool but sometimes something goes wrong with remote tags refs in one of my work repositories and I get error messages when I do a push that tells me that a bunch of tags have been rejected. Now I never actually create any tags so this is a little confusing. Cloning a fresh version of the repository fixes this but is not a solution all the time, especially if you have a bunch of stashes. Luckily there is an option in SourceTree to disable pushing tags to remotes.
Windows not recognising digital camera, showing exclamation mark in device manager After I upgraded to windows 10 and then promptly uninstalled it a number of issues started to surface with the Windows 7 installation that weren't there previously. One of these was that whenever the digital camera, a Canon IXY 220F, was connected to the computer, it would not be recognised and would have a yellow exclamation mark next to it in Device Manager. Uninstalling the camera in Device Manager and reconnecting it to the computer would fix the problem temporarily, but after a restart the camera would not be recognised again. After digging through the Event Viewer I was able to find the cause of this problem and found a way to fix it.
Birthday Jar - how much money is inside? In my usual yearly tradition, on my birthday I go and cash in my birthday jar. Since I travel pretty much on a weekly basis for work and refuse to have a wallet, all my coin change (and recently all $5 notes) go into this jar after every trip. At 40-50 trips a year, this quickly builds up.
LinkedIn is quickly becoming a platform for spammers and opportunists I was never really sure about LinkedIn, but I got it as a way of connecting to work colleagues and possibly recruiters, basically anyone I didn't want to have on Facebook. I thought it would be a useful tool and actually put in some effort into setting up my profile, but the reality of it was that I never bothered to go and check it. There was no incentive to use it, so I just stopped updating my profile. Recently I had a number of people wanting to connect, most were genuine, but some turned out to be spammers and opportunists.
JWSC does not play nice with Java 8, works fine with Java 7 The more I work with JWSC, the more issues I seem to find. This new one is related to JavaCompiler and has the same smell as the other JWSC problem I've found. I've not had time to investigate this one in detail, but did find a workaround still.
Create an e-Commerce web site in one day with Bootstrap, PayPal and PHP I had an idea for a website a couple of weeks ago. It was a very simple concept - you write a text note up to 140 characters in length, pay for it and it gets sent anonymously on an A6 sized postcard anywhere around the world. The product was simple, the implementation of the site even simpler. Using modern technologies, implementing an e-Commerce web site is almost trivial. This article will show how I managed to take my idea from a concept to a fully functional e-Commerce web site in one day.
A quick start with the PayPal PHP SDK for the REST API PayPal's REST APIs are a very easy way to add e-Commerce functionality to your web project. There is a PHP SDK available for it, and there is a very good API Samples site that covers just about anything you would want to do with the SDK. However something that I thought was missing from this documentation was how to create your PayPal App and Sandbox accounts as well as the autoload.php file that's references but never actually included in the package.
Workaround for JDeveloper 12c Refactor Rename bug I use JDeveloper on an almost daily basis and when something as basic and fundamental to the product as the rename functionality breaks, it makes you want to tear your hair out. I'm talking about the Refactor Rename feature that has been broken since the 12c release. Luckily there is a workaround.
Deluge not starting on OS X - how to fix it Every now and then my Deluge app fails to start on the home server. This was a little frustrating at first, but then I figured out what was going wrong. This is how to fix Deluge and make it start again.
Unauthorised PayPal transactions and credit card fraud It all started one of the mornings for me. The bank sent me a strange TXT message asking me to confirm a transaction for $0.73 on my credit card. I couldn't be sure that TXT was from the bank so logged into my online banking and lo and behold I see pending transactions that should not have been there. Now I got suspicious.
Scam email: Remittance Data for Transaction 10144-15821-55797 I've received another one of those scam emails that claim that you have a big amount of money being transferred. I did some checking of the email addresses that are mentioned and where they came from, one doesn't have a website associated with it at all, the other points to a telecom in Taiwan that has been previously associated with spam activity.
Riverfire 2014 Cam For those of you in Brisbane, you can get to the Riverfire Event in person. For those who can't get there and still want to watch the fireworks, I'm going to be hosting a live webcam during the whole event starting at 3pm and ending at 7:30pm.
What it looks like when someone tries to break into your car I had a good, productive day at work, was working from home, so didn't have to drive anywhere, but in the evening I needed something out of my car. I went downstairs in the building that I live in and this was what I found. The passenger side quarter window was smashed in. There was glass all around, on the floor. It didn't look good.
Notice to appear in court email - ignore it I have recently received one of these emails and my first (irrational of course) reaction was to think about all of the things that could land me in the situation of having to appear in court. Then, I actually opened the email and had a look, instantly I realised it was a fake and either a hoax or a way to distribute viruses/malware to unsuspecting victims. Doing a bit of further research on the matter, I was right.
Bowers & Wilkins MM-1 Desktop Speakers Now that I've finally moved house and settled in somewhat, it was time for a treat and new desktop speakers. My old Bose ones died conveniently just before the move and after much deliberation I've decided to go for the Bowers & Wilkins MM-1 pair of desktop speakers. In a nutshell? One of the best decisions I've made.