Category Archives: Uncategorized

CNN accidentally says Auckland is an Australian city during New Year’s Eve coverage


CNN kicked off 2014 with an epic fail.
The American news channel flashed a caption suggesting that Auckland is a city in Australia while showing highlights from New Year’s celebrations around the world.
Eagle-eyed viewers quickly pounced on the error and shared screenshots on social media, with a number of annoyed Kiwi’s urging the broadcaster to “check their facts”.
CNN hasn’t commented about the embarrassing mix-up.

It’s not the first time CNN has been a little confused about Australia, most notably during its coverage of Cyclone Yasi. And it’s also not alone. American network NBC published a map showing the whole of Australia on fire, despite them being confined largely to New South Wales.

Cron Jobs

Dear bloggie…?
(You may have seen me using this before…?)

I was asked by a client to send them a daily email (more like spam? :p) and thought cron job would be easiest?
I was planning on using

0 12 * * */home/username/public_html/filename.php

to run the cron job, but ended up with this error

/usr/local/cpanel/bin/jailshell: /home/username/public_html/filename.php: Permission
denied

I read somewhere that i needed to type my username in, so that became attempt 2…?

0 12 * * * username /home/username/public_html/filename.php

And because this post hasn’t finished yet, you guessed it, another error…

/usr/local/cpanel/bin/jailshell: username: command not found

So, back to the drawing board, how do we get the script to run from jailshell?
Let’s try a different approach? Since the script runs using the mail() function, we just need to call the page?

So, our last attempt…

0 12 * * * /usr/bin/wget http://www.client.tld/filename.php

And to test it?

–2013-12-11 10:36:01–  http://www.client.tld/filename.php
Resolving www.client.tld127.0.0.1
Connecting to www.client.tld|127.0.01|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 270
Saving to: “filename.php”

0K                                                       100% 34.7M=0s

2013-12-11 10:36:03 (34.7 MB/s) – “filename.php” saved [270/270]

As for a normal cron job, i’ll still need to look how to work around jailshell… :S

How to Redeem an iOS App (via iOS Device)

Okays, i’ve been giving away free apps codes for iOS via the Apple store and most people claim the link i sent them requires them to pay for the app? (I guess they missed the redeem code? :S)

Anyways, let’s redeem an app via an iPhone?
(Will do one for iTunes later…)

2013-11-20 20.44.48Launch the App Store!

2013-11-20 20.45.05You could be on the Top Charts, Genius, Search or Updates tab, but let’s tap on the Featured tab?

2013-11-20 20.45.11Welcome to the Feature tab! 😀

2013-11-20 20.45.17Let’s scroll down to Redeem?

KFC 1.1.1

List of Prizes…

  • FreeBaconRoll = Free BBQ Bacon Roller
  • FreeCrispyStripsBox = Free Crispy Strip Snack Box
  • FreeNuggetBox = Free Nuggets Snack Box
  • FreePopcornBox = Free Popcorn Chicken Snack Box
  • FreeWickedWings = Free Wicked Wings
  • FreeWingBox = Free Wicked Wings Snack Box
  • DollarDrink = $1 375ml Drink With Every Snack Purchase
  • DollarKrusher = $1 Krusher With Every Snack Purchase
  • ExtraWing = Buy 3 Wicked Wings Get 1 Free
  • KrusherWithBox = Buy 1 Snack Box Get A Free Krusher
  • SecondBoxFree = Buy One Snack Box Get One Free
  • SecondRollerFree = Buy One Roller Get One Free

Hungry Jack’s 2.3

List of Prizes…

  • Free Large Coke
  • Free WhopperÂŽ Jnr
  • Free Cheeseburger Mini’s
  • Free 5 Pack Chicken Nuggets
  • Free Regular Frozen Coke
  • Free Regular Fries
  • Free BBQ Rodeo Mini’s With the purchase of a Large Coke
  • Buy One Get One Free Bacon Deluxe™
  • Buy One Get One Free WhopperÂŽ
  • Buy One Get One Free TENDERCRISPÂŽ Burger
  • Buy One Get One Free Grilled Chicken Burger
  • Only $3 TenderCrispÂŽ Burger
  • Only $3 Grilled Chicken Burger
  • Only $3 Bacon Deluxe™
  • Only $3 Hashbrown & Brekky Wrap

iOS7.0.4

Bug fixes and improvements, including a fix for an issue that causes FaceTime calls to fail for some users.

App Store
Impact: App and In-App purchases may be completed with insufficient authorization
Description: A signed-in user may be able to complete a transaction without providing a password when prompted. This issue was addressed by additional enforcement of purchase authorization.

iPhone 4 A1332 GSM
iPhone 4 A1332 GSM Rev A
iPhone 4 A1349 CDMA
iPhone 4S A1387 A1431 GSM+CDMA
iPhone 5 A1428 GSM
iPhone 5 A1429 A1442 GSM+CDMA
iPhone 5c A1456 A1532 GSM
iPhone 5c A1507 A1516 A1526 A1529 Global
iPhone 5s A1433A1533 GSM
iPhone 5s A1457 A1518 A1528 A1530 Global

iPad 2 A1395 Wi-Fi
iPad 2 A1396 GSM
iPad 2 A1397 CDMA
iPad 2 A1395 Wi-Fi Rev A
iPad mini 1G A1432 Wi-Fi
iPad mini 1G A1454 GSM
iPad mini 1G A1455 GSM+CDMA

iPad 3 A1416 Wi-Fi
iPad 3 A1403 GSM+CDMA
iPad 3 A1430 GSM
iPad 4 A1458 Wi-Fi
iPad 4 A1459 GSM
iPad 4 A1460 GSM+CDMA

iPad Air A1474 Wi-Fi
iPad Air A1475 Cellular
iPad mini 2G A1489 Wi-Fi
iPad mini 2G A1517 Cellular

iPod touch 5G A1421

Sorry for the downtime

Hi everyone!
Sorry for the recent downtime.
My hosting with netregistry seem to have gone down (and yet, they keep telling me that my MySQL server was still online? :S)
Anyways, they kinda lost ALL my image on i.JoeyLau.me, the mobile site on m.JoeyLau.me, images for db.JoeyLau.me and other various sites…

Anyways, as you can see the site has been down for around 3 weeks…

Week 1 = Waiting for netregistry to get everything back up and running… (and bought a new server)
Week 2 = Waiting abit longer for netregistry to get everything up and running… (attempted to copy all the files to the new server)
Week 3 = Config the new server, since netregistry isn’t doing anything anymore…?

I’ll be slowly migrating all client’s sites over and if you’re having any problems, contact me via the Contact Page (and if it’s broken, there’s always FB and/or Twitter! :D)