Blog


In JavaScript Print all the numbers from 1 to 255
Posted on June 2, 2015 in Algorithms, JavaScript by Matt Jennings

for(var i = 1; i < 256; i++) {
console.log(i);
}

 


How to Execute JavaScript, Including an External Script, Only When a DOM Element is Present
Posted on April 27, 2015 in JavaScript, jQuery by Matt Jennings

Below is an example using jQuery of how to load the Google Maps API V3 external script and instantiate a Google …

Read more


Mac Yosemite Shortcut Keys
Posted on April 6, 2015 in Mac by Matt Jennings

Show/Hide the Dock
Option + Command + D
Add a Selected Item to the Dock
Shift + Ctrl + Command + D
Add a …

Read more


Shell Command to Find Out My Linux Distribution Name and Version
Posted on April 3, 2015 in Command Line, Linux by Matt Jennings

lsb_release -a


Document Ready Substitute to Make Custom jQuery Execute in WordPress
Posted on March 16, 2015 in JavaScript, jQuery, WordPress by Matt Jennings

To make custom jQuery execute in WordPress (at least 4 and above), in your external JS file add the code …

Read more