Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X
article

[Solved] Uploading image via API in PHP

I was very busy working on a terrible bug that would not allow merchants filter their transactions while my colleague was hitting his head on the wall fixing image upload for an API that already works with our mobile apps.

I got distracted different times attempting to help him out but the persistent calls from our merchants would not let me give it a thought. After getting my bug fixed, I jumped on the issue like a lion deprived of food. Below is my solution and it works.

 

article

Yesterday was officially my last day In KongaPay

This is quite unusual but I have promised myself to put up this article to remind myself of this phase in the journey of my life. Hmm…I tell you, this is “gonna” be a long piece.

I joined Konga when KongaPay started and it has been a great opportunity and privilege to be part of this lovely family. I want to thank Konga for the opportunity and love. Konga is a great family to be part of. I sincerely say, “Thank you for the opportunity.…

article

Let's kill Payment-on-Delivery (POD) in Nigeria

As I sat quietly at Etisalat’s headquarters reception lobby waiting to be ushered into Mr. Dakolo's (pseudo name) office, I busied myself with watching CNN news and catching up on some technical tit-bits. In-between laughs and giggles, a man walked into the reception, looking rather stressed up probably because of the hot sun of Lagos. Immediately, as he walked into the air-conditioned lobby, one could…

article

Another targeted scam mail

So, I am back and don't ask where I have been. Anyway, if you still want to ask...I have been experimenting on so many things. You will soon see the result of my experiments in a series of posts.

As I was checking my back logs of screenshots, something just caught my attention to share some concerns about how I have been a serious target of scam and I wonder why this guys are trying hard to get me. This reminds me of the saying that if you fight corruption,…

article

Top 50 tricks of life that every one should follow everyday to make life easier?

I came across this life tricks on Quora and would like to document it and share with my friends. 

 

1) The morning is wiser than the night. Today may have looked awful, but tomorrow is another day.

2)…

article

Now is the best time to be a Software Developer in Nigeria

There is almost no day that passes by that my colleagues and I won’t discuss the rate at which dollar is racing past Naira. Some say they are still waiting for the time that it will be N1, 000 to $1 while others say they are still optimistic about the dream of N1 to $1. This is not a joke; almost everyone I know now is either an economist or a student of Economics. The cost of a bag of ‘pure water’ has even increased.…

article

[Solved] Call to a member function getModelInstance() on a non-object - Magento 1.9.2.3

I ran into this error after installing Magento 1.9.2.3. with XAMPP on my MacPro. Below is the exact error that was displayed.

Fatal error: Call to a member function getModelInstance() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/magento/app/Mage.php on line 463

Apparently this is permission issue and this is the funny method that is giving the problem.


  public static function getModel($modelClass = '', $arguments = array())
…

article

5 Fundamental Problems of Online Payment in Nigeria

If you ask me, I would say many are the afflictions of online payment in Nigeria...I have carefully been garnering my facts for this post after a heated conversation with some colleagues on two different occasions asking why the process of making online payment must be difficult in Nigeria. These colleagues of mine keep on showering praises on PayStack's approach as simple, cleaner and more efficient because you don’t need to think of solving many puzzles before you can pay. Writing…

article

Add AUTO-INCREMENT on column using Phinx migration library

We decided to have a migration library for our projects so Phinx was made the library of choice. Migration is a good practice most expecially when working in a team. It can be seen as version control for database schema (more like Git, SVN and the rest).

Phinx allows developers to alter and manipulate databases in a clear and concise way. It avoids the use of writing SQL by hand and instead offers a powerful API for creating migrations using PHP code. Developers can then version these…

article

Git Cheat Sheet - Part 2

Here is the continuation of my first post on Git command cheat sheet, here is the part one of the post. Git is open source distributed version control system that facilitates GitHub activities on your laptop or desktop. This cheat sheet summaries commonly used Git command line instructions for quick reference.

Refactor Filenames

Relocate and remove versioned files

$ git rm [file]

Deletes…

article

Git Cheat Sheet - Part 1

I have decided to do a compilation of git commands I use everyday to make up a cheat sheet. Git is open source distributed version control system that facilitates GitHub activities on your laptop or desktop. This cheat sheet summaries commonly used Git command line instructions for quick reference.

 

Configure Tooling
Configure user informatioon for all local repositories


$ git config --global user.name "[name]"

Set…

article

Solved: Cowardly refusing to 'sudo brew tap'; OS X El Capitan

article

Don't look for me on Whatsapp; I've ported to Telegram

I was wandering on the internet when I came across an article by Celestine Ezeokoye It’s titled, "African businesses would be better off with Telegram, not WhatsApp". I was so fascinated in reading the article but sleep wouldn’t just allow me because it was already some minutes…

article

Learn how to solve Rubik's Cube in Pidgin English

Apart from seeing Will Smith solve Rubik's cube in the movie, "In pursuit of Happiness", I have always wished I own one. I recently visited Biyi and I saw the unsolved cube in his house. It struck my eyes and I couldn't just let go. After playing with it for long hours, I realised I needed a more relaxed environment to solve it.

After some weeks, I got mine.…

article

Why there should be another Payment platform in Nigeria: KongaPay

I woke up in the early hours of Saturday with a call from my cousin asking me to help her buy a selfie stick on Konga. Trust me, it wasn't my cousin's call that woke me but the persistency of the call. After we spoke, I realised she had actually called 15 times...My question is, why a selfie stick? Anyway, as the only advanced techy person in the family (Lol...if you have been in…

article

My Top 5 Payment Gateways in Nigeria 2015

After my last review, I have got so many feedback and compliments that I think more people would want to know my thought on how the payment gateways are doing in 2015. I am sure that most payment platforms must have learnt a lot from their shortcomings, owing to my previous list.

Now, new payment platforms have joined my list while some that I had on my list have fallen off the bar. New stuff are happening in the industry as some of the ineffective gateways are leaving the…

article

Pascal Program to Calculate Student CGPA, Reading From CSV File

Someone asked me to help her put up a pascal program to calculate student CGPA, reading from a CSV file. After few hours of putting this together I knew someone might love to do some similar stuff with this, so I decided to share my code with everyone.

Pascal language is cool...I love the syntax.

Below is the solution. I guess this makes someone happy.

 


Program CGPA_Calculator;

	uses Classes, SysUtils;
	
	{function IScan
	Parameters:
	ch:…

article

Comparison of Null, Empty String and Boolean in Switch Statement - PHP

I found a little bug in an application I worked on that made me inquire more into how some things work.

Here is my code snippet


function test($var = '')
{
	switch($var)
	{
		case 0:
			//Do something
		break;
		case 1:
			//Do something
		break;
		default:
			//Defualt
	}
}

Now, here is the gist. When this function is called without a variable it enters into the 0 case. Naturally you would have expected it to be…

article

5 Things You Must Know About Packaging Your Magento Payment Extension

I wrote a payment plugin over the weekend and would love to package it for shipping. Magento documentation was not helpful because it is not clear on the process of getting this done. I have compiled five salient things you need to know when packaging your extension.

Let's run through these steps and never forget any of them.

1. Your extension should be working already

You must have your extension written into your magento build and have it work the way…

article

List of Payment Gateways Documentation in Nigeria

I have noticed getting the documentation for Nigeria payment platforms is like the hardest thing to come by. You rarely get it anywhere on the internet. I would be aggregating the links and documents I have so as to save someone from trouble. You can find below the table of platforms and their documents. You can drop comments of documentations you have that I have not listed so we can ease someone's stress.