Submitted by John on Mon, 15/10/2012 - 17:42
Express 3.0 removed partials and layouts and now expects the template engine to take care of them. Many tutorials and helpful websites are now "broken". Here's how to make the NodeTutes Episode 10 work:
app.js
(changed lines in bold)
Submitted by John on Fri, 21/09/2012 - 15:58
Recently I changed my mobile service over to Másmovil (Spain).
I discovered I could log onto a client area on their website where I could consult my usage and change configuration.
Since I saw an option to enable roaming, I did so.
Submitted by John on Mon, 13/08/2012 - 16:48
GORM is very functional but not totally intuitive - every time I model relationships I again have to consult the Grails user guide to remember the differences between all the options. So I’ve written a quick-reference. This is a work in progress so there might be errors, sorry!
One to one
"Unidirectional"
class Car {
Registration registration
}
class Registration {
}
Submitted by John on Mon, 25/06/2012 - 16:41
Do you find that activity monitoring applications like pedometers don't work (receive events / count steps) when your phone screen is switched off? It's not a bug in Android itself but rather a choice or bug of the hardware manufacturer. Some phones work, some phones don't. If you're looking to buy a new phone and you need the accelerometer to work in standby mode (with screen off), this guide might help you. It's a list of information I collected about the issue on the internet. In each case I've listed the source - where I got the information so you can look it up yourself.
Submitted by John on Tue, 19/06/2012 - 12:43
The title says it all; referring to Grails and the fact that static access to the grailsApplication object is now deprecated. So how are you supposed to do it? The answer thanks to Burt Beckwith is in this post: static grailsApplication access from a domain class. Thanks Burt. The chance that anyone else ever searches this complicated concept in the same terms as me is somewhat rare… but if they do they will no doubt be happy to find this post.
Submitted by John on Thu, 12/04/2012 - 15:42
Greg Sims wrote me an email the other day asking for some Drupal 7 internationalisation architecture advice, having seen the Christian Assemblies International website for which I’m the tech lead. Here is his email (reproduced with permission), my answers interspersed.
Hey John,
Submitted by John on Wed, 21/03/2012 - 15:03
You want to be cool, innovative, open and all that. Or perhaps, you just want your videos to work on iOS. Either way you’re going to have to replace Flash video with HTML5 video on your website. This is a practical guide to HTML5 video solutions for those that need subtitles or captions (the “track” element) to be available on their videos.
Submitted by John on Tue, 21/02/2012 - 13:15
Submitted by John on Wed, 11/01/2012 - 14:33
- Download the Windows Redis port by Dušan Majkić. Extract it to C:\Program Files\Redis or your desired directory.
- Download the Windows Redis service program by Konstantin Cherenkov and put it into the same directory.
- Run the following (or follow the instructions on the Windows Redis Service page):
Submitted by John on Tue, 10/01/2012 - 14:07
Pages