Usman Khwaja

Front end engineer & Jamstack developer

18 Feb, 2020 ⋅ in Code

Cloudflare fast-google-fonts service worker with google amp-custom style tag

The service worker template on Cloudflare’s Workers for loading google fonts fater, injects the HTML with font CSS before the page loads.

9 Jan, 2020 ⋅ in Personal


By popular demand and influence of, here is my /uses list. Surface Book 2, i7 8th Gen, 8GB RAM, 256GB SSD, and GTX 1050, with Surface Arc Mouse and Pen:

3 Jan, 2020 ⋅ in Personal

Digital footprint

Here is a list of all the social media websites I have a (mostly inactive) profile on. I wish there was a way to purge all this with one click.

25 Apr, 2019 ⋅ in Code

Show remaining characters in textarea using amp-bind

AMP is awesome! Look at this. So easy to code. It reminds me of Vue. Type something in the text area below:

7 Mar, 2019 ⋅ in Code

Using Hugo htmlUnescape function to solve "selector expected" errors

I have been getting this error in VS Code for using <style> and then not following it up with a valid CSS.

Page 1 of 2

Find me on Twitter, Github , or Keybase for secrets.

Built with Hugo and deployed by Netlify