A command-line app to retrieve Netflix show information

Created using assets by Pixel perfect, Smashicons, and Freepik from Flaticon

I’m currently in the process of building an Android app that randomly picks a show to watch on Netflix. To do that, I needed access to up-to-date show information. While Netflix itself doesn’t provide an official public API, the next best thing is offered by unogsNG, who provides both a website and an API service that does just that.

Initially, the idea was to issue an API request every time a user needed a random show to be picked. …


A step-by-step, hands-on introduction in Python

“assorted berries” by William Felker on Unsplash

There is no shortage of ways out there that we can use to analyze and make sense of textual data. Such methods generally deal with an area of artificial intelligence called Natural Language Processing (NLP).

NLP allows us to perform a multitude of tasks where our data consists of text or speech. Sentiment analysis, machine translation, and information retrieval are just a few examples of NLP applications, many of which we use daily. Today, many of these tasks can be solved with a great degree of success using a combination of NLP and machine learning techniques.

In this post, I’d…


Things are a bit different in extension land than what you’re probably used to

Adapted from assets by rawpixel.com on freepik and WikimediaImages on Pixabay.

A while ago, I set out to build my first Chrome extension. Having recently gotten into the world of web development and getting my hands dirty by building a React project, I felt I had the tools necessary to take on this new challenge.

While I wasn’t completely wrong to think this, it wouldn’t be the whole truth to say I didn’t have to rethink the way I approached designing my project.

I realized this pretty early on into development. You see, when developing any sort of app, as our projects get bigger, we’ll tend to inevitably break it up…


The cheat sheet that goes beyond Git basics

Git graph of one of my projects
Git graph of one of my projects
Git graph of one of my projects

For some time now, I’ve taken it upon myself to write down every Git command I’ve had to look up while working from the command line. Whenever I did so, I’d note the proper syntax, most common options, and where I got the information from. Over time, and as my list grew, I came to rely less on Google and more on my list for quick reference.

Typical use cases (think vanilla git add or git commit) won’t feature here but rather a selection of less recurring yet nevertheless essential ones.

Note: The linked resources will often mention slightly different…


Style once, tinker indefinitely

Toggle switches arranged horizontally and randomly switching on and off
Toggle switches arranged horizontally and randomly switching on and off
Overly enthusiastic switches — Source

While working on a Google Chrome extension, I found myself in need of a toggle switch. These are the little guys you’ll most commonly see on your phone or tablet to enable/disable things.

Finding the Right Switch

So I quickly set out in search of one that I could easily integrate into what I was building. One of the first places I looked at was Google’s Material Design, where sure enough, they had a switch component that I could install and use with just a few lines of code.

Once I got to playing around with it, however, I soon realized that I wasn’t…


Write and manage your code without ever leaving the editor

Adapted from Git, GitHub, and VS Code logos

There is perhaps some wisdom in the saying “Don’t sh** where you eat.” Fortunately, no one ever said, “Don’t Git where you code” — and a good thing too. Since its launch in 2015, Visual Studio Code has taken the world by storm (no, not you WebStorm). Of its ever-growing repertoire of extensions and features, its integrated source control management — Git in particular — has to be one of the most useful.

And although I mainly rely on the command line when using Git, I’ve come to use more and more of VS Code’s Git features. There are many…


Interview prep starts long before the interview

Image of people meeting at a desk
Image of people meeting at a desk
Photo by Maranda Vandergriff on Unsplash

Alice and Bob are each planning their beach holidays. This year, they’ve both taken it upon themselves to be in the best possible shape they can. Thinking ahead, Alice started hitting the gym and got her diet in check months in advance. Bob, on the other hand, only recalled his resolution while shopping for swim shorts a few weeks before his planned flight.

Write a function that determines who’s posing for pictures beachside this year.

The answer is no one — since we’re all in lockdown, but the moral of the story is that it’s easier to stay in shape…


Tips to achieve more at your next hackathon

Created by gstudioimagen on Freepik

A while back, I took part in Itch.io’s Game Off 2020, an annual game jam where participants spend the month of November building a game based on a certain theme. This year’s theme, Moonshot, led to the creation of over 500 ambitious, largely space-themed games, which you can check out here.

Upon hearing about the event in October, I told my brother and sister-in-law about it and we decided to join as a team. We are by no means game developers, but our individual skill sets complimented each other well. My sister-in-law, an artist, would focus on creating the assets…


It’s easy for us to dismiss both candidates as equally inadequate. To downplay the power our voices hold to enact real change. Or believe that the outcome will have no real consequences either way.

But to those who stand to lose the most, the consequences are very real. Issues such as health care, immigration, crisis management, environmental protection, gun violence, inequality, and hate are without question affected by policy.

And policy is put in place by the very people we deem ineffectual. Once we accept that this is what’s at stake, there is no longer room for political nihilism.

Perhaps…


It’s time we stopped using these two little words

Photo by Michael Held on Unsplash

Watching California governor Gavin Newsom address reporters in light of the wildfires wreaking havoc across the Western United States, I couldn’t help but think how poor his choice of words was.

The debate is over around climate change

Those last two words may have been enough to make anyone watching forget about the thick, hazy air and the charred remains of trees that surrounded all those present. They were more than likely enough to make some viewers see red — and not because of the raging flames appearing on their screens or the hue that their skies had taken on.

Omar Sharaki

Biting off more than I can chew since 1994

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store