How to fix slow VPN on iPad / iPhone

There a lot of threads on the internet where people have issues with VPN being slow after an update to iOS 7.1.

After some research I figured out what causes the problem. Here’s how to fix it:

  1. Login to your home router.
  2. Search around for WMM and disable this feature.

This will fix the problem. If disable WMM on your router is too difficult, an option is to buy a new Linksys WRT54GL.

Update: Another possible solution is to use a L2TP/IPSec instead of PPTP tunnel.

Update 9-8-2014, another possible fix:

What I did specifically was:
– Go to Settings / Wi-fi.
– Click on the blue i in the circle to the right of the active Wi- fi connection
– Make a note of the data entries for the DHCP tab
– Select the Static tab and manually enter the same data noted from the DHCP tab

Did the above solutions work for you? Please comment below :)

Posted in Apple | 2 Comments

How do I transfer PDF files from iBooks to my PC?

A few weeks ago, I bought some books on Amazon. I really wanted to transfer these files to my PC, so that I can read them there also.

How do you achieve this?

  1. Connect your iPad to your computer.
  2. Open iTunes
  3. Hold the control button on your keyboard and click on the iPad in the Sidebar.
  4. Click on Transfer Purchases.

Another way to do this is to open iBooks and e-mail the book to yourself.

If you have any questions, please let me know in the comments.

Posted in iBooks | Leave a comment

How to charge iPhone 5S faster

I read a lot on forums that people have trouble charging their iPhone 5 in a fast way.

How to solve this?

There are several solutions:

As you can see, the maximum number of Watts a charger usually has is 15W. This is because this the maximum amount of energy that a USB device can handle for charging.

Obviously, the 15W options provide the best performance as they are the highest power.

If you have questions, please let me know in a comment!

Posted in iPhone | Tagged , | Leave a comment

Github SSL error after Mac OS X SSL update

After I applied Apple latest SSL security patch, Homebrew did not want to update the git repository anymore. I got the error “SSL certificate problem: Invalid certificate chain”.

How to fix this:
Open the Keychain Access app
Go to Preferences
Reset the default Keychain

And it works again!

Posted in Common | Leave a comment

The best portable iPad chargers

When travelling, it is smart to bring your iPad with you. Read a book while in the airplane or when you are in the train. The problem that occurs often, is that you’re deep into a book or in a movie when the battery of the iPad is drained. There usually no charging points in trains and airplanes.

A good solution for this problem are portable iPad chargers. I made a list of the best portable iPad chargers here. I will update the list when I discover more good chargers.

1. Innergie Pocketcell 3,000 mAh Rechargeable Portable Battery
This charger charges over 10.000 USB devices, including the iPad. It will also charge other devices such as iPhones, iPods, Blackberry etc.

When the iPad is fully charged, you can extend its battery time for 4,5 hours under normal usage. The charger has five built in protections to ensure that no harm happens to your devices.

2. The Tursion High Quality 8000mAh External Battery Pack Power Bank
This Lithium Ion battery extends the movie time of your iPad for 25 hours (!). It’s great for when travelling far. You can pre-charge the battery pack with your PC or using a wall outlet with the adapter that comes with this battery. The battery has a capacity of 8000 mAh. It has a LED indicator to show the power that is remaining in the battery.
3. PowerGen 5200mAh External Battery Pack High Capacity Power Bank
This battery pack is the cheapest of the 3 mentioned here. This battery pack has a 5200 mAh capacity. It’s portable and compact. This battery pack has a flashlight function that lasts for 250 hours. It also has a LED charge level indicator. It has a nice design and the plastic does not scratch easily.
Posted in Apple, Tech | Tagged | Leave a comment

How to charge the new iPad faster

iPad charging icon
Recently I bought a brand new iPad 3. It’s an amazing device and I use it frequently for quickly checking my e-mail, reading articles on websites such as Hackernews. Another cool feature is the App Store, which has thousands of apps about nearly everything.

One thing I noticed about the new iPad, is that charging it takes a considerable amount of time. The iPad 3 takes about 6 hours to charge. On the Apple forums more people are complaining about the charge time ( source: charge time discussion).

I have discovered a few ways to improve the charge time of the iPad. Here they are in a nice list:

  • First of all, use the 12 watt charger that came with your iPad. This charger charges your iPad way faster than using the USB port of your computer.
  • Turn on Airplane mode on your iPad while it is charging.
  • If you don’t have to use the iPad, plug the charger in the iPad and turn it off completely.
  • Do not use old iPod or iPhone chargers, as they are not as fast in charging the iPad battery as the new charger.
  • Buy a IDsonix¬†fast¬†charger, it will charge the iPad way faster

20th of May 2012: Added more charging tips :)
24th of May 2012: Added the more useful tips.
4th of August 2012: Looking for a portable charger for travelling purposes? Look here.
3th of July 2014: Updated the article so that it’s up-to-date again :)

Posted in Apple | 5 Comments

Mythbusters s10e08 download

I’m a fan of the Mythbusters show. I cannot watch the episodes on tv because I do not live in the States.

It seems like the Mythbusters s10e08 episode, Bouncing Bullet has not aired yet. So for anyone looking for a the episode, you can probably not find it.

When it has aired, I will post it here. So I’ll keep you updated!

Update 1:
An iso hunt user told me it has actually aired. Strange stuff, as it is no where to be found on the internet. Will keep you posted!

Update 2:
It’s available at the moment on iTunes! Have fun looking at the episode!

Posted in Common | Leave a comment

How to delete all pyc files from a project

In a Django project that I am working on I needed to remove all the pyc files from a project. cd into the directory where you want to remove the pyc files and do the following:

find . -name "*.pyc" -exec rm -rf {} \;

Have fun coding Python :-).

Posted in Common | Leave a comment

Get the week number with JavaScript – update

Hey guys,

Just wanted to let you know that I have found a better way to find the week number with javascript for a date. I pulled this gem from the datejs source:

function getWeek (getdate) {
        var a, b, c, d, e, f, g, n, s, w;
        $y = getdate.getFullYear();
        $m = getdate.getMonth() + 1;
        $d = getdate.getDate();

        if ($m <= 2) {
            a = $y - 1;
            b = (a / 4 | 0) - (a / 100 | 0) + (a / 400 | 0);
            c = ((a - 1) / 4 | 0) - ((a - 1) / 100 | 0) + ((a - 1) / 400 | 0);
            s = b - c;
            e = 0;
            f = $d - 1 + (31 * ($m - 1));
        } else {
            a = $y;
            b = (a / 4 | 0) - (a / 100 | 0) + (a / 400 | 0);
            c = ((a - 1) / 4 | 0) - ((a - 1) / 100 | 0) + ((a - 1) / 400 | 0);
            s = b - c;
            e = s + 1;
            f = $d + ((153 * ($m - 3) + 2) / 5) + 58 + s;
        g = (a + b) % 7;
        d = (f + g - e) % 7;
        n = (f + 3 - d) | 0;

        if (n < 0) {
            w = 53 - ((g - s) / 5 | 0);
        } else if (n > 364 + s) {
            w = 1;
        } else {
            w = (n / 7 | 0) + 1;
        $y = $m = $d = null;
        return w;

weeknumber = getWeek(new Date());

Now you have the correct week number with JavaScript!

Posted in Common | 10 Comments

MSN / Live Messenger – How to fix error 80072efd

I use Windows Live Messenger ( also known as MSN Live Messenger ) often for instant messaging. The other day I got the “80072efd” error.

Luckily, I found a few things you need to check to get MSN Live Messenger working again:

  • Make sure your firewall does not block MSN Messenger
  • Make sure your Windows is updated

If you checked the above things, this is a method you can try to solve the problem:

  1. Go to Start, and click on “Run”.
  2. Type cmd and press enter.
  3. A black screen with white letters will open. Typ in the following: ipconfig /flushdns
  4. Press enter
  5. Type exit and press enter
  6. Try if Windows Live / MSN Messenger works now

If the above method does still not solve the problem, this is a last method that might solve the problem:

  1. Go to Start, Run
  2. Type in the following and press enter:
  3. REGSVR32 softpub.dll initpki.dll wintrust.dll
  4. Click OK
  5. Try if Windows Live / MSN Messenger works now

If Windows Live Messenger still will not work, then there is another thing you can try:

  1. Start Internet Explorer
  2. Go to the Tools menu. Click on Internet Options
  3. Click on the connection tab and click on LAN settings
  4. Uncheck / clear the the “Automatically detect settings” box
  5. Click on OK, and then again on OK.
  6. Try if Windows Live / MSN Messenger works now

I hope this will help anyone with the problem!

Posted in Common | 5 Comments