Blocking a range of IP Addresses
If you manage a website (or a number of websites) you will inevitably, at some point, experience unwanted form spamming. It's certainly not the highlight of anyone's day but sadly a persistent experience in today's connected world. If you are able to use and configure .htaccess files on your web server then you can implement IP blocking to help minimise unwanted form spam.
Setting up SSH keys on Mac OS X for Bitbucket
If you're using a Git based source control management (SCM) service you'll need to create and configure SSH keys to facilitate trusted communication between your computer and the remote SCM repository. If you're using Mac OS X (or similar unix based system) then this process turns out to be relatively simple.
In the following article we'll show you how to accomplish this so you can safely and securely connect to one such SCM service - Bitbucket.
Adjusting transition speeds in jQuery Mobile
We've recently started developing with jQuery Mobile (jQM) and ran into an issue with the speed of page transitions taking place in our Adobe AIR application. Unlike previous complaints registered online from user's concerned about jQM running slowly we found the transitions were running too fast and needed to find a way to slow them down.
Installing the Adobe AIR SDK on Mac OS X Mavericks
If you're looking to develop Applications for the Desktop and Mobile (iOS, Android & Blackberry) platforms then using and installing the Adobe AIR SDK (Software Development Kit) on Mac OS X is pretty straightforward.
AngularJS errors with JSON parsing
If you've been developing with MVVM (Model View - View Model) framework AngularJS chances are you'll have encountered errors with parsing JSON from an AJAX call. Like any good web developer when you inspect the browser console for more information on the nature of the error you'll probably get something along these lines:
Error: JSON Parse error: unterminated string
CSS Hacks for Firefox
No matter how well you craft your CSS you will inevitably encounter a situation where a hack is the only solution to the problem you're facing. Normally this applies only to Internet Explorer but you may come across the odd time when, for whatever reason, Firefox is the misbehaving browser.
Now the question: how to go about targeting Firefox without affecting styles for other non-IE browsers such as Google Chrome, Opera and Safari?
Opening directories and files from the Mac OS X terminal
One of the things we love about Mac OS X is the ability to do the same thing just in different ways.
Case in point, opening files and directories in GUI view from the Mac OS X Terminal.
Pyrocms set advanced text editor new line to paragraph
We've been doing a lot of development with PyroCMS Professional 2.2.1 in the last 2 months and we're loving working with such a great CMS. We recently came across an issue with the advanced WYSIWYG text editor where the text content was not being wrapped in p tags as expected.
Fixing this turned out to be quite simple.
The basics of setting up Phonegap for iOS
If you want to develop for different mobile platforms but don't have the time, inclination or motivation to learn the Objective C, Java or C# languages then PhoneGap should definitely be at the top of your must-have technologies list.
In this tutorial we're going to take you through setting up the basic Phonegap environment for iOS.
Essential rules for print CSS
One of the most overlooked and often neglected areas of CSS development is that of printing. All too often front-end developers concentrate only on crafting styles that are compatible across different browsers and devices and don't consider how their pages may look when printed.
Let's take a look at some of the challenges involved with creating print optimised CSS.
Resolving iMovie 10's red tint on MOV file import
If you've recently upgraded to Mac OS X Mavericks you might find yourself experiencing an issue with importing MOV files into iMovie 10. Like many user's reporting similar experiences on the Apple forums you will probably find that your MOV files take on a red tint that can't be removed or corrected once they have been imported into iMovie.
Despite Apple's usual attention to creating an intuitive and seamless experience this is one issue that, as yet, has not been fixed by our friends from Cupertino.
So what to do?
Finding airports that use body scanners
We’re pleased to announce an upgrade to our airport body scanner locator app for the iPhone and iPad platforms.
After a lot of hard work adding in new features, refining existing functionality and improving the overall user experience we finally pushed version 2 to the Apple App store.
Resolving network connectivity issues with PhoneGap 3.3.0
Something very, very odd was going on here.
Xcode 5 accelerometer warning for ios7
If you're developing mobile Apps for iOS7 using PhoneGap 3+ and Xcode 5 chances are you've come across compiler warnings when publishing your app to an iOS device.
Typically these will involve the following:
- UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - UIAccelerometer has been replaced by the CoreMotion framework
- Implicit conversion loses integer precision: 'unsigned long long' to 'int'
Publishing your App still works but how to resolve these warnings? Read on...
Creating plugins for PyroCMS
If you're looking to add a powerful and flexible CMS to your development arsenal you could do no worse than choose PyroCMS.
One of the great features about PyroCMS is that it makes plug-in development easy, thanks to its underlying MVC architecture (courtesy of, at the time of writing, the Codeigniter framework). If you've been unfortunate to have any experience of writing plugins for Wordpress (and having to deal with the god awful spaghetti code mess that is part and parcel of the Wordpress approach to custom development) then you're in for a real treat with PyroCMS.
In this tutorial we're going to take you through the process of creating a Twitter plug-in.
Installing Ant on Mavericks Mac OS 10.9
When installing the Android platform for Cordova PhoneGap 3.1 on Mac OS 10.9 you might come across an error message informing you that the ant command could not be executed.
This is a relatively simple fix to implement, all it requires is a little command line jiggery-pokery.
Grunt JS and automating development tasks
The sheer number of processes and tools required for front-end development can often be time-consuming and frustrating to work with, particularly with the pressures of looming deadlines and potential bug-fixes. Add to this the adoption and promotion, by the web community, of new technologies and workflow innovations and it can sometimes feel a little overwhelming to try and tick all the boxes when it comes to a project build.
Sounds too good to be true? Read on...
Configuring root access on your Mac
If you don’t have administrator access to your Mac and need to perform tasks such as installing software then you’ll need to acquire root access. To do this is relatively simple, just follow the steps outlined below and you should be up and running in the space of 3 minutes or less:
Goodbye 2013, hello 2014
2014 is now officially here and like most people you're probably asking the question, as we are, where the hell did 2013 go?
After surviving the non-existent apocalypse that was to be the end of the Mayan calendar (late December 2012 for those who have no idea what that reference meant) 2013 was hurriedly coming into view and now it's hurriedly receding from view. Anyone else a little concerned at just how quickly the years are passing?
IE11 document modes and conditional comments
As any front-end developer worth their salt knows when building for a range of platforms it all comes down to testing, testing and more testing - particularly for those older browsers.
Enter Internet Explorer 11 and the headaches that Microsoft's latest 'enfant terrible' has caused when it comes to legacy IE testing.
What's happening with Codeigniter?
We've been developing with Codeigniter for the past 3 and a half years but given Ellis Lab's recent announcement a lot of people are asking the same question: what's the future of the framework? Despite understanding, and agreeing with, the reasoning behind Ellis Lab's decision there are many others questioning the wisdom of 'abandoning' one of the most popular and widely used PHP frameworks. Given its adoption rate amongst the PHP development community some are viewing this decision as suicidal for the future of Codeigniter.
Many developers are predicting its demise, stating quite vocally that Codeigniter is finished, and have started abandoning the framework altogether in favour of alternatives such as Laravel. We have to ask though - is all of this speculation accurate or even fair?
Solving pyrocms loading issues with php 5.3
We've recently started using PyroCMS for some of our projects and have been really impressed with the power, flexibility and intuitiveness of the platform (particularly compared with more widely used alternatives such as WordPress). It's safe to say that it's a CMS that we plan to continue working with for a long time to come although, in our experience, remote deployment can be a major pain to contend with.
Removing dynamically generated TinyMCE editor instances from the DOM
We recently had some interesting experiences with a client project where we were trying to remove TinyMCE editor instances, that had been dynamically added, from the browser DOM/memory.
Dreamweaver XML error
Having trouble with Adobe Dreamweaver failing to open on the Mac? Seeing the following error message when you try running the program?
Configuring Laravel 4 htaccess rules on a remote host
We've recently been developing with Laravel 4 and hit some issues with getting the apache mod_rewrite rules to work when transferring a website from our local development server to the remote server.
After many headaches and roadbumps along the way here's how we resolved that issue.
The cashless society and its consequences
The cashless society is an idea that’s been floated around for the past few decades but in recent years has started to gain momentum in the mainstream media. News articles abound with information explaining how electronic transactions will remove the headache of lost or stolen debit/credit cards, solve the problem of not having enough cash or spare change in your pocket to pay for products/services with and eliminate waiting times with current payment methods by offering the ability, for example, to pay via a swipe of a payment screen on a smart phone.
Sounds great doesn’t it?
Remembering Steve Jobs
Today marks the first anniversary of the death of Apple co-founder Steve Jobs; a man whose personality was often as newsworthy as his accomplishments. Loathed and admired, in almost equal measure, Jobs had an impact that went far beyond the borders of silicon valley. Helping to transform the image of computers from dull, grey and beige towers to engaging and aesthetic devices that spawned a multi-billion dollar industry which became an integral part of everyday life for millions of people was just one of his many achievements.
IE6 - 10 years old and counting
If you're a web developer the chances are this is one anniversary you won't be celebrating but Microsoft's IE6 is, officially, over 10 years old.