HTML select for American timezones

I find myself needing a HTML <select> of IANA American timezones quite often.  I really like Moment Timezone so I based my timezones off of ones it supports.  Pretty simple, just copy/paste and go. https://gist.github.com/rynop/7070055cb537b3a0ed4df05af06b0675

Advertisements

ReactiveX/RxJS/Observables in Angular with a real world example

TL;DR: check out this stackblitz Understanding the concept of Observables is fairly straightforward. Using them to get something real done, when you are first learning, is difficult. The learning curve is well documented, and even great attempts to flatten the curve have been made. Even with all the resources out there, and what I thought …

Continue reading ReactiveX/RxJS/Observables in Angular with a real world example

iOS recorded videos won’t play sound on YouTube. HOWTO fix

Starting with iOS 11, you can record your screen (and audio): iOS "Record your screen" Awesome feature, however when I tried to upload a video I recorded to YouTube the audio did not work. Turns out iOS 11 records two audio tracks, the 1st one being silent 😡 You can remove the silent audio track with …

Continue reading iOS recorded videos won’t play sound on YouTube. HOWTO fix

Use MomentJS/Moment Timezone in Angular efficiently

It seems like every web project I do involves interacting with time, which inevitably evolves into dealing with multiple timezones.  I always go down the road of trying to use the native Javascript Date object, but it never fails that it is not robust enough - even with the new'ish Intl.DateTimeFormat MomentJS to the rescue …

Continue reading Use MomentJS/Moment Timezone in Angular efficiently

Setup secure HTTPS certificate for local Angular development on MacOS Mojave

HTTPS is table stakes for any web project now days.  I'm going to show you a super painless and powerful way to setup the following: Self signed wildcard HTTPS certificate trusted by your Mac (so you don't get untrusted cert errors from your browser) Make a top level domain .test that routes all hosts to localhost (so …

Continue reading Setup secure HTTPS certificate for local Angular development on MacOS Mojave