Archive | October, 2016

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:

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.

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

Tags: , , , , , , , ,

Continue Reading · No Comments · Internet & Tech

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:

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

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.


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
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:

Tags: , , , , , , , ,

Continue Reading · No Comments · Advertorial, Cars/Motorsport