Git and Putty on Windows in command line


I’ve moved away from using a Git GUI to command line, I typically used GitExtensions. The reason being, it’s a little annoying having to open any GUI to make a commit and push. It is quicker to use the command line and you learn more about how Git works.

Building London Traveller app


This project was about using Ionic Framework to build a mobile app and publish it to the Android play store.

Useful JavaScript snippets


I have picked a few useful features of JavaScript which you might find helpful and I will explain how to use them.

A faster web Delay JavaScript loading to last


The speed of a website is important to most users especially when they are looking for specific information. They won’t wait around long for your website to load for that information and will try find it somewhere else. One way to motivate the user to stay is to get some content showing that they can consume as soon as possible to give incentive that the rest will be arriving shortly. The common blockers that cause the long wait from a blank page to all of a sudden everything shows are CSS and JavaScript files.

@font-face throwing a 404 on woff file


I’ve noticed that in Google Chrome and FireFox console the font file resources .woff throws a 404 when using @font-face CSS feature.

You will need to add a configuration to allow IIS to serve the font. In your web.config you can add the follow lines in the system.webServer block:

<mimemap fileextension=".woff" mimetype="application/x-font-woff">

By applying this mimeType: application/x-font-woff for .woff will should fix this issue in Chrome and Firefox. This is the mimeType they request and IIS can’t work out which file type is should serve until it registered in the web.config or IIS.