Blogs

Jquery cookie .length uncaught typeerror cannot read property 'length' of null

On load the cookie has no value and this returns null.

Its .length property is returning a undefined value.

In this current state, $.cookie('XXX').length; will return an error:

"Uncaught typeerror cannot read property 'length' of null"

I haven't found a solution yet except create this snippet to force a length for the cookie when it is null:

if ($.cookie('XXX') == null) {  

$.cookie('XXXX,''); 

}

bson_ext install for Ruby on Rails with Mongo DB

If you're following this guide on MongoDB with Ruby on Rails, and you get an error message There was an error in your Gemfile, and Bundler cannot continue after entering bundle install, you can follow the steps specified in this post to complete the "Bundling" stage.

I am assuming that you've tried the recommended work around and yet still getting the error message above.

First, install bson_ext.

Bitbucket Error 500 Major Outage - Database Issue

Bitbucket was inaccessible around 5:30pm EST just as I was pushing the code of the airheadz Mango project.

Affected by the Bitbucket major outage were the website and API, SSH, Git via HTTPs, Mercurial via HTTPs and Source downloads.

Talk about bad timing.

bitbucket

How to Add Quick Tagging to Drupal 7 Content

The core Drupal 7 install come with an open tagging feature similar to other content management systems like Wordpress but the process of entering tags is not as intuitive and can even be frustrating.

Thanks to  Drupal being modular, we can make tagging in Drupal easier, with the help of contributed modules. One particular module that can make this possible is the Autocomplete Deluxe module found at https://drupal.org/project/autocomplete_deluxe.

SEO Cheat Sheet and Best Tips Ever

---------------------------------------------

SEO-Zen - Quick way to build an SEO-optimized WP blog

---------------------------------------------

Hello Team!

Here's a quick updated on what's going on around the SEO world:

Using Search Queries in Google Webmaster Tools to Improve Your Site

Google's Webmaster tools has a Search Queries that gives you relevant stats on your keywords' performance in organic search -- providing stats like Impressions, Clicks, CTR (click through rate) and average position.

Free SEO Report and eCourse

Inside of this special report and 7-part FREE eCourse, you'll discover...

Free Kindle Publishing eCourse

Do you want to get published on Amazon's Kindle market and need to know the basics and the tools and tips for self-publishing?

==> Signup for this free eCourse on Kindle Publishing from GerryMedia.

Meet Edwin Ryan

I had the pleasure of connecting with Edwin Ryan through Facebook and we had a good conversation this morning about what he does and what I do. This guy is a rockstar online and in real life.

Imagine A World Without Internet

"This is like the Apocalypse," my daughter said as we drove on the main road, on Tuesday afternoon, a day after Hurricane Sandy smashed New Jersey.

Traffic lights were not working. Debris of all sorts like leaves and branches littered the road. Fallen trees dotted the landscape as emergency crews were busy with the cleanup.

Pages

Subscribe to RSS - blogs