Image for post
Image for post
Photo by Ekaterina Kuznetsova on Unsplash

When I was growing up, between ages nine and I think, twenty I was labeled a tomboy by the people around me. I didn’t think anything of it at the time because I felt I was just being myself. The earliest age I remember exhibiting tomboy traits was age five. I don’t remember how it started or why. Looking back, I can only point to a few things that may or may not have shifted my thinking as a girl child and changed my identity.

One of those events was when my dad went on a trip for some years…


Image for post
Image for post
Scam Alert Image

One fine Friday at work, I was about to go have lunch when I came upon some of my other colleagues at the office gate. They seemed to be arguing with two unknown people. One, a tall delivery man covered head to toe in protective clothing. The other, a shorter man who seemed to be doing most of the arguing between the pair. The argument scene was set near the delivery man’s motor bike at the office gate. They all seemed to express a range of emotions ranging from anger, anxiety and surprise.

After standing around for a minute or…


Image for post
Image for post

If you didn’t already know, inducing an abortion is illegal in Nigeria except when the woman’s life is at risk. It is governed by two laws, the Penal Code, for the North and the Criminal Code for the south. The sections concerning abortion are 228, 229 and 230 in the Criminal Code Act of the Constitution of the Federal Republic of Nigeria. It states that

228. Any person who, with intent to procure miscarriage of a woman whether she is or is not with child, unlawfully administers to her or causes her to take any poison or other noxious thing…


Image for post
Image for post
Credit: www.safaribooksonline.com

*If you know nothing about taking a web page offline, you will learn this from my previous article, which is a Simple Guide to taking a Web Page Offline using Service Workers. So this article is sort of a sequel, and I will only be explaining how I handled POST requests offline

A while back, I worked on taking an app offline using service workers. While working on this project, I had to make sure that all the key parts of the application work offline. With the service worker API, making icons, text, images and fonts display offline was no…


Image for post
Image for post
A man in a car

So I was to attend an event at the Andela Nigeria office in Ilupeju, Lagos one time. A summit for women in technology. I didn’t know the way there from my residence and I didn’t want to go through the stress of boarding buses and stuff, especially when I would have had to ask for directions. I explained why. Anyway, I decided to take an Uber. This would be my first time of using Uber, so a day before the event, I asked a colleague at work to put me through using the app. It was simple enough. …


collections.counter

Image for post
Image for post

The Counter class in python is one of the most used class from the collections module. Counter is especially useful for well, counting stuff. The Counter module counts data and stores them as dictionary keys and values. I have seen it used mostly by data scientists who use python because of its usefulness in counting frequency. Let me show you how…
Fire up your Python interpreter and type this in

yinx@localhost:~$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information. …


Image for post
Image for post

Named Tuples as the name implies, is a tuple where each value has a preassigned name.To understand a namedtuple, you first have to understand what a tuple is. I wrote an article about what a tuple is. Named Tuples are only usable from python 2.6 and above.

Named Tuples can do about everything that a tuple can do.

Ways to define a namedtuple

Fire up your python interpreter and let us check out the various ways to define a named tuple

1.With a string separated by commas

Python 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516] on linux2 Type "help", "copyright", "credits" or "license"…


Image for post
Image for post

A service worker is a script that runs in the background when your application/website is running. It acts as an intermediary between the browser and your app.

It has the ability to intercept network requests, modify them and redirect them; it is quite powerful. The service worker’s main function is to serve a cached/stored version of your application when the network is down. This makes them suitable for making your website work offline.

A very simplified explanation as to how service workers work, is this,

  1. When your site loads in the browser, the service worker finds all the files you…


I was not born deaf, I lost my hearing suddenly as an adult at age 20. Since I had already acquired language proficiency, it was not hard for me to start lip reading when people speak. I am not going to write this from the actual point of view of someone that was born deaf. I am not going to talk about how I lost it, but rather the struggles of being it, in a country like Nigeria.

So what does it mean to be deaf in Nigeria?

1. Commuting in Lagos is war!

Image for post
Image for post

Leaving the house and going out is usually very stressful, especially when…


Image for post
Image for post
Photo by Goran Ivos on Unsplash

Detecting the location of your website’s users is useful for a variety of reasons.

You might, for instance, want to display different content, perhaps in different languages for people from different countries, or display targeted information to visitors from different locations.

Whatever your reasons might be, you have two options:

  1. The Geolocation API and
  2. IP address lookup

The Geolocation API

The geolocation API is a new HTML5 feature that allows a web page’s visitor to share their location with you if they so choose.

When you try to retrieve the location using this API, a prompt is shown to the user, asking them…

Adeyinka Adegbenro

Adeyinka is a software developer, who is constantly trying to learn and apply. http://www.khaliat.com

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