Blog

Web Audio API – Controlling Audio/Video Loudness

After my previous post about getting more volume with the Web Audio API , I decided to look into controlling the loudness of audio tags and video tags in a more straight-forward (prototypal) way. That’s when I came up with the following JS prototype: Prototypal Functions The following are all […]

By Chris West, ago
Blog

PHP – Simple GitHub Login (OAuth)

If your codebase is in PHP and you would like user’s to be able to login to your site using GitHub (single sign-on) you can use the following as a good starting point: Next you will need to setup an OAuth application within GitHub by doing the following: Login to […]

By Chris West, ago
Blog

Sing to Jehovah & Sing Out Joyfully Comparison

Recently I had the desire to see a comparison of the old Sing to Jehovah songbook compared to the new Sing Out Joyfully songbook. Here is the result: Espa├▒ol (Cantemos a Jehov├í / Cantemos con Gozo a Jehov├í) Para todos que quieren ver una comparaci├│n del cancionero “Cantemos a Jehov├í” […]

By Chris West, ago
Blog

ES6 – Convert To Integer

There are various ways to convert a string or a floating point number to an integer in JavaScript, but not all of them may suit your needs. In this post we will examine four different ways and then we will see which is the best in all cases. Solution #1: […]

By Chris West, ago
Blog

CSS – Local File System Paths On Windows

When working with Windows you probably have noticed that local file paths use the backslash as the path separator. Although this is the case, even on Windows, in CSS you can use the forward-slash as a path separator to reference an image. If you want to use the forward-slash though, […]

By Chris West, ago