Most developers use a terminal for years before realizing they don’t actually know what a terminal is. They know how to use one....
Web
Find articles, blogs, content, and tutorials about all things world wide web by Ahmad Awais.
Improve Developer Experience: The /home shortcut
tl;dr: When I’m logged into a SaaS app, it’s super hard to access the company’s homepage unless I log out. I want every company to do a domain.tld/home shortcut so I can check out their homepage. Do that; it’s an excellent developer experience. As developers, we often find ourselves constantly switching between different [...]
My Command Line Audio Video Workflows with FFmpeg
If you know anything about me then you know I love automating anything and everything. I even have a complete course on building automation CLI tools with Node.js. In this post, I am sharing a couple of super useful ffmpeg workflows. FFmpeg is a free and open-source software project consisting of a large suite of libraries and programs for [...]
Supabase with Next.js App Router Fix for Invariant: cookies() expects to have requestAsyncStorage, none available
Next.js App router is pretty awesome. Sadly, it’s super new. The errors you face are sometimes hard to debug as you can’t see where it’s coming from and why. I hope they fix it soon. Supabase is pretty awesome, too. I’ve been using it as a backend, database, file storage, and, most importantly, as an authentication [...]
‘Promise‘ is not a valid JSX element | Async React Server Component TypeScript Error in Next.js
You might have encountered the "'Promise
Hiring the DevRel A-Team
I have some pretty big news. I am hiring and extending RapidAPI’s Developer Relations (DevRel & DX) team. A team of developers, program engineers, developer advocates, and dev-community advocate roles. And I want you to be a part of it! This is your chance to join a DevRel A-Team and make a difference for over 50 million developers [...]
React Server Components
The React.js core team announced the RFC on React Server Components just now. Imagine React components that run only on the server and have zero impact on the client-side bundle-size. Hence zero-bundle-size.
GitHub Dark Mode
GitHub just announced Dark Mode at GitHub Universe 2020 conference. I'm super duper excited. Check out my reaction video and a couple of other excellent features Nat Friedman (GitHub's CEO) announced in the keynote.
Next.js Absolute Imports and Aliases
Since Next.js v9.4 you have the ability to use absolute imports or aliases for your import statements. I love this feature with all my heart.
Making Google Fonts Load ~20% Faster
Google fonts now use the display=swap property to make the CSS file load in async fashion. Gain ~20% faster page load by preconnecting and preloading Google fonts.
Vercel is the new ZEIT
ZEIT just announced that they have raised a $21M funding and have rebranded the platform as Vercel. This is amazing news. I believe in the mission of making it easier to build, deploy, and ship web apps. Read why I'm so excited about Vercel and Next.js
Vercel + Cloudflare Domain Setup (formerly ZEIT)
ZEIT is awesome, so is Cloudflare. Learn how to set up a Cloudflare domain with ZEIT Now with full SSL and CDN capabilities. Set up the domain and test if it works well.
Shallow Clone a Large Git Repository Quickly
Learn how to git shallow clone in case of big git repositories and only download the latest n commits from a single branch you specify.
Introducing Continuous Deployment for WordPress Plugins with GitHub Actions
Use wp-console-deployment to set up an instant GitHub to WordPress.org SVN deployment pipeline with incredibly powerful GitHub Actions.
JAMstack: The Elegance of Markdown, Education, and Simplification
I had the pleasure of talking with Bryan Robinson on his podcast called That's My JAM...stack. Cool name, right. I talked about how much I love Markdown, the apparent divide in the JAMstack community, decisions not options, and whatnot.
What to Expect from the JAMstack in 2020
I was recently interviewed by Brian Rinaldi about JAMstack’s future in 2020. It was originally posted on StackBit’s blog → Ahmad Awais shares what changes we saw in the JAMstack ecosystem in 2019 and what he expects for 2020. What to Expect from the JAMstack in 2020 – Ahmad Awais 2019 definitely seemed to be a pivotal year [...]
How to Start Contributing to Open Source for Hacktoberfest With a Github Pull Request
As a full-time #OpenSourcerer — October is one of my favorite months. And it’s October already. Today’s #OneDevMinute is about #Hacktoberfest — it’s a month-long online event where you signup at GitHub.com and Hacktoberfest to celebrate Open Source by contributing at least four times between the October 1-31. Let me help [...]
Syntax Highlighting with Shades of Purple theme in WordPress
Add Shades of Purple theme-based syntax highlighting to your WordPress blog with the help of Prism.js syntax highlighter and enjoy high-quality code coloring that improves your blog readability.
Resize & Optimize Images With JavaScript in Node.js
Learn how I resize and optimize images with JavaScript in Node.js. You can either do it yourself or install the resize-optimize-images node module and get it done.
Cloudflare Registrar: What the WebDev/Blogger in Me Is Super Happy About?!
A couple of hours ago, Cloudflare — the company that has helped me save thousands of dollars in hosting fee since 2011 — announced Cloudflare Registrar. Yes, Yes Yes! Heard that right. ✅ Many of the regular readers of my blogs already know the fact that I started as a blogger, grew up becoming an electrical engineer, and on the side [...]
Microsoft GitHub Acquisition: Thoughts of a Full-time Open Source Developer
I am a full-time open source developer working as a core developer of WordPress contributed to every single major version for the last couple of years. I am also well versed in JavaScript/Node.js ecosystem and have a deep interest in DevOps, Cloud, and the new serverless tech. I care very deeply about Developer Experience and most of my open [...]
One Weird Trick To Increase eCommerce Conversion Rates
One of my clients’ hired me to improve the eCommerce conversion rates for their site. This is not something I normally do, but with a long-standing relationship with this enterprise client — I gave up (I sometimes take up weird projects if the budget is better than good enough). 🤓After doing lots of front-end optimization, site [...]
What Is the Best API for Geolocating an IP Address? [2021]
Looking for a reasonably stable Geolocation API to find out more about an IP address (user) that visits your site or application? It's your lucky day — because I built an exhaustive list for that. It includes Gelocating APIs, their responses, and limitations.