News and Blog

How To Play iRacing With a PS3 Controller

May 11th, 2015 - Posted by Steve Marks to Gaming.
I finally took the plunge last week to signup for iRacing. After watching videos on YouTube for months of other people playing I decided it was about time. The problem? My wheel and pedals hadn’t arrived yet. No way was I going to play with the mouse and keyboard, and I didn’t ...

Sorting a PHP Array with a Key of Decimal Type

April 28th, 2015 - Posted by Steve Marks to PHP.
There are many PHP functions available that assist with sorting arrays. The one we’ll be talking about in this article is the ksort() function which is intended to sort an array by key. Now, to sort an array where the keys are of type decimal you would ordinarily think the following ...

Comments Disappeared From WordPress Site

April 12th, 2015 - Posted by Steve Marks to MySQL, Web Development.
Something odd happened today; A WordPress site of ours that had been operational for many years suddenly stopped showing comments. Not only that, but when trying to submit a comment the following error was shown: “ERROR: The comment could not be saved. Please try again later.” ...

The 100% Guaranteed Method To Get YouTube iFrame Embeds Playing in HD by Default

April 10th, 2015 - Posted by Steve Marks to (X)HTML / CSS, Javascript / jQuery, Web Development.
We were recently working on a site where we needed to display a full screen video embedded from YouTube using an iFrame. Now, normally when embedding a video on a site, we’d visit the video on YouTube, click ‘Share‘, and grab the embed code. That normally looks something ...

Prevent Body From Scrolling on Touch Devices using jQuery

April 10th, 2015 - Posted by Steve Marks to Javascript / jQuery, Web Development.
There are two scenarios I can think of when you might not want to the user to be able to scroll the window on handheld devices: 1. When a site is designed to fit within the boundaries of a viewport or 2. When a fixed full screen menu or modal window has opened, in which [...]...

DataTables Not Showing Processing Indicator During Server-Side Requests

April 9th, 2015 - Posted by Steve Marks to Javascript / jQuery, Web Development.
We use the DataTables jQuery plugin for the majority of applications where we need to display grids. It looks great, has a large number of customisable options available and is easy to work with. When dealing with large amounts of data it’s definitely advantageous to use the in-built...

Resolving a Non-Functioning Power Button on Samsung Galaxy S5

April 5th, 2015 - Posted by Steve Marks to Miscellaneous.
This post is a bit different from what I normally blog about; Programming, PHP, JavaScript etc. Today I’ll go a bit off-topic and discuss a problem I faced earlier today. I woke up this morning and the power button on my Samsung Galaxy S5 wouldn’t function. I hadn’t dropp...

Firefox Not Displaying Placeholder or Text Entered into Textbox

April 3rd, 2015 - Posted by Steve Marks to (X)HTML / CSS, Software, Web Development.
We use HTML5 input placeholders on the majority of our forms that we add to sites these days. They act as either instructional text (e.g. ‘Enter Keyword Here…’), or even replace labels completely. Whilst building a site recently, we came to perform cross browser testing a...

Solving Error “ERROR 1 (HY000): Can’t create/write to file ‘/tmp/#sql_9f3_0.MYI’ (Errcode: 17)”

March 31st, 2015 - Posted by Steve Marks to MySQL, PHP, Web Development.
Recently a site that we manage stopped working all of a sudden. The error being returned from the MySQL query was as follows: ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_9f3_0.MYI' (Errcode: 17) The error states that a file in the ‘/tmp/’ folder can’t be writte...

Technology Subjects for Research Reports

February 11th, 2015 - Posted by Steve Marks to Web Development.
The TOEFL iBT has four parts: writing, listening, communicating, and reading. Here are afew easy tips and tricks to help you enhance in each: READING Probably the most tough component in regards to the reading area is not being unable to comprehend the main points. There are two essential ...