Spread Betting what is it

Spread betting is a tax savvy way of trading on the price movements of thousands of global financial products, including indices, shares, currency pairs and commodities.

When spread betting, you don’t buy or sell the underlying asset (e.g. a physical share), you place a bet on whether the price of a product will go up or down in value.

When you spread bet, you buy or sell an amount per point movement, such as £5 per point, which is known as your ‘stake’. For every point the product’s price moves in your favour, you gain multiples of your stake. For every point the price moves against you, you lose multiples of your stake. Please note, losses can exceed deposits.

UK Tesco Motorola Moto G KitKat Update

Motorola Moto GMany people have been pondering on when the KitKat update for the Moto G bought from Tesco in the UK will arrive.

The answer is today 11/01/14 I got my update in the early hours of the morning.

To answer another widely asked question “Will I get an update if I unlock my phone sim” The answer is yes! I bought my phone from tesco and paid £2.04 for an unlock code on ebay and recieved the KitKat update no problems, so no need to flash the stock ROM.

Did you get the KitKat update for your Tesco Motorola Moto G already?

Fix Comprehensive Google Map Plugin jQuery Error

If your using the Comprehensive google map plugin for wordpress you may have recently seen this error.

“ATTENTION! (by Comprehensive Google Map Plugin).

Your blog/site theme or one of your plugins uses jQuery javascript library which is older than the version 1.3.0. The Comprehensive Google Map plugin will not work with such outdated jQuery version.

The minimum jQuery requirement for Comprehensive Google Map plugin is version 1.3.0. Apologies for the inconvenience.”

Don,t worry! There is a super simple way to fix it :)

Login as your admin account and simply go to plugins => add new, search for jquery-updater and install the jquery-updater.

Now go back to your blog/site and your map will work perfectly as before :)

Fix /wp-content/plugins/google-adsense-plug-and-play/google-adsense-plug-and-play.php on line 82

After a recent upgrade of  Wordpress and of the google adsense plug and play plugin I faced /wp-content/plugins/google-adsense-plug-and-play/google-adsense-plug-and-play.php on line 82.

Panic I can’t access my site not even the admin panel!

Fortunately there is a very easy fix :)

Login into your site root using FTP, SSH or the file manager that comes with the shared hosting package if you have one(usually cpanel or plesk).

Open the following file in a text editor.

If you have line numbers look for line 82 and delete the single C.



And then delete the C.


Save the file and refresh the page, yea!! it works again :) Just a little typo.

Migrate Drupal 7 to WordPress 3 in 30 minutes

I decided to migrate my blog from Drupal 7 to WordPress 3.5, I’ll not go into the reasons or compare one system to another(although I wrote this! http://karljacobs.co.uk/?p=36), but just give a guide to how I achieved this.

The first thing I did was to google and most of the information involved messing with databases which would have meant setting up the host and target sites databases on a local machine. The thought of messing directly with the databases using scripts and queries that I didn’t fully understand was daunting so I started too look for a plugin to do the work. There are plenty of modules available to convert WordPress to Drupal but I couldn’t find one to convert Drupal to WordPress.

Voila! I stumbled across this service http://www.cms2cms.com/. Now let me just say that I am not affiliated in any way with this service, I am not trying to sell anything here! CMS2CMS let you convert a 25 page site for free, if your clever you could easily exploit this but I’m not going to say how :)

Next I cleaned up the organisation of my Drupal site as much as possible and luckily I had only used one content type which was the built in Article content type. Step two was to setup a clean wordpress install on a subdomain I created. Next I used http://www.cms2cms.com/ to convert the Drupal site to WordPress, this went well except it converted all Drupals Tags taxonomy into WordPress categories. Now to sort out the categories problem I simply navigated to WordPress’s Tools and used the Categories to tags converted, easy!

After backing up my Drupal site I deleted the files, uploaded and extracted WordPress, dropped the database tables and installed a nice clean WordPress. Next I used Tools > Export on my temporary WordPress install and then used Tools > Import in my new WordPress blog to import all the posts, tags and categories.

Ok now I set up the permalink structure in my new site to match the syntax of the urls in the original site, and just to make sure I installed http://wordpress.org/extend/plugins/404-redirected/ which has a bunch of options for redirects and captures your 404’s so you can redirect them to the correct page if needed.

That’s it all done! if you have a more complicated Drupal site that the simple blog I migrated your milage may vary, let me know how you got along :)

Lubuntu Run Sudo Without Password

Although this isn’t advisable for security reasons it will be fine in situations such as a single user development machine. What this will do is allow you to run sudo commands without being promted for a password. I nice thing about this is that you can edit the “execute:program” type entries in your menus and shortcuts too “execute:sudo program”, a real time saver.

Although the title says Lubuntu it should work on all *buntu and debian derived systems.

In terminal

Then add this at the bottom

Ctrl+x and then Y to save.

Drupal 7 Line Break Converter Not Working On Comments

drupal-logoSo here’s the problem the Drupal 7 line break filter isn’t working you want users to use comments and you don’t want it to look like crap, however you don’t want them messing with HTML either. You need the line break converter to work on plain text filter on the comments field, but wait! it isn’t working! You tried to change the order of the text input filters but no good, you’ve read a million pages on drupal.org and now your more confused!

Here is a technique that I used to solve the problem, hopefully it will work for you too.

leave your text filters as they were by default they are probably fine.

Go to admin/structure/types and edit your content type. Next select the comments field tab. In that tab edit the comment field and make sure you have “filtered text” checked. Now save that and now select the comment display tab and make sure the format dropdown on the comment field is set to “default”

Save and test you should now be getting line breaks in your comment fields.