Welcome to my Blog

Lorem ipsum dolor amet conse semper ctetur adipig NOW!

Archive for the ‘Code’ category

Caching Tips for Chrome Using the Developer Tools

18 June 2015 - Quick Tip - James Brown - No Comments

Below are two helpful tips for controlling the cache in Chrome.

Selectively Loading JavaScript and CSS Files in WordPress

31 March 2015 - WordPress - James Brown - 1 Comment

If you’ve done any WordPress development, you’ve encountered a situation where you need to load custom JavaScript or CSS. Normally, you would do something like this: function enqueue_scripts_styles() { wp_enqueue_script(‘jquery’); wp_enqueue_script(‘custom-script’, get_stylesheet_directory_uri() . ‘/assets/js/custom.js’, array(‘jquery’)); wp_enqueue_style(‘custom-style’, get_stylesheet_directory_uri() . ‘/assets/css/custom.css’, array() ); } add_action( ‘wp_enqueue_scripts’, ‘enqueue_scripts_styles’ ); This code will load jQuery, then load our custom […]

Gluing the Web Together with AWS SQS & JavaScript/Node.js

2 September 2014 - Conference, JavaScript - James Brown - No Comments

I’m going to be speaking! Come join us as we look at how to use Amazon (AWS) SQS and JavaScript/Node.js to glue the web together!

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 […]

Expect New Posts Soon

17 June 2014 - JavaScript - James Brown - No Comments

I am preparing a large number of upcoming JavaScript posts in the near future. Look for good things soon….

JavaScript is Literature is JavaScript

12 March 2014 - JavaScript - James Brown - No Comments

Last year at JSConfUS 2013, Angus Croll (@angustweets) gave a great presentation on JavaScript: Check it out and let me know what you think in the comments below.

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 […]