Posts

Showing posts from 2014

My Little Escape Artist

Image
My little escape artist decided to take a walk about today on her own. She managed to dug a small little hole by the side of our house fence to take start her own adventure without us. I knew she was never contented to be just an indoor dog given there is so much to smell, see, pee and walk in the suburbs.  My neighbour found her wondering the streets and decided to take her home. She left a note on my door and it was to my surprise when I came home. Sami gave me an earful "I told you so" but I guess I was over confident that Missy would never leave the house. Being a nosy bitch that Missy is I should have known better.  Oh wells at least she's home. She's probably got about 4 lives left after this event as she went wondering before in our previous house. She's one tough cookie.  J. 

5 Sick Days On ..

I'm still sick. Though am much better today. All started with a tingle down my throat around 4pm on Tuesday, dismissed it and went home. Prepped my lamb chops for a quick grill on my Weber yum! Woke up with the worst headache and just decided to work from home .. All good, pumped up with neurofen and panadol to deal the steadily growing migraine but it was in vain. I could work but concentration was probably at 40%. 2nd day through, expected to be better not 100% worse .. :( Cough was confirmed and so was a slight fever followed by running nose (daymn I hate that the most!) 3rd day got better and decided to head to worst to find out I'm gonna be sent home as I might be contagious. I had too, most of my work stuff is still stuck @ the office comp. Now I wished I kept my notebook but alas only decided to head home by the arvo as thats why its finally done. 4th day still not 100% better maybe about 70%, ears still humming and also having a bad headache, nose still runni

Yosemite Post Fixes

After taking approximately 1 hour to download I've finally decided that its time to take a stab at installing Yosemite on my work computer. Yosemite installation was pretty simple, a couple of button clicks I'm installing and its telling me its going to take at least 22 minutes, 10 seconds later it decided that its going to take 25 minutes. At that point I'm really seriously considering if my choice was the right one. 26 minutes later its working and I'm so thankful. Nowadays installing anything new from Apple just requires pre-cautionary steps like reading the reviews from the Google making sure all the stuffs just works after upgrading. Over the next couple of hours, system was just slow as I believe Apple is re-indexing everything in my 250G of storage and making sure I'm haven't lost any data. Mail was casually slower then usual and it still is till today, not sure why .. could my work being slow. MySql stumbled out of the window, Google tells me t

Drop dead gorgeous

Image
my little princess..

My first 10x hack returns

Image
Didn't make full use of the multiple hack ingress special until the last couple of days. uhuks.

Sprained My Ankle

Again! I've had enough. Gonna enrol some good physio for some advice on how to fix this once and for all. Guess it didn't help that the courts were a little moist the my body doesn't like what my head was telling it to do. Working from home today as I need to alleviate my sprained right ankle to assist it in healing. Wearing a brace helps and hopefully forces the swelling to go down. Now I wish I lived in a smaller house. :(

E-Newsletters == E-Headache

Having to create tables upon tables upon table isn't the issue if the client would already have a template which has gone through rigorous testing prior to sending it to the developer. :(

Whats the difference?

$posts_array = get_posts("post_type=slider&posts_per_page=-1&post_status=publish"); foreach ( $posts_array as $post ) :                            vs query_posts("post_type=slider&posts_per_page=-1&post_status=publish"); while ( have_posts() ) : the_post();

Pho Tam Footscray

Image
We thought the stock was good but the noodles lack the soft texture you get in springvale. the mixed pork dish was sensational and the spring rolls was just amazingly delicious. We've tried pho in five places now and so far springvale takes the cake.

Daily Morning Routine

Image
Wake up in the morning Prep my morning medications before heading out the door Start the engine "Welcome back its been 10 hours since your last login we were worried about you" Brew my instant cup of coffee and fill the office with it. Sizzle two fried dim sims in the next door fish and chips shop I'm ready ...

How to create your own Drupal Module?

Just to package your drupal module you will need to do the following: 1. setup composer 2. download drush from github 3. install drush 4. copy into your /usr/bin folder 5. enable git on drupal profile page And that is just 10% .. still have about 90% more to go.. one of which is to create the module.. ^_^ Drupal is consistently checking your spellings with your naming conventions so please no spelling mistakes Creating rest services to update the users profiles via an external form. Using the module Services on the Drupal module list. Issue #1: Note to self: the error notes for the service is not exactly the smartest tool in the shed. I did a post update and it keeps returning "404 Not found : Could not find the controller" when I am so so very sure the profile has been activated. I know this because my GET command works. After searching and scouring the web I realised my argument fields was incomplete. Ughs! So make sure your arguments are correct else just ch

Sashimi Lunch @ Tsukiji in Prahran

Image
We ordered a massive amount of food! But it was definitely worth while.  As you can see form the pictures we had as follows: 1 x tub of seaweed salad which was excellent 1 x serve of salmon belly 1 x serve of salmon 1 x serve of king fish fillet 1 x serve of some other fish (which looks similar to salmon) 1 x tokoyaki 4 x fresh oysters with some japanese mirin sauce which which was just delicious! 1 x japanese pancake which was made to perfection. I've had my fill back in malaysia but this one takes the cake! Total damage: $67 for 2 person that lasted the whole day pretty much. Never knew fish could fill you up for that long. 

My little Anker died

Image
Sending it to the doctor soon. :(

Sam Sung's Apple Card & Tag Finally Sold for US $2,653.00

Image
It was a while back when I saw this article and I thought I'd find out what happened to the bet if it reached a million just a mere thousand. Surprise, surprise its US$2,653 which is a not-so-small amount of cash that will help make a lot of children's wishes come true. Good on your Sam Sung. :) Now if only the real Samsung will reach out to the public and offer the same value in good faith to the charity. It would be a good publicity stunt and it might do the company some good? What is Children's Wish  BC & Yukon? http://www.childrenswish.ca/en-bc/ The Children's Wish Foundation is a uniquely Canadian charity that helps Canadian children, families and communities by granting the favourite wish of a child diagnosed with a life-threatening illness. With every wish that we grant, we create moments of joy that ease the pain of a child, give respite to the child's family, and connect healthcare professionals and communities in that burning wish of hope. W

NIA Take 2

Image
Please stand by ... *bzz bzz radio out*

ITIL What is it?

I learned a new word today : ITIL What does it mean : Information Technology Infrastructure Library. What is it? ITIL is the most widely adopted approach for IT Service Management in the world. It provides a practical, no-nonsense framework for identifying, planning, delivering and supporting IT services to the business.

Whilst at dinner my partner asked how does "wind" gets formed?

And so I googled and I found my answer Wind  is air in motion.  Wind forms  when the sun heats one part of the atmosphere differently than another part. This causes expansion of warmer air, making less pressure where it is warm than where it is cooler. Air always moves from high pressure to lower pressure, and this movement of air is  wind . Why thank you so much Google.

Ingress: Something is happening

Image
Radio: Moya are you there? Can you hear me? Whats happening? Are you ok?

Preg Matching Contents Of An Element

$url_contents = file_get_contents ($url); preg_match ('/<input type="hidden" name="form_build_id" value=(.*?)" /', $url_contents, $matches); $the_value = $matches[1]; Hopefully this helps someone out there...

Apple iMac Bluetooth

Just randomly connects to anything defined bluetooth that belongs to the Apple world. I just had my colleagues mouse which I have never paired with connect to my computer and took control of my entire screen. Perhaps that should be a pairing password before full control is given?

Interspire Email Marketeer API

<xmlrequest> <username>admin</username> <usertoken>xxx</usertoken> <requesttype>subscribers</requesttype> <requestmethod>UnsubscribeSubscriber</requestmethod>     <details>     <listid>1</listid>     <emailaddress>xxx@fit.net.au</emailaddress>             <subscriberid>2222</subscriberid>         <skipcheck>true</skipcheck>     </details> </xmlrequest> It is most important that you follow the parameters accordingly. Following the API > Subscriber > UnsubscribeSubscriber The parameters are as follows: UnsubscribeSubscriber($emailaddress='', $listid=0, $subscriberid=0, $skipcheck=false, $statstype=false, $statid=0) So email address has to come before listid and before subscriberid. I spent a total of 15 minutes writing an email to the Interspire help center to see what I was doing wrong and spending 1/2 hour reading their docum

After a long walk at the park

Image
Walking in the park for the whole day...I'm flat chat. Hehe

Kaiten Sushi Melbourne

I finally found my kaiten sushi after searching high and low.. well not really that high or that low.. http://www.urbanspoon.com/r/70/1573127/restaurant/CBD/Sushi-Hotaru-Sydney

Fog In the morning

Image
Living in Melbourne brings back memories . That's what I see every morning when I was staying in uni and out in the bushes.

Swans vs Bulldogs

Image
My first AFL game in Melbourne. Loves it. Swans leading by almost 50 points. Malaysians would say sure win already la...

Cold Sores? Wart? Low Immunity Overall?

Image
ViroGuard Cold Sore Relief and Immune Support View Product I've been taking 3 tablets each day for the past 2 months now and I've seen major improvements on general health and my cold sores are safely at bay. Its awesome! I for one never believed in supplements but this is a now the new love of my life. For those who knows me I've always had issues with a generic wart appearing on my hand. I've tried freezing them, I've tried applying constantly those medicated oils that you purchase from the pharmacy as well as them apple vinegars and even banana peels. Never went to the extent of tying a whole garlic peel on my finger. I've had them for as long as I could remember. I got rid of them once with constant apple vinegar wraps but I think I had enough of having smelling like salt and vinegar smith chips the whole day. Haha. ^_^ I've seen the doc and they always say its such a common wart case they didn't want to refer to the specialist to have them re

SCP Copies You Saved My Day

It's a terrible but good thing when you have servers half way across the world and you need the local files updated constantly. scp -r someone@somewhere:htdocs/from-destination to-destination If you want just a single file and not recursive just remove the -r option. good luck

jQuery HTML Web Development

Its something you should know if you have been a developer for over 10 years but yes I still have to Google it every now and then. enctype="application/data" jQuery has dominated my development skills sets that $(document).ready(function() { }); is my daily bread. :) $.ajax is next in line. Oh how I have missed HTML. :) I wonder will it come a day where I will be project managing?

Chez Dre For Lunch

Image
We had lunch with the lovely couple we had pleasure of spending time with before they are off the Swiss Alps for a while. :) The pastries were just so beautiful, could there be anything better (maybe not Zumbo)? The deserts was just so spectacular that I just couldn't bear to eat it. :P The pistachio was just so yummy. Coffee was very strong but it kept me so awake for the whole night which was great. Two the chatty birds couldn't stop talking. :P

Holden Astra 2005 CD Wiper Blades

Image
I did not know it was so easy! Ughs I could have done it myself. I drive a Holden Astra 2005 CD version and I did not know that to remove the wiper blade you just need to tilt it back until then pull it away from the windscreen. OMG is so dead easy and I paid $3 to the guy @ Super cheap auto in Blackburn to fix it for me. Sheesh! The wiper blades are expensive too, $35 per blade and because mine's the "euro" version so the whole thing has to be replaced and not just the rubber piece. Mine was literally hanging off the line and I kid you not it does not wipe its like its smudging the windscreen. Doesn't help when its raining like "cats and dogs" and I'm driving the furthest I have in Melbourne to pick Maria & Jenevieve from the airport. Oh well's lesson learnt so now I'll be doing this myself. $3 could have bought me a cheap cup of coffee. Now I know I have to buy the Tridon FlexBlade Wiper - Side lock x 2 for the front wipers f

MySQL Command Lines

CREATE USER 'abc'@'localhost' IDENTIFIED BY '1abc'; GRANT ALL PRIVILEGES ON abc . * TO 'abc'@'localhost'; FLUSH PRIVILEGES; To Run BackUp From Command Line mysql -u root -p password abc_database > abc.sql To Run Import From Command Line mysql -u root -p password abc_database < abc.sql MAC MySQL Location for XAMPP /Applications/XAMPP/xamppfiles/bin/mysql xxxx

CKEditor Messing with Element Classes Upon Saving

http://stackoverflow.com/questions/15659390/ckeditor-automatically-strips-classes-from-div Works the treat! I couldn't give a thumbs up as I didn't have enough reputation so I'm just reposting it here for myself in the future and also for those who's looking for it. :P You just need to place them in the config.js file of your editor. Using CKEditor version 4.4.3 Also had to fix this for Drupal config.inc. config . allowedContent = true ; if (preg_match('@version:[\'"](?:CKEditor )?([\d\.]+)(?:.+revision:[\'"]([[:xdigit:]]+))?@', $line, $version)) {

My cute doggie

Image
To cute. getting ready for bedtime

Vodafone Failed

Image
Clearly there is some issue with Vodafone and having a stable network. Guess I'll have to move back to ALDI with their Telstra 3G Network.

Regex for PHP

$output = preg_replace('/[^A-Za-z0-9-]/', '', $input); I seem to always have an issue for this. Perhaps this should help me quickly without having to revert to Google all the time. Not that I don't like it but sometimes when your internet is dial-up speed it makes a BIG difference

Google Ingress Level 8 Achievement

Image
Just after deploying my resonator. Took me just two weeks to level up from Level 7.  Now I can finally start farming for L8's

XAMPP PHP PECL OAuth MacBook Pro Retina Maverick

Here XAMPP Installation Missing the php.h file which can be fixed using the following command:  xcode-select --install It is the mac xcode command line developer tools Who knew that xcode carries so much weight into XAMP Mac installations. Tried it on my local macbook pro and it was another mad house. Keep getting issues with php.h missing. What I changed was my bin dir for pecl configurations. sudo PECL config-set bin_dir /usr/bin It worked like a charm. Finding that there is an issue installing OAuth with PHP 5.5 and above running XAMPP 1.8.3-4 I had to downgrade to XAMPP 1.8.2-5 running PHP 5.4.27 and it worked like a charm. Reason was I was having issues saying mismatch builds. 20121212 and 20010525 between the oAuth and PHP. For some reason the oAuth version had to be newer than the PHP build. I tried compiling from source but it didn't work either. The config used for the source code build was: sudo ./configure MACOSX_DEPLOYMENT_TARGET=10.9

Astra Service Today

Major Service Today New Rear Disc Brakes New Rear Brake Pads Oil Filter 4 x spark plugs Engine Oil Labor Cost Total Service set me back about $600. Not bad. :) Next service minor due in 10,000km's. :) My little one has runned approximately 165,000km and still going strong. ^_^

HTC One Wifi Connection Error on Android KitKat 4.4.2

I was having a breakdown when I couldn't connect to my home wifi and I was almost on the verge of just throwing the wireless system out the window which is just cm's away. I tried rebooting everything from the phone to the wireless modem and reconfiguring everything and I mean everything. I reformatted my phone and the wireless (thank gaws for Google Backups and HTC restores!) and it still didn't work. Going through all the so many forums and wondering what the hell is wrong with the system. I have no issues logging in to wifi at work using unifi so something is wrong with my modem but everything at home is connected to the daymn modem so the problem isn't isolated in any case. I tried force setting a ip address and dns to the system and it worked for a while be rebooting the phone the whole system went beserk again! Arghs!! Frustrated!! So I went googling again and I stumbled onto this link by accident while still searching for issues wifi connection with htc one k

a walk in the park

Image

WhatsApp

Is now a part of the Facebook Legacy list of the purchased apps. Given Instagram was purchased in 2012 for a meagre $USD715Million the sum of $USD21Billion here just blows it out of the water. I wonder whats next on the road? PInterest perhaps or maybe SnapChat (after turning down the offer for $USD3billion recently). Lets see how many zeros does 21 billion have? 21 000 000 000 geez am all zeroed out. :)

Dong!! Goes my work iMac

Telling everyone with an ear in the 100m radius that I'm restarting my mac! Thank gawd for the Volume Reset in the App Store. Be gone you evil mac sounds!

VMWare Fusion 6.x

Gawd daymn that it is oh oh oh oh so slowwwwww. :) Version 6.0.2 (1398658) Running Windows Server 2008 x64 Given 2 core processor and also 2Gig Memory Windows you memory hogger! ARGHS@@!!!

My baby. I missed you so much

Image
Awww so sleepy so cute.

SWYPE : Application Not Licensed

Always have this issue whenever I return back to Malaysia and also when I return back to Sydney. Argh! Freaking annoying. Went through the forums back and forth and realise the issue wasn't in the app or even in Google play as suggested by some of the forum replies. It lied in the timezones! Due to the fact the timezone difference of Malaysia and Sydney I've decided to set my own times and this caused an issue with the App which couldn't register the correct time and etc as backups/sync-ing option was activated. All I had to do was the set the time to automatically retrieve them from network and voila it works. Henceforth I deemed the installing/uninstalling 10x wasn't a success as suggested by so many forumers. :(

Sunset in Siem Reap

Image

First Angkor Wat trip.

Image

Adding Kogan To Android Devices List

After installing android sdk you should have adb_usb.ini located in ~/.android location. Edit the file and add the vendor id (0x2207) into the next available line. You can find the vendor in the mac system report if the tablet is connected via usb. Once you have done the above, run the command adb kill-server then adb start-server then adb devices and you should see your devices connected. Reason for this is because the cheap Kogan that we have isn't in the list of common devices added by Android. Don't blame them with 1000000000000 created each day I couldn't be bothered either.

Make your own remix

Image
http://www.arnelefant.de/iClip_fuer_html.swf