Huzaifa's Tinkering Lab

● Product · Data · Tinkering

Huzaifa's Tinkering Lab

Building small things to understand bigger systems: experimenting with the concepts behind products and technology, and discovering how they shape the world around me.

Picture of Huzaifa Memon
Huzaifa Memon · Toronto

The Tools

  1. Staples Products Link Generator

    Efficiently create customized Staples product links from SKU lists, reducing manual effort in link generation. It's simple and efficient!

    Live tool
    Overview
    Technological foundations
    Utilized HTML, CSS, and JavaScript to develop the SKU Link Generator.
    Exploration of Algolia and filters
    Explored Algolia to understand how filters operate, aligning this knowledge with the filtering mechanisms already present on our site.
    Proof of concept
    The SKU Link Generator serves as a proof of concept, demonstrating the feasibility of automating link generation processes.
    Future iterations
    Future iterations of leveraging Algolia for link generation project aim to expand functionality and refine user experience. A planned enhancement includes the addition of collection filters, and different hierarchy link generation.
  2. SKU Pricing Validator

    Upload a CSV of SKUs and check their prices against what Algolia returns, flagging anything that does not match.

    Live tool
    Overview
    How it works
    A live tool where you upload a CSV. It parses the file, makes the API call for those specific SKUs, and compares the prices in the response to the ones in the file.
    Built with
    Algolia's REST API.
    Output
    Any SKU whose price does not match is flagged, so mismatches are easy to spot.
    Note
    A simple project, and a good way to learn how to work with an API.
  3. Bulk QR Code Generator

    A Python script that generates QR codes in bulk for in-store signage.

    Python script
    Overview
    How it works
    A simple script that ran on my laptop and turned a list of links into a batch of QR codes in one go.
    Built with
    Python and an open-source QR code library.
    Why
    Making QR codes one at a time is slow and easy to get wrong. Doing it in a batch saves time and keeps the signage consistent.
  4. Website Data Scraper

    A Python and Selenium scraper that checks a website for broken links and odd ins and outs.

    Python script
    Overview
    What it looked for
    Broken links and other oddities, such as links that led to forwarding pages instead of the page they were meant to reach.
    Built with
    Python and Selenium.
    Before AI agents
    This was before an AI agent could browse a site in Chrome by itself. The code was written with AI help, but I still had to work out what to look for and how the site behaved.

Tinkering Projects

  1. Adafruit MacroPad Task Automation

    Using an Adafruit MacroPad to turn repetitive, multi-step tasks into one or two key presses.

    CircuitPython
    Overview
    Shortcuts
    A set of simple shortcuts, written in CircuitPython.
    Layered shortcuts
    Layered shortcuts that act as scripts, running something like 100 clicks on their own.
    A typical task
    Copy a CSV, paste it into an Excel file, format it a specific way with the date and time, then upload it to a system. All of it from one or two key presses.
  2. Adafruit MagTag E-Ink Dashboard

    An e-ink display that shows the day at a glance, so I do not need to reach for my phone.

    CircuitPython
    Overview
    What it shows
    Weather, my calendar, prayer times and a few other things, pulled in from different APIs.
    How I used it
    Weather for the morning coffee and a walk, the calendar for work meetings, and a quick view of what is next so I could prioritize the day.
    Built with
    An Adafruit MagTag running CircuitPython.
  3. Learning JavaScript for Games

    Taking basic games apart to understand how they work, then reskinning them.

    JavaScript
    Overview
    Approach
    Started from simple existing games, like a typing game and whack-a-mole, and worked out how each one is built.
    Reskinning
    Changed how they look and behave to see what each part of the code does.
    Goal
    Not to become a developer, just to understand JavaScript a bit more in depth.