The lessons I learned and the steps I took to compile TypeScript modules into a single file with AMD modules using Gulp, along with how I consumed those compiled modules in my HTML application.
One of the best libraries I’ve seen for syntax highlighting on the web is highlight.js, IMHO. The catch to using the library is that it takes a bit more effort to setup than just adding a script tag and being done with it. In this post, I’ll walk you through the steps I took to get this up and running with Bower and Gulp.
When redesigning my personal website and blog, I started from scratch and attempted to apply a mobile-first design approach. Here are a few tips that I picked up along the way while creating and implementing my new design that might prevent some mistakes on your own sites.
I recently came off of four months of parental leave where I had a fantastic time bonding with my new daughter. Although four months doesn’t seem like much of a hiatus, I learned very quickly that being a full time parent doesn’t leave much time to keeping my professional edge.
They might seem obvious, but it took me a while to find a balance to make sure spending time with my daughter didn’t play second fiddle to my profession passion and/or obsession. I also didn’t want to give up the little bit of sleep I’ve managed to get, which bring me to the three things that really helped keep up up-to-date.
I’ve been on this CSS kick for the past while, and I had forgotten how much CSS can do now. More specifically how things have changed when it comes to measuring height and width.
Dave Paquette, a fellow Western Dev, hit a strange CSS snag the other day. He wanted to use the
text-overflow: ellipsis on a flexbox item that displayed text, where the ellipsis would show up if the text was too long.
It didn’t work as expected, but after some digging, a solution was discovered. This post exists to document both the problem and solution with the hope that it prevents future headaches for other CSS developers.
We were both right.
We were both right.
(Originally Posted to MakeWebNotWar.ca.)