Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Updating a range of records with MySQL

Posted: January 8, 2016
Written by: Saints At Play
Category: Server

Updating a single record entry in a MySQL database table is fairly simple, but what if you need to update a batch of records with one single query?

It's not as difficult as you might think...

More »

Converting between dates and timestamps in PHP

Posted: September 23, 2015
Written by: Saints At Play
Category: Server

There may be occasion, when working in PHP, that you need to convert date related values between date type formats and timestamps.

PHP makes that incredibly easy to accomplish.

More »

Solving JSON encode error Invalid UTF-8 sequence in argument in PHP

Posted: September 20, 2015
Written by: Saints At Play
Category: Server

We've recently been working on some PHP coding to generate JSON output drawn from a variety of MySQL database tables and hit the following error: json_encode(): Invalid UTF-8 sequence in argument.

Solving this was, thankfully, relatively quick and easy...

More »

Useful PHP Composer functions

Posted: August 30, 2015
Written by: Saints At Play
Category: Server

Thanks, in recent years, to the introduction of Composer managing package dependencies for PHP has become much easier, quicker and far less stressful. The following are some Composer essentials that all PHP developers should be familiar with...

More »

Upgrading PHP installation on Mac OS X Mavericks

Posted: August 23, 2015
Written by: Saints At Play
Category: Server

One of the great things about Mac OS X for developers?

The sheer amount of built-in, open source technologies available by defaultApache, Bash, Curl, Emacs, Nano, Perl, PHP, Python and Ruby to name but a handful. 

In this article we'll guide you through bypassing the version of PHP installed by default on Mavericks and using a different binary instead.

More »

Installing Node and SaSS behind a proxy

Posted: May 24, 2014
Written by: Saints At Play
Category: Server

If you find yourself working behind a corporate web proxy server chances are you'll be running into issues when trying to install SaSS and using the Node Package Manager (npm). Thankfully these issues are easy to resolve with a little command line magic.

More »

Installing SVN on Mavericks OS X

Posted: May 1, 2014
Written by: Saints At Play
Category: Server

Looking to install SVN on Apple's OS X Mavericks?

More »

Blocking a range of IP Addresses

Posted: March 26, 2014
Written by: Saints At Play
Category: Server

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.

More »

Latest Tweets

  • #Facebook’s #FacialRecognition tool faces class action suit over mishandling #biometric #data

    twitter.com/i/web/status/9… Published 4 days ago
  • #ElonMusk drafts in humans after #Robots slow down #teslamodel3 production

    twitter.com/i/web/status/9… Published 4 days ago
  • Mastering @ionicframework #appdevelopment

    twitter.com/i/web/status/9… Published 11 days ago
  • Working with #php & #sqlite in @Ionicframework #Apps

    twitter.com/i/web/status/9… Published 12 days ago
  • Take the Wolfowitz doctrine add the Project for a new American Century combine with compliant/compromised… https

    twitter.com/i/web/status/9… Published 12 days ago
  • First the #RussianSpyPoisoning, now the #SyriaGasAttack - NO independently verified evidence for ANY of the… https

    twitter.com/i/web/status/9… Published 12 days ago
  • The whole #SyriaGasAttack narrative (repeated HOW many times over the past 5 years??! [each time independent inspec… https

    twitter.com/i/web/status/9… Published 12 days ago
  • Managing @ionicframework #application #data with #pouchdb

    twitter.com/i/web/status/9… Published 12 days ago
  • Developing cross platform @Ionicframework #apps with #capacitor

    twitter.com/i/web/status/9… Published 13 days ago
  • #AssadHitsDoumawithChemicals right when he's on the verge of #victory??? Yeah, that makes sense..I totally trust ou… https

    twitter.com/i/web/status/9… Published 15 days ago
  • How many times has the #West tried to blame #Assad for every single previous #ChemicalAttack in #Syria and been pro… https

    twitter.com/i/web/status/9… Published 15 days ago
  • Even #CaptainAmerica needs some #MeTime! https

    Published 16 days ago
  • Share your @Ionicframework #ebook testimonial here

    twitter.com/i/web/status/9… Published 16 days ago
  • @historylvrsclub Enough with the liberal, pro-migrant narrative @historylvrsclub. It was an American family and Ame… https

    twitter.com/i/web/status/9… Published 17 days ago
  • Unit testing @ionicframework #apps with #jest

    twitter.com/i/web/status/9… Published 17 days ago
  • @historylvrsclub Conor McGregor!

    Published 18 days ago
  • @historylvrsclub Yeah, it’s called chemical enhancement

    Published 18 days ago
  • @historylvrsclub Enough with the lies/sneaky liberal agenda @historylvrsclub - He was the abandoned son of a Syrian… https

    twitter.com/i/web/status/9… Published 18 days ago
  • Using #angular pipes with @ionicframework #apps

    twitter.com/i/web/status/9… Published 18 days ago
  • Share your experiences with my @ionicframework #ebooks

    twitter.com/i/web/status/9… Published 19 days ago