I am blog
These are the things I write about
Making a good impression on the first day of a new job is super important. Starting as a contractor comes with the expectations of professionalism and self-sufficiency.
@each directive in Sass is used to loop through a map or list. This post gives an example of how we can use this to get values from nested maps.
There are some extensions you just can't live without. You forget they are an add-on and not part of Visual Studio as standard. Here's a list of the ones I can't live without, in no particular order.
Sass maps arrived in the Sass 3.3 release, a data structure to store key/value pairs. There are many uses for maps, here's an example with social media icons.
This one has been annoying me for a while especially once I got a laptop with a high resolution screen. When Powershell opens, it's tiny. Setting the font size works for that session but the next time you open it, it's back to unreadable again. Here is a trick to get around this.
It is not uncommon to have a complex folder structure for
js files. When compiling with Grunt, the outputted file will maintain the same file path as the original. To change this behaviour use the
WOFF2 compression format offers up to 30% reduction in file size in comparison with
WOFF. It's so new it won't work without configuration in IIS.
I came across this problem when handling a CSS
transitionend event. The
transitionend event fires when a CSS transition has completed. The problem wasn't that it wasn't firing, it was firing, but twice.
Looping through lists is not uncommon in views but it can cause bloat and just look plain ugly. Display templates solve this.
Trello is a great productivity tool for work and just about anything else. Recently I learnt how to use labels to help manage my boards.