We decided to brighten up the daily routine of the astronauts on the International Space Station today by telling them a joke and measuring the humidity for them, here’s how we did it!(more…)
You may have retrieved a related record from the database to do some kind of computation on, but then not want to return it from the controller. Here’s how to do it.(more…)
I scratched my head over this for quite sometime today, but after a lot of digging I found a solution…(more…)
It certainly sounds a bit of a mouthful and it’s a huge thing if you’re involved in the Amazon selling space, I’ve immersed myself in this space for a year and this is just one of the tools I built.(more…)
The Blink home security cameras are a great little piece of kit, relatively cheap, no storage costs and no wiring requirements (with an alleged two year battery life), there’s a lot to like about them.
However… There is a flaw that has seen customers return these smart little units – you can’t zone them. For example you may have one camera on the front door which you want armed at all times and one on the back garden that you don’t want armed during the day because children are playing there.(more…)
If you end up here, you’re either:
- Tearing your hair out with FFMpeg, trying to do something clever and cursing – a lot!!
- Or you’ve followed my saga of the last few days on Twitter.
Running a GPS unit on a phone drains your battery quickly with all the work it has to do (measurement reports, transmission alongside your normal apps), when you are going to be running for a LONG time you need to think outside the box!(more…)
Laravel can be a bit gnarly with the form validation when you’re updating things like a user profile, you need not to check for a unique field against the current user.
It’s a really common thing to do with databases, join a tables with an other table, but when you have two models that have a field with the same name by default one will overwrite the other!
The backup system in cPanel doesn’t do exactly what we want, it does the job pretty well but you can’t set schedules of who wants daily backups and who wants weekly and still handle all the retentions that some hosts need.