About:

Gebna, also known as GebnaTorky or Bahaa Zidan.

Website:

Outgoing Links:

Josh W. Comeau
Subscribe to RSS:
The post critiques the AWS SDK's compatibility with Cloudflare R2 and offers a working solution using the awsfetch client for presigned URLs.
The post discusses the differences between two methods of importing icons from the '@lucide/svelte' package in a coding context. It highlights that while one method is easier due to VS Code's auto-import functionality, the other r...
The author shares their experience troubleshooting Stripe's webhook integration within a Cloudflare worker. After following Stripe's documentation without success, they received guidance from the Stripe Discord community, leading ...
The author shares the lessons learned after writing one article a day for 30 days, including the importance of quantity in producing quality, managing the scope of work, the elusive nature of viral articles, and the value of learn...
The text discusses timing attacks in web applications, particularly in JavaScript, and how attackers can exploit timing differences to gain unauthorized access. It also explains how to prevent such attacks and highlights the relev...
GitHub supports various features in markdown hosted on their website, and remark-gfm brings those features to any project that supports remark or unified. The installation process and usage of GFM are also explained.
The text explains how to disable the annoying '/.well-known/appspecific/com.chrome.devtools.json' request in the Chrome browser. It also provides information on what the request is for and how it can be useful for developers.
The article discusses the importance of simplicity in programming and shares three important defaults in app development: using one programming language, building a monolith, and deploying on one Linux box.
Sharp is a high-performance image conversion and compression library in NodeJS, written in C. It handles compression, format conversion, and resizing of images in common formats to smaller, web-friendly JPEG, PNG, WebP, GIF, and A...
The text explains how to implement a simple theme changer using DaisyUI, Tailwind, and SvelteKit, with a focus on enabling DaisyUI themes, installing theme-change, and initializing themeChange in the root layout.
The text discusses the benefits of using a Prettier plugin to automatically sort imports in code, saving time and making code easier to read. It provides instructions on how to add the plugin to the prettier config file and custom...
Husky is a tool that allows for the implementation of pre-commit hooks, running scripts before committing to prevent errors. It is easy to install and use, and can be customized to include additional checks such as formatting, lin...
The text discusses the integration of Pagefind, a fully static search library, in a SvelteKit project. It covers the installation, indicating indexable content, generating the Pagefind index, and creating a custom search UI. It al...
The text provides a checklist for SEO optimization, including the role of web crawlers, sitemap.xml, robots.txt, and tools like Chrome's Lighthouse and Google's Search Console. It emphasizes the importance of server-side rendering...
The text is a showcase of unplugin-icons, a library that provides access to thousands of icons as components on-demand universally. It features over 200,000 icons from 150 popular sets, supports major build tools and frameworks, a...
The text explains the importance of notifying users about a new app version in SvelteKit to avoid bugs caused by server and client going out of sync. It provides a code example to use the updated reactive value provided by the fra...
The text explains how to implement a 'SignIn with your GitHub account' feature using better-auth and SvelteKit, without the need for a cloud solution like Auth0 or Clerk. It provides detailed instructions on how to set up the requ...
The text discusses the issue of implementing a self-referencing foreign key in Drizzle ORM, specifically when declaring a column as a foreign key that references the primary key of the same table.
The text discusses the problem of finding brand icons and the limitations of existing icon packs. It introduces simple-icons, an open source package with over 3000 brand icons, along with licensing information and usage guidelines...
The author discusses their dissatisfaction with Cloudflare Web Analytics and their decision to replace it with Umami, an open-source, privacy-respecting, and self-hostable alternative.
The text discusses the importance of simplicity in programming and the drawbacks of over-engineering, focusing on microservices, serverless, edge computing, and using multiple languages in projects.
The author discusses the incorrect implementation of protected routes in SvelteKit apps and the use of the handle function in hooks.server.ts to protect routes. They also explain the drawbacks of using parent data to protect load ...