UK

Usman Khwaja

Business analyst, IT test engineer, & Jamstack developer

in Code

React Native WSL2 setup without Android Studio in Windows

Setting up a project’s foundation can be demanding. A well-structured environment leads to a much more productive development process. Many Android Studio projects built for other operating systems encounter issues when running on Windows. This often necessitates the installation of Node.js and Git on the Windows machine.

Read post
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. The CSS is embedded in a <style> tag. AMP however does not allow ‘style’ tags. It says: “Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.”. Moreover, only one amp-custom ‘style’ tag is permissable.

Read post
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.

Read post
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.

Read post
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.

Read post