Blog

YourJS – 1st Pass

I finally have the 1st pass of YourJS available to the public!!! What is YourJS? YourJS is a fully customizable JavaScript library which gives the developer more control than ever before. Who controls the codebase? Everyone does! All you have to do is sign up and you can start writing Read more…

By Chris West, ago
Blog

YouTube Thumbnail Images

Did you know that YouTube automatically generates thumbnail images for all videos? Each video gets the following four thumbnail images automatically generated: http://img.youtube.com/vi/{VIDEO_CODE}/default.jpg http://img.youtube.com/vi/{VIDEO_CODE}/1.jpg http://img.youtube.com/vi/{VIDEO_CODE}/2.jpg http://img.youtube.com/vi/{VIDEO_CODE}/3.jpg In addition to these thumbnail images, a larger still of the video is generated and stored in http://img.youtube.com/vi/{VIDEO_CODE}/0.jpg. Try Me! I wrote the following Read more…

By Chris West, ago
Blog

JavaScript Snippet – getClass()

If you have been using JavaScript for a little bit you probably already know how to determine a variable’s class constructor, but just in case you are overthinking it here is a hint: variable.constructor. 🙂 Of course, many times I like to make functions that will spit my results for Read more…

By Chris West, ago
Blog

JavaScript Snippet – String.prototype.after()

WARNING: Extending native prototypes is frowned upon by many JS engineers but can be helpful as long as the extensions are properly documented in the codebase. SCRIPTER’S DISCRETION IS ADVISED. 😆 Yesterday I added a post about String.prototype.before(...). As is explained within the post, this function can be used to Read more…

By Chris West, ago