Web Application Security – DevFest + GDay George Town 2016

Recently I was invited down to Penang for DevFest + GDay George Town 2016 to give a talk on Web Application Security. This is my 3rd year in a row attending (for a panel and last year a talk) and this year I managed to record (most of) my talk with my own camera.

Web Application Security Talk

The subject I covered was titled “An introduction to Web Application Security” mainly focused for web application developers (although most principles also apply to mobile and native or embedded apps). The talk covers the basic principles of infosec (CIA), do’s and don’t and the top 5 from the OWASP Top 10.

I thought what was the highest value subject that I have some decent expertise in and is relevant to the audience (mostly young or junior web and mobile devs), last year I already covered CI/CD and the tools used + some agile.

So this year I decided to go back to my roots and dive into security in a fairly holistic manner (without getting too technical).

georgetown_devfest2016-2

The slides are up on Slideshare here:

And the (almost) full video is here:

Apologies for the last 5-10 minutes being cut off as the camera battery ran out 🙁

Hope you enjoyed it.

Tags: , , , , , , , , ,

Continue Reading · No Comments · Hacking & Infosec, Internet & Tech

WildFit Challenge – Week 5 – No Alcohol or Caffeine

This week was a shocker for a lot of people, WHAT NO CAFFEINE TO WAKE UP?! WHAT NO ALCOHOL TO FALL ASLEEP?! NO NICOTINE?! Indeed, no alcohol or caffeine and no nicotine.

WildFit Challenge – Week 5 – No Alcohol or Caffeine

Yah, those are the crutches most people are extremely reliant on, and the basis is that now you’re extremely well nutritionally satisfied at this stage (After having Alkagizers and fruits for 3 weeks now, any withdrawal symptoms you might have will be minimised drastically).

I already stopped caffeine earlier when we stopped dairy because honestly, coffee doesn’t taste that great, especially without cream or milk – it’s just kinda bitter and very acidic. But alcohol haha, slightly harder for me as I love beer and whisky and enjoy them on a fairly regular basis.

I have stopped alcohol totally for 30 days before just to make sure I was an alcoholic (Which my family has history of) and I could do it just fine, so I know a few weeks in this case is no problem.

Caffeine was a real problem for some people, especially those with a 4-5 cups a day habit, they had terrible withdrawals (sweating, trouble sleeping, back aches, intense tiredness, shaking and more).




The Kitchen Clean-out

No real changes for us, but this week we got REALLY committed to this, I wanted to throw away some jam and a few things from the fridge and we ended up cleaning out the entire fridge, freezer and all our cupboards.

We were brutal, anything with ANY form of sugar, dairy or wheat is gone. Cupboard, fridge and freezer now only contain foods that support us.

I’ll be honest, it was hard, but not as hard as I thought, I have a strong emotional/cultural attachment to some things, which I don’t even really eat (which is odd) but feel much better now I don’t have to hang onto them any more.

The ones that really hurt me were:

– Branston Pickle
– Sriracha
– HP Sauce
– Worcester Sauce (its my hometown)
– Biscoff (malt biscuit spread)
– Bagels
– English Breakfast Tea (Yorkshire)
– Pickled Gherkins

For Kim it was her beloved jelly. For most things I’m sure we can find more functional alternatives. I was surprised neither of us was really attached to the ice cream.

Ended up with about 6 bin bags full of crap.

Started slow with condiments, yup they all have sugar in.

Condiments with Sugar

The first huge pile of stuff.

Non functional foods

More crap.

Sugar laden foods




Another thing we observed was that we had bought a lot of this stuff, but 90% of it was unopened and expired which means we thought we wanted it, but actually we didn’t and never ended up consuming it.

Which kinda shows we were already on the right track, just not consciously, not all the way and not fully committed.

Day 1

By now honestly I didn’t really feel the need to eat lunch, the fruits and Alkagizer were very filling and kept me full till about 3-4pm when we just needed something light to keep us going to dinner (an avocado) and one of our favourites and the reason I made mayonnaise is two 6-minute boiled eggs with some sea salt, mayo and paprika.

Eggs with home-made mayo

And of course, we kept on with our carb free meals for now to flip our switch to fat burning as we move into week 6 and a new season.

Day 4

We managed to eat out and stay on plan, no pictures of the food as we were too hungry haha. We went to Nando’s after taking Liam for his play-time at Ikano.

He also had a fairly WildFit compliant diet but we got him some fries as he does need more carbs than us to keep growing. We weren’t even tempted to eat any of the fries, which was pretty amazing.

Liam at Nandos




I had grilled veges, half a chicken (which seemed too much) and sweet corn – totally on plan.

So the week went pretty well so far, no problems so far.

Week 5 Summary

So the week wasn’t too bad and for Kim was easy as she doesn’t have to change anything really (She doesn’t drink coffee, alcohol or smoke so ya) but we did cut out all processed foods just to follow the program as strictly as possible.

That means everything you can buy in a can, jar or vacuum pack is out for now to give our body a break from all the chemicals and preservatives in those types of food.

Everything we are eating is natural and fresh.

Honestly wasn’t too hard for me either, as I have a massive beer tasting coming up on 29th (gonna be TOTALLY off program) so I can stop for a while, and probably will enjoy stopping after that too haha.

To summarise:

– Drink more water (at least 6-8 large glasses a day)
– Eat 3 pieces of fruit each morning on an empty stomach
– Drink the Alkagizer Mild every day
– Add an EXTRA portion of vegetables at every meal
– Continue removing refined sugars
– Continue removing all grains (rice, wheat etc) and white potato
– Continue removing dairy (and all byproducts)
Remove Food additives, Nicotine, Alcohol and Caffeine

The enhancement for Week 6 was kinda expected too and we started during the buffer zone (for the first time). More on that in next weeks post!

All my WildFit posts are here:

WildFit Challenge – Week 1 – Inner Dialogue
WildFit Challenge – Week 2 – Alkagizer Mild
WildFit Challenge – Week 3 – NO SUGAR!
WildFit Challenge – Week 4 – NO CARBS Or Dairy
WildFit Challenge – Week 6 – Entering Ketosis AKA Spring
WildFit Challenge – Week 7 & 8 – Staying In Spring
WildFit Challenge – Week 9 & 10 – Yah Still Spring
WildFit Challenge – Week 11 & 12 – A Small Break

And you can find out more and buy WildFit here: Join the WildFit 90 Day Challenge

Tags: , , , , , , , , , , ,

Continue Reading · No Comments · Food/Eating, WildFit

Doctor Ringgit – Get Cash Loan Within 24 Hours in Malaysia

Doctor Ringgit is an online licensed money lender in Malaysia focusing on small loans, a simple stress free process and a quick 24-hour turn around.

Doctor Ringgit - Get Cash Loan Within 24 Hours in Malaysia

Loans are available from RM500-5000 (capped at RM2000 for first time borrowers) with a maximum of 18% (around the same as most credit cards charge annual interest rate).

Sometimes you just need that little extra cash, you need it fast and you can pay it back once you get your salary. The initial term for the loans are at a maximum of 30 days, but if one cannot afford to pay it back when due, they can opt for an extension of the loan for another 30 days by paying the minimum payment. Much like credit cards, if by only paying the minimum amount required, one can finish paying off the loan by the 12th month.

The application is super straight forwards.

Doctor Ringgit Loan Application

Doctor Ringgit promises to be:

  • Rapid – A few minutes to apply using their hassle free application process, upon approval money is disbursed within 24 hours (for business days)
  • Simple – Skip queues, complex application procedures and long approval times
  • Transparent– They make it a priority to be transparent about your loan details and conditions

Who Can Apply For Doctor Ringgit

The application process is as follows:

  • Step 1 – Apply on the website using your phone number, full name, current salary, occupation, NRIC and full address
  • Step 2 – Their Risk Department will call you to verify the above details and to explain the loan details
  • Step 3 – Verification department will validate your details and give approval (or not)
  • Step 4 – Their Riders will meet with you to sign the Loan Agreement
  • Step 5 – Money will be disbursed to your account

You can find out more here: http://www.doctorringgit.info and get some quick cash if you need it!

Tags: , , , , , , ,

Continue Reading · No Comments · Advertorial

WildFit Challenge – Week 4 – NO CARBS Or Dairy

Wow, this is when it gets real serious for most people NO CARBS – what? No Rice? No Potatoes? No BREAD?! Yup, no grains, no wheat, no white potatoes – wow. And to top that off, NO DAIRY in the same week.

Bloody hell, flashes of latte, cheese and biscuits, bread, cheese on toast, lasagne, pasta, pizza, chips, crisps and everything else most of our life revolves around (which is totally wrong and terrible unhealthy) but quite a shock for most people.

I’ve already cut my carbs way down since June (I always give half to Liam), haven’t really changed dairy intake (it’s not that large anyway, 1 small latte a day and cheese now and then) but we still eat bread fairly regularly (bread with sugar in no less, as all bread has).

You probably already know a fair amount about white carbs and why they are not good for us, but a lot of people are surprised by dairy as it’s always been touted as a super-food and good for you but it’s really not.

Day 1-3

Unfortunately, I was in Thailand for the first 3 days of week 4, so it was really hard – we did have fruit first thing in the morning still, ate our avocados and made as best choice as we could.

Thai Food




Thai food fortunately, on the whole, is reasonably healthy, smallish portions, plenty of veggies and seafood but I’m pretty sure they all have sugar in and I still did eat a small amount of carbs.

But as soon as we got back to KL (which was around Midnight on Wednesday) we went straight to NSK (after an 8-hour drive all the way from Hat Yai) to get our fruits and Alkagizer ingredients to get back on track.

I was actually missing all the fruits, veggies and green stuff after a few days away from it.

The rest of the week

We’ve definitely had some delicious meals since then even with no carbs, this is cauliflower and carrot rice with steamed broccoli and balsamic vinegar chicken drumsticks.

Paleo Food

At this point, we’ve got pretty much completely paleo – and right at the extreme end of the spectrum.

Of course we’re also keeping up our daily fruits and smoothies regime, even before a beer tasting 😀

WildFit Breakfast

I kept pretty on program at lunch too, order whatever has the most vegetables and replace any potatoes/pasta/bread with another portion of vegetables – I had chicken parmigiana and swapped the potatoes for extra veggies. It was slightly off program because of the breadcrumbs and a little cheese – but way better than any of the other pasta or pizza options.




The Vitamix 5200

I caved in week 3 as well and ordered a Vitamix 5200 from Amazon UK, that arrived the day after we got back too, so finally our chunkies really became smoothies!

Vitamix 5200 Green Smoothie

It’s such a breeze to use, so easy to clean, no stupid latching safety mechanism and SO powerful. It’s that fast, you can actually hot soup in the machine just by blending something for 4-5 minutes. Amazing.

If you wanna know more check this: https://www.bestblender.com/ and this The Best Blender | Sweethome.

Get one here: Vitamix 5200 Series Blender, Black
Or save some with a certified Refurbished model: Vitamix Standard Blender, Black (Certified Refurbished)

Healthy Ingredients in Malaysia

I’ve also become a lot more aware of healthy ingredients in the shops in KL, some of them have a fantastic range – so far I was super impressed by village Grocer in 1 Mont Kiara which has LOADS of stuff.

I picked up some Bragg’s Aminos (a soya sauce alternative with no sugar and no wheat) from there along with some Avocados and Rooibos tea (for the upcoming week).

Healthy Food in Malaysia

I’ve also noticed most shops sell these kind of things, Aminos, tamari (wheat and sugar-free soya sauce), various types of flour, organic balsamic with no colouring or sugar etc. There’s lots of healthy choices around us, we just don’t really look at them.

And honestly, they do cost more. But would you rather pay a little more for ingredients now, or the doctors bills later? easy choice for me.

Healthy Paleo Brownies

We also went a little into a grey area over the weekend, as we knew what was coming up after the buffer zone and made some borderline on program paleo brownies using coconut flour, coconut oil instead of butter, maple syrup and cocoa powder.

Paleo Coconut Brownies

They were delicious with a cup of Rooibos tea!




Week 4 Summary

So yah, it’s getting pretty tough now, but honestly the no carbs thing is not that tough – there’s nothing that I super miss or crave for and I feel I’m sleeping better, my energy is very even (no midday crashes) I can concentrate better and I’m already losing weight (not much yet, but it’s starting) even though we aren’t in the real weight loss period yet.

The smoothies are even better now with the Vitamix and I’m actually starting to find them a little sweet with the apples in, especially if I use Banana when our avocados aren’t ripe yet.

So I think my taste buds are normalising and my stomach is shrinking (I get full with less faster) – which is great. Plus I don’t have cravings for sugary things, and when you feel this stable energy wise – you don’t even want to eat those things subconsciously.

To summarise:

– Drink more water (at least 6-8 large glasses a day)
– Eat 3 pieces of fruit each morning on an empty stomach
– Drink the Alkagizer Mild every day
– Add an EXTRA portion of vegetables at every meal
– Continue removing refined sugars
– Remove all grains (rice, wheat etc) and white potato
– Remove dairy (and all byproducts)

* Grains include bread, pasta, rice (barley, buckwheat, bulgur, corn, rye, durum, oats, semolina, spelt, wheat etc).
* Dairy includes products made from cow milk, goat milk and sheep milk.

Onwards and upwards, here’s to healthy living!

All my WildFit posts are here:

WildFit Challenge – Week 1 – Inner Dialogue
WildFit Challenge – Week 2 – Alkagizer Mild
WildFit Challenge – Week 3 – NO SUGAR!
WildFit Challenge – Week 5 – No Alcohol or Caffeine
WildFit Challenge – Week 6 – Entering Ketosis AKA Spring
WildFit Challenge – Week 7 & 8 – Staying In Spring
WildFit Challenge – Week 9 & 10 – Yah Still Spring
WildFit Challenge – Week 11 & 12 – A Small Break

And you can find out more and buy WildFit here: Join the WildFit 90 Day Challenge

Tags: , , , , , , , , , , , ,

Continue Reading · No Comments · Food/Eating, WildFit

JavaScript To Mass Remove Facebook Group Members

So it turns out to delete a Facebook group it must have no admins, and no members, which seems kinda silly. So I found this JavaScript to Mass Remove Facebook Group Members and tweaked it a bit so it worked, it takes multiple runs to go through a large group – but in the end it got the job done and I could delete the group.

JavaScript To Mass Remove Facebook Group Members

Offical from Facebook:

If you’ve created a group, you can delete the group by removing all its members and then yourself. To delete a group: Go to the group you want to delete and click Members below the cover photo. Click next to each member’s name and select Remove from Group.

How do I delete a group? | Facebook Help Center | Facebook

The below code can help you with that, make sure you edit the excludedFbIds and enter your own Facebook ID so it doesn’t delete you first. You can find it here: http://findmyfbid.com/

It works fine in Firefox, so edit it, then paste in the JavaScript console and run it. It might have errors sometimes and hang or pause, just reload the page and execute it again. I did a fairly big group with a few thousand members and it cleaned them all out eventually.


var deleteAllGroupMembers = (function () {
var deleteAllGroupMembers = {};
// the facebook ids of the users that will not be removed.
// IMPORTANT: add your own facebook id here so that the script will not remove yourself!
var excludedFbIds = ['123456789','11223344']; // make sure each id is a string!
var usersToDeleteQueue = [];
var scriptEnabled = false;
var processing = false;

deleteAllGroupMembers.start = function() {
scriptEnabled = true;
deleteAll();
};
deleteAllGroupMembers.stop = function() {
scriptEnabled = false;
};

function deleteAll() {
if (scriptEnabled) {
queueMembersToDelete();
processQueue();
}
}

function queueMembersToDelete() {
var adminActions = document.getElementsByClassName('adminActions');
console.log(excludedFbIds);
for(var i=0; i<adminActions.length; i++) {
var gearWheelIconDiv = adminActions;
var hyperlinksInAdminDialog = gearWheelIconDiv.getElementsByTagName('a');
var fbMemberId = gearWheelIconDiv.parentNode.parentNode.id.replace('member_','');
var fbMemberName = getTextFromElement(gearWheelIconDiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.getElementsByClassName('fcb')[0]);

if (excludedFbIds.indexOf(fbMemberId) != -1) {
console.log("SKIPPING "+fbMemberName+' ('+fbMemberId+')');
continue;
} else {
usersToDeleteQueue.push({'memberId': fbMemberId, 'gearWheelIconDiv': gearWheelIconDiv});
}
}
}

function processQueue() {
if (!scriptEnabled) {
return;
}
if (usersToDeleteQueue.length > 0) {
removeNext();

setTimeout(function(){
processQueue();
},1000);
} else {
getMore();
}
}

function removeNext() {
if (!scriptEnabled) {
return;
}
if (usersToDeleteQueue.length > 0) {
var nextElement = usersToDeleteQueue.pop();
removeMember(nextElement.memberId, nextElement.gearWheelIconDiv);
}
}

function removeMember(memberId, gearWheelIconDiv) {
if (processing) {
return;
}
var gearWheelHref = gearWheelIconDiv.getElementsByTagName('a')[0];
gearWheelHref.click();
processing = true;
setTimeout(function(){
var popupRef = gearWheelHref.id;
var popupDiv = getElementByAttribute('data-ownerid',popupRef);
var popupLinks = popupDiv.getElementsByTagName('a');
for(var j=0; j<popupLinks.length; j++) {
if (popupLinks[j].getAttribute('href').indexOf('remove.php') !== -1) {
// this is the remove link
popupLinks[j].click();
setTimeout(function(){
var confirmButton = document.getElementsByClassName('layerConfirm uiOverlayButton selected')[0];
var errorDialog = getElementByAttribute('data-reactid','.4.0');
if (confirmButton != null) {
if (canClick(confirmButton)) {
confirmButton.click();
} else {
console.log('This should not happen memberid: '+memberId);
5/0;
console.log(gearWheelIconDiv);
}
}
if (errorDialog != null) {
console.log("Error while removing member "+memberId);
errorDialog.getElementsByClassName('selected layerCancel autofocus')[0].click();
}
processing = false;
},700);
continue;
}
}
},500);
}

function canClick(el) {
return (typeof el != 'undefined') && (typeof el.click != 'undefined');
}

function getMore() {
processing = true;
more = document.getElementsByClassName("pam uiBoxLightblue uiMorePagerPrimary");
if (typeof more != 'undefined' && canClick(more[0])) {
more[0].click();
setTimeout(function(){
deleteAll();
processing = false;
}, 2000);
} else {
deleteAllGroupMembers.stop();
}
}

function getTextFromElement(element) {
var text = element.textContent;
return text;
}

function getElementByAttribute(attr, value, root) {
root = root || document.body;
if(root.hasAttribute(attr) && root.getAttribute(attr) == value) {
return root;
}
var children = root.children,
element;
for(var i = children.length; i--; ) {
element = getElementByAttribute(attr, value, children);
if(element) {
return element;
}
}
return null;
}
return deleteAllGroupMembers;
})();
deleteAllGroupMembers.start();

// stop the script by entering this in the console: deleteAllGroupMembers.stop();

And that’s it, just keep running it and you’ll get there in the end.

Tags: , , , , , , , ,

Continue Reading · No Comments · Internet & Tech

WildFit Challenge – Week 3 – NO SUGAR!

Now it starts to get real, and real hard haha – the first real thing to remove from our diets is the worst of course – which is going all out no sugar.

Fortunately for me, I’ve been cutting most of the sugar out of my diet since June when I came back from Europe with a little too much extra love around the middle, so I don’t have a huge sugar dependence.

The problem mainly in Asia is eating out, EVERYTHING has sugar in it (soya sauce, oyster sauce, rice wine etc) so eating in restaurants is mostly impossible. Also check the ingredients on everything you buy, you’d be shocked at how many things have sugar in them.

One person checked the ingredients for their salt, yah salt, low sodium salt to be precise – and guess what? Yah, it has sugar in it – so be vigilant, the food industry is hiding sugar everywhere because it’s addictive, cheap and every time you eat sugar it makes you want to eat more sugar.

Day 1

The start of the week wasn’t too hard actually, we just had to be a little more vigilant especially with the seasoning we used – and we got this for snacking on (from Tesco).

Sugar Free Peanut Butter




No sugar at all! Also with eating all the fruits and the Alkagizer religiously, you actually have much less cravings for sweet stuff than you did before – and unhealthy stuff as well in general.

I actually also stopped coffee (and most dairy) this week, because after the fruits and Alkagizer I didn’t feel any need for caffeine. And other than coffee I don’t eat all that much dairy anyway.

Day 5

It got a little harder towards the end of the week as I was travelling to Penang to give a talk at a Google event, yah PENANG FOOD! So honestly I stretched the rules a little as I knew the food I was eating had Soya sauce etc (minimal amounts of sugar), but I made good choices wherever I could (ordered warm water with lemon instead of sugary drinks etc) and didn’t over-eat (which is REALLY hard in Penang).

Plus I even found a Paleo friendly place Awesome Canteen where I went for lunch and had a smoothie (we brought our own Avocado along too like weird nerds and ate that too haha).

I had a delicious eggplant burger with sweet potato fries.

Paleo in Penang




So yah, plus eating fruit still first thing in the morning.

And then on Sunday it was off to Thailand, thankfully fruit is in abundance there and we were still in the buffer zone until Monday anyway. And we still had some Avocados fortunately haha, so we had half each of one of those each morning for our good fats.

Honestly by the end of the weekend I was missing good food with lots of veges and my Alkagizer!

So yah, no sugar wasn’t too tough – there are harder ones coming I know it..and again Friday was an enhancement day with the weekend as the buffer zone – which we took advantage of haha.

Weeky 3 Summary

So this weeks enhancement wasn’t too bad for us, it would be bad if you have a very sugary diet and eat a lot of junk with ingredients you can’t pronounce (Sugar has around 60 names commonly listed in ingredients – make sure you avoid them ALL).

If you were already using natural sugars (honey, pure maple syrup) you can continue during this week, but you can’t substitute refined sugar for natural sugar.

Natural sugars as ingredients in anything are also OUT.

– Drink more water (at least 6-8 large glasses a day)
– Eat 3 pieces of fruit each morning on an empty stomach
– Drink the Alkagizer Mild
– Then eat lunch as normal
– Add an EXTRA portion of vegetables at every meal
– Remove ALL refined sugar from your diet

The sugar lobbyists are seriously dangerous, read more here:

Sugar lobby paid scientists to blur sugar’s role in heart disease – report
How the Sugar Lobby Skewed Health Research
How the sugar lobby helps perpetuate that sweet tooth of yours
The sugar lobby’s sour tactics

And on and on there’s also some documentaries about it like That Sugar Film and Fed Up.

All my WildFit posts are here:

WildFit Challenge – Week 1 – Inner Dialogue
WildFit Challenge – Week 2 – Alkagizer Mild
WildFit Challenge – Week 4 – NO CARBS Or Dairy
WildFit Challenge – Week 5 – No Alcohol or Caffeine
WildFit Challenge – Week 6 – Entering Ketosis AKA Spring
WildFit Challenge – Week 7 & 8 – Staying In Spring
WildFit Challenge – Week 9 & 10 – Yah Still Spring
WildFit Challenge – Week 11 & 12 – A Small Break

And you can find out more and buy WildFit here: Join the WildFit 90 Day Challenge

Tags: , , , , , , , ,

Continue Reading · 2 Comments · Food/Eating, WildFit

CrashPlan Crashing on Synology DS412+ Keeps Closing – Increase JVM Heap

So I’ve had a Synology for a long time, and issues with CrashPlan Crashing – before this I used to have a great little D-Link NAS and I’ve been using CrashPlan on Synology DS412+ for a long time too (since I got it pretty much).

I upgraded from the D-Link for storage reasons, plus the apps available on the Synology + faster performance and you can install things like CrashPlan, Plex and so on.

I’ve forever had issues with CrashPlan though, crashing on scanning, crashing on upload because my file set is too large (my photos folder alone is over 120,000 files).

CrashPlan on Synology DS412+

And I’ve tried all kinds of tweaks, settings, changes etc and it was also getting really hard to get the CrashPlan client on my Windows desktop machine to connect to the headless installation on the Synology to configure folders, check progress etc.

Especially seen as though it crashed every few minutes, it always got disconnected.

So here’s how to get it all working as of now, with the current versions etc.

Installing CrashPlan on the Synology DS412+

This part is fairly straight forwards, find CrashPlan in the community section of the Synology Package Center.

Installing CrashPlan on Synology

Also at the same time, go and download the latest version of Oracle Java JRE (Which it will ask for, in this case speifically jre-8u111-linux-x64.tar.gz) – which you can find here:

Java SE Runtime Environment 8 Downloads

Once downloaded, copy it to the /Volume1/public folder on your Synology, select custom Java 8 and the installation should proceed just fine.

After it’s installed just click Run in the drop down menu and you’re good (check the log to make sure it started ok).

CrashPlan running on Synology

Configuring Headless Access from Windows 10

This part seems really technical, and honestly it is quite technical – if you aren’t familiar with SSH and PuTTY you might get a little lost here. You’re probably already using CrashPlan client on your Windows machine to backup your files (and if you’re not you SHOULD) so you have the client but you need to do a little fiddling and port forwarding to get it working.

Also close the CrashPlan client before you start any of this.

So first things first, you need PuTTY or an equivalent SSH client, and you need to connect to your Synology, use the login as admin and your admin password on port 22.

Get the Authentication Token

The first thing you need to do is retrieve the ID from the Synology CrashPlan installation which you can find with this command:

You’ll recieve a string like this:

This is the port, auth token, IP address. Save this somewhere as you need this to access the headless install with the CrashPlan client.

Edit the Local CrashPlan Config

So now you have the token what you need to do is edit your local CrashPlan client config, for me on Windows 10 with CrashPlan installed for all users this was located at:
C:ProgramDataCrashPlan.ui_info

What you need to do is change the port to 4200 and replace the existing auth token with the one you retrieved from your Synology.

Start Port Forwarding with PuTTY

This is the final step you need to do before launching your client, so what I suggest is you save an entry in your PuTTY Sessions for the Synology and then you need to open the config section under Connection -> SSH -> Tunnels and add a port forward with the following details:

PuTTY Synology Port Forward

Click add, then connect to your Synology with this SSH session – this should activate the port forward.

Start the CrashPlan Client

Fire up the client, it might take a little longer than normal, but it should connect to your Synology and give you the option to add folders, configure the backup options and so on.

CrashPlan on Synology DS412+

So you can see it’s half way through scanning and already 80k files and over 250GB, my whole set is about 130k files and over 500GB and it works well with the below tweaks.

You can stop here if you have a smaller data set and not many files and everything will work just fine, but if you have a larger data set and are having problems with the CrashPlan service on the Synology crashing/closing/disappearing regularly (in my case every 1-2 minutes you’ll need to make the below changes.

Adjusting the JVM Heap size to accommodate CrashPlan

The problem is the Synology DS412+ is fantastic in many ways, but it only has 1GB of RAM – this is great for most things, but CrashPlan with a large data set is a hungry beast. Fortunately it also has 2GB of Swap so you can push the limits a little bit unless you dare to upgrade your NAS with more RAM (which is also an option up to 4GB).

Ok so what you need to do here is stop the CrashPlan service in the Synology dashboard so you can edit the config files. You’ll need to use vi (pain in the arse) but that’s what it has installed.

To get started, you’re probably still connected via SSH to the Synology, but if you aren’t reconnect. I’m gonna leave the vi lessons out here, so you’ll have to figure that out yourself.

To edit the first file use this command:

Have your password handy, as you’ll have to enter it again.

When you’re in the file, right at the top add:

Then for the second file:

You’ll find a really long line that looks like this:

You need to change that to:

These are the recommend settings for this model with 1GB RAM and 2GB Swap (the default config), obviously if you have more physical RAM you can go even higher.

Restart the service on the Synology, connect the CrashPlan client and check the config by double clicking the house, then typing java mx you should see this:

CrashPlan Java Heap Size on Synology

That means everything is good and your backups should work fine.

Mine hasn’t crashed at all yet.

If you have any questions, feel free to ask below in the comments.

Tags: , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

WildFit Challenge – Week 2 – Alkagizer Mild

So into the second week of the WildFit Challenge we go, we introduce the Alkagizer Mild as a daily ritual and start eating a bunch of fruits every day before anything else. This was a reasonable enhancement, nothing to cut out – only more good stuff to add.

It felt very doable, it just required a little more planning and grocery shopping.

Day 1

So here was me Week 2, Day 1 morning before heading to work at the awesome Mindvalley office.

WildFit Challenge Week 2 Breakfast




After eating the 3 fruits (Kiwi, Apple + Plum), I actually felt quite full and had to consider if I even could finish the Alkagizer. But then I had the Alkagizer anyway (which took me far longer to ‘drink’ than I expected), as it’s more of a chunky than a smoothie – around 30 mins or so. And only half of it, there was still another jar left.

I thought we might need to water it down a bit more. Then after drinking the Alkagizer I felt more hungry, but not ravenous. I had to skip my bulletproof coffee I would normally have as I was out of time.

But I headed to the office and went to get a Subway tandoori salad as usual (with double meat), but they were out of Salad Bowls (what?!) so I had a wrap instead (still with double meat).

It was nice.

Was pretty hungry still be 6.30pm or so. I had the left-over Alkagizer after dinner, which on hindsight I probably shouldn’t as it has fruit in it – I should have had it before dinner on an empty stomach?

So yah, first day went fine so far. Honestly not super looking forwards to preparing a bunch more spinach and celery and blending a bunch of stuff tonight (without a blender..) – but onwards and upwards.

We tried our cheapo Elba blender last night, but it literally did nothing, just whirled a few bits around. It ended up in the bin.

So we did it in the food processor until it was basically finely diced, then stuck the immersion blender in and got it as fine as we could – yah am still pulling bits of celery out of my teeth.

Cheers, and here’s to day 2!

The rest of the week

It basically went fine, we didn’t run out of anything, Kim has been a champ preparing the Alkagizer every night (4 jars) as we aren’t morning people.

img_20160925_233915




And we diligently at our fruits and Alkagizer each day, although it was hard to even think about eating lunch after that (especially with how long it took to down the rather chunky Alkagizer).

WildFit Challenge Week 2

I started rather enjoying it, and it became nice to sit down as a family and eat a bunch of fruits.

You can see how chunky our version is in the picture below haha.

WildFit Challenge Week 2

It was really fine, eating lunch was kinda tough, and we did start feeling very nutritionally satisfied – which reduces the cravings for bad stuff to almost zero. It’s gone very quiet in my head in regards to caffeine, sugar, bread etc.




Not much desire to snack between meals, good energy, good sleep.

Week 2 Summary

So the first enhancement this week, it went really well. A lot of people got a scare in the Friday video, but I’ll talk more about that in the week 3 post.

– Drink more water (at least 6-8 large glasses a day)
– Eat 3 pieces of fruit each morning on an empty stomach
– Drink the Alkagizer Mild
– Then eat lunch as normal
– Add an EXTRA portion of vegetables at every meal
– DO NOT give up anything
– Keep examining your dialogue

Feeling good so far, although a little scared about week 3 haha – it’s gonna be REAL tough for some people.

All my WildFit posts are here:

WildFit Challenge – Week 1 – Inner Dialogue
WildFit Challenge – Week 3 – NO SUGAR!
WildFit Challenge – Week 4 – NO CARBS Or Dairy
WildFit Challenge – Week 5 – No Alcohol or Caffeine
WildFit Challenge – Week 6 – Entering Ketosis AKA Spring
WildFit Challenge – Week 7 & 8 – Staying In Spring
WildFit Challenge – Week 9 & 10 – Yah Still Spring
WildFit Challenge – Week 11 & 12 – A Small Break

And you can find out more and buy WildFit here: Join the WildFit 90 Day Challenge

Tags: , , , , , , , ,

Continue Reading · No Comments · Food/Eating, WildFit

A Klang Valley Staycation at Amverton Cove

So living in a city can be hectic, sometimes you just want to get away – but you don’t really want to drive for hours or take a flight. That’s where the whole concept of Staycation (stay+vacation) comes in, which is basically having a holiday in your own city or nearby (in this case still within the Klang Valley).

This time we checked out Amverton Cove at Pulau Carey (Carey Island) which is an island located south of Port Klang and North of Banting.

Amverton Cove Golf & Island Resort is a secluded and peaceful all-in-one golfing getaway with resort facilities. It’s family friendly, with plenty of recreational facilities and a good mix of accommodation types including standard rooms, suites and chalets.

It had been raining for days with grey overcast skies, so we were super glad the morning we woke up was sunny, bright and it looked to be a good weekend ahead. The drive there was a little jammed as it was long weekend, but once past the airport it was pretty clear all the way.

Pulau Carey

Our little man Liam was pretty happy on the way too, as he wanted to get out of the city as well.

Liam in the Carseat

We reached the resort around lunch-time and checked in, service was prompt and polite and we met the general manager David who was extremely helpful through-out our stay.

Amverton Cove Golf & Island Resort

The room was clean and spacious with a bathtub and shower with a king size bed, TV, fridge and they even provided a cot for Liam.

Amverton Cove Golf & Island Resort

We had the set lunch at the golf-course restaurant which was delicious, the eggplant was amazing! It came with a fish-head curry, mixed vegetables and an omelette.

Amverton Cove Food

I still remember this dish, that’s how good it was!

Amverton Cove Food

It’s a lovely open restaurant too with a view of the lake, the Animal Island and the golf course.

Amverton Cove Restaurant

We were lucky to have spectacular weather all weekend.

img_0099_lrx800

After lunch we went for a tour around the resort, which included checking out the facilities.

Golf Buggy!

They have archery, paintball, ATV and an obstacle course with 14 elements which is ideal for team building. It’s a good place to consider for company team retreats, they have meeting rooms and indoor facilities too + some great kit for team building exercises. The max capacity of the resort would be around 190 people if you want to book the whole place.

The obstacle course looks pretty impressive with a large flying fox as the centrepiece. Minimum 10 pax if you want to have a go with your friends and family.

Amverton Cove Obstacle Course

There’s a spa too, so you can have a massage after all that hard work 😀

Amverton Cove Spa

And of course, the highlight of any staycation for us is the POOL! And Amverton Cove didn’t disappoint in that aspect, with a large pool including a water slide and a lovely view of the golf course.

Amverton Cove Pool

Liam had a great time splashing around!

Amverton Cove Pool

He really didn’t want to get out.

Amverton Cove Pool

Happy family after some pool time.

Amverton Cove Pool

After a nap and a recharge we decided to go and check out the Animal Island, of course we got ferried to the boat ride in a buggy, because it’s fun.

Amverton Cove Buggy

I was really glad to see appropriate life jackets for a kid Liam’s age – pretty unusual to see proper safety equipment in Malaysia – I was impressed.

Toddler Life Jacket

Liam was too shiok with the wind in his face.

Amverton Cove Boat Ride

Look at that face.

Shiok Liam

He had a great time on the Animal Island, I think he’s finally at the age where he can kinda understand what’s going on with animals and appreciate seeing something new and interesting.

Amverton Cove Animal Island

He was really fascinated by the Macaque monkeys.

Amverton Cove Animal Island

And you can go inside the rabbit area, he was really excited in there.

Amverton Cove Animal Island

Of course everywhere we went, he still needed his trusty cornflakes.

Amverton Cove

They also have a really well equipped, large play zone for younger kids – pretty impressive actually and very well maintained. Every time we walked past, Liam wanted to go in. So eventually we did and he had a great time!

Amverton Cove Play Gym

His favourite ‘babu’.

Amverton Cove Play Gym

Of course, because of the area there’s plenty of good food around, we headed to a restaurant called Kang Guan which is still in Pulau Carey so only around 10-15 mins drive from the resort – well in range for lunch.

Kang Guan Seafood Restaurant

The portions are generous, lovely fresh seafood and shellfish, really nice drinks (in massive jugs!) and well-priced.

Kang Guan Seafood Restaurant

Definitely worth a look for lunch/dinner if you’re in the area.Kang Guan Seafood Restaurant

All in all we had a great weekend away at Pulau Carey and I can recommend Amverton Cove for those wanting to have a break without going too far, it’s about a 50-60 minute drive from Bandar Sri Damansara and fairly straight-forwards with the SKVE. It’s marked on Google Maps and Waze and the location information was accurate too.

Amverton Cove Golf & Island Resort

It’s a relaxing place with lovely clean, fresh air, plenty of things to do, great food nearby and excellent service. Thanks to David and his team for their excellent hospitality.

Do mention me if you happen to make a booking there – thanks!

You can check out the website or Facebook page below for their latest deals, packages, offers and to find out more about the resort and its facilities.

Amverton Cove Golf & Island Resort
Address: Jalan Pulau Carey, 42960 Pulau Carey, Selangor, Malaysia
Phone: +60 3-3123 3888
Web: http://www.amvertoncove.com/
Facebook: Amverton Cove Golf & Island Resort

Tags: , , , , , , , ,

Continue Reading · No Comments · Advertorial, Malaysia, Trips & Travel

My New Goodyear EfficientGrip Tyres

So a while back I trekked all the way to Cyberjaya to help with a panel on tech infrastructure and architecture for MaGIC Academy, and on the way back…whilst I was conducting a phone-interview for a newspaper no less (hands-free of course) I heard a weird noise and my car felt a little odd.

My Puncture

I ended the phone call abruptly and pulled over to the side of the road, I imagined I had a puncture..and to my dismay – I really did. It must have been pretty bad as the tyre was already totally flat.

I got the fancy pumpy foam thing out of the boot (yah, I have one of those cars with no spare tyre..) and hooked it up.

Volvo V60 Puncture Repair Kit

A few seconds later, I found out this puncture was actually more of a complete failure/tear/gash/blackhole in the tyre and it wasn’t going to get mended.

Volvo V60 Puncture

Fortunately my car comes with a call service for break-downs, so I called them and waited quite a while to be towed away. I got all the tyres replaced as I didn’t know what condition in seen as though one could break down so completely.

New Tyres – Goodyear Eagle EfficientGrip

I went for Goodyear Eagle EfficientGrip.

The new Eagle EfficientGrip is Goodyear’s quietest, most comfortable tyre ever. The leading tyre company’s latest innovation is engineered with advanced “Quiet Tred” technology to minimize road noise and help deliver a silky smooth ride, without compromising safety which is the hallmark of all Goodyear tyres.

Designed for luxury car drivers in who are looking to escape the hustle and bustle of the urban environment when they step into their cars, the new Goodyear Eagle EfficientGrip can help make the journey more quiet and smooth.

I’ve had them a little while now, but wanted to wait a while before writing about them as it takes 1-2000km to break new tyres in and I wanted to experience a variety of conditions and a long drive (I had a trip to Singapore scheduled).

The tyres look good on my car for a start, I’m using 235/45 R17 94W.

Goodyear Eagle EfficientGrip

And have a good tread pattern, both for grip and for low-noise & greater fuel efficiency.

Goodyear Eagle EfficientGrip Tread

I honestly initially though of going for something UHP (Ultra High Performance) like the Goodyear Eagle F1 Asymmetric 2. Those kind of characteristics are no longer my key priority though, I don’t drive that fast and I’m old now haha – so I prefer quieter tyres, that still deliver good performance with higher fuel efficiency!

Tyre Date Code

The tyres are new too, in the world of tyres – anything made less than a year ago is optimal. Tyres expire after 5-6 years, so newer is definitely better.

Goodyear Tyre Date Code

If you’re not familiar with tyre date codes, whenever you buy tyres check for a 4 digit number like the one in the above picture.

This signifies the week (1st and 2nd digits – 1-52 ) and year of manufacture (3rd and 4th digits). So in this case it’s week 51 2015 (5115), or the 3rd week of December last year, making this around 7 months old.

Summary of Goodyear EfficientGrip

I’ve done a few thousand KM on them so far, including a trip down to Singapore and my summary so far is:

  • Quiet on the road, even at highway speeds
  • Good grip in wet and dry
  • Improved fuel efficiency
  • Stiff sidewalls, but not so much to be bumpy
  • Good cornering and grip

No real down-sides so far. It’s the first time I’ve hit almost 600km in a single tank with these tyres, it might also be combined with the fact I increased the tyre pressure to match the recommended ‘eco’ setting of the car which is 38psi.

Volvo V60 Fuel Efficiency

But as you can see, almost 600km on a tank and predicted range of 660km for a 2.0 turbo car (Which I drive pretty fast) – is very nice!

So far so good!

If you want to know more you can find out here:

http://www.goodyear.com.my/tyres/goodyear-eagle-efficientgrip

Tags: , , , , , , , ,

Continue Reading · No Comments · Advertorial, Cars/Motorsport