James John – Software Engineer

NGStatesLGA: Nigerian 36 States & Local Government Areas PHP Class

Recently a friend of mine complained about this – not seeing States and LGA online for developers’ use. I took it upon myself to make this available to us and make work easier for us. It took me 3hrs to arrange it, which my source was from this site, thanks to them 🙂 How to […]

Sublime Minifier: Minify JS & CSS in Sublime Text

To me, I can say Sublime Text is the best IDE for programming! It’s really flexible and light, the first time I jumped into Sublime, I fell in love <3 😀 and now I’ve gotten another feature ;). My last post was about Minifying JS and CSS files with YUI Compressor and I mentioned that […]

Minify JS & CSS Files in Linux Using YUI Compressor

YUI Compressor – Yahoo! UI Compressor is a compressing tool for minifying JS and CSS files to a small size which can improve page load of your webpage, although Yahoo! is no more maintaining the package it still work great. Installing YUI Compressor This package can be found in the default .DEB system repository, so […]

Simple PHP Mail Function Using Swift Mailer

Using the built-in mail() function is PHP is pretty cool but not cool if you’re sending bulk or large mails and secondly it always head for the Spam box 😀 because not all needed headers are there. But using a mailer, I use Swift Mailer and it’s cool for me, get Swift Mailer and also […]

ISO Alpha-2 Country Codes and Names in PHP Array

I sweated out arranging this but I think it’s gonna be useful to someone someday 🙂 This array can by handy if you create a function to get countries an HTML Option element and adding your selected, e.g below: I hope this helps 🙂

Using PyMySQL as MySQL Driver for Python3

When it comes to DBMS am pretty cool with MySQL, having used it for long (since I started programming though) I haven’t gone for another or tested another yet, so each language I move into I try to see if it incorporates MySQL. Back there in PHP I was pretty cool with it, now in […]

Using Remmina as GUI SSH Client for Linux

Back there in Windows I have Putty which is cool and works with no issues, but here in Linux I enjoy everything in CLI. I found out some user of Linux distro ain’t actually using it as servers, some use it as their primary OS and work on it which makes them not that good […]

John the Ripper: Detect Weak Unix Passwords and Hashes

First time I used this tool, I was amazed because it got my root and user password easily (it wasn’t that strong though). About John the Ripper John the Ripper is a fast password cracker, currently available for many flavors of Unix, Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix […]

How to Send POST Request Using urllib Only in Python3

Jumped into Python, having the urllib, urllib2 and urllib3 for Python3; Unfortunate for me as I’m using Python3 there is no urllib2 for it and POST requests in most places I’ve seen it used are used with urllib2. I had no choice than to deal with what I have, digging into Python documentary site I […]

Believer – How to Still Keep Your Unbelieving Friends

Friendship is a good thing, I kinda have friends all over the globe and some are religious, some are of my religion and other are not religious. Are you going to loose your friends simply because they are not religious or not of your religion? Hell no! I have couple of them and still keeping […]