Welcome to my Blog

Lorem ipsum dolor amet conse semper ctetur adipig NOW!

Archive for the ‘Quick Tip’ category

Book Mentions of JavaScript vs ColdFusion vs GoLang

27 August 2014 - Quick Tip - James Brown - No Comments

I’m not sure this means anything but it’s interesting: You can run your own ngrams here: https://books.google.com/ngrams

Stop Always Using Hosts Files for Web Projects

30 July 2014 - Quick Tip - James Brown - No Comments

Let’s face it, there aren’t many times that we aren’t connected to the Internet while developing web projects. Shoot, I’ve even deployed entire sites from an airplane. Then why is one of the first steps to always setup a URL in your hosts file pointing to 127.0.0.1? While you can certainly do this, I would […]

httpbin : HTTP Request and Response Service

17 October 2013 - Quick Tip - James Brown - No Comments

Have you ever needed to test a client you were writing but didn’t want to setup or program an HTTP server?  Ever worked with an Arduino Yún and wanted to make HTTP calls to a JSON service? Luckily, the nice people at Runcope run a service called httpbin.  When you visit the site, you’ll see a list […]

Quit Clearing Your Cache in Chrome

15 October 2013 - Quick Tip - James Brown - No Comments

I almost wasn’t going to post this tip but I am frequently amazed at the number of developers that frequently open up the the Chrome settings and manually clear their cache. On top of being a slow process each time you want to refresh, you are destroying your cache from every other page you visit […]

Updated Blog Bootstrap

6 September 2013 - Code, Quick Tip - James Brown - 2 Comments

In preparation for new and exciting blog posts, I updated my Blog Bootstrap.  It includes a structure that lets me quickly create a demo, with the latest libraries, without getting hung up on getting setup. https://github.com/ibjhb/ja.mesbrown.com-Bootstrap This is a non-require.js version.  I probably will add a require.js version here in the future. What do you […]

Detecting Query Strings with Tuckey and Tomcat

28 August 2013 - Quick Tip - James Brown - No Comments

Ever need to setup a Tuckey urlrewrite rule to detect if a query string exists?  You can use the below snippet to append the query string and issue a permanent redirect. Note the difference in the ‘operator’ property of the ‘condition’ tag.   After implementing this into your ruleset, the following: /find/ becomes /search/ and […]

Testing Old Versions of Internet Explorer with Application Compatibility VPC Images

8 January 2013 - Quick Tip - James Brown - No Comments

Most developers hate doing this but Microsoft has made it slightly easier with Internet Explorer Application Compatibility VPC Images. They have created virtual machines running IE6, IE7, IE8 & IE9 that you can download and run legally. You can download the images from Microsoft: http://www.microsoft.com/en-us/download/details.aspx?id=11575

Obtain or Check Which jQuery Version

16 May 2012 - JavaScript, jQuery, Quick Tip - James Brown - No Comments

If you need to check which version of jQuery you are running (think Firebug or possibly), you can check the version using the following: or use the shortcut Also, if you are loading multiple versions of jQuery on your page and need to verify, you can also use the property:

JavaScript QuickTip : Pass hashMap vs Argument List

1 December 2011 - JavaScript, Quick Tip - James Brown - 1 Comment

When passing arguments, a single hashMap is MUCH easier to deal with than a list of arguments.