Blog

Mr. Geek Logo
I used Cursor AI to make 4 sites in 4 days

I used Cursor AI to make 4 sites in 4 days

Ali GajaniJuly 6, 2025

A whirlwind week of web development where I delivered 4 complete websites for 4 different clients in just 4 days using Cursor AI coding agent. Here's how I managed this intense sprint and what I learned from the experience.

Read more →
Statistical Analysis of the Holy Quran (Part 1)

Statistical Analysis of the Holy Quran (Part 1)

Ali GajaniOctober 30, 2014Originally from Mr. Geek

The English and Arabic corpus of the Holy Quran is a rich source for statistical analysis. For instance, the entire test corpora has half a million words and many thousand distinct words. A rich dataset such as the Holy Quran, therefore, provides for an exciting journey of data exploration. In this

Read more →
HTML Parsing in Python 3.4 using LXML

HTML Parsing in Python 3.4 using LXML

Ali GajaniOctober 29, 2014Originally from Mr. Geek

LXML is a nice little document parser for lightweight and effective HTML/XML parsing without using regular expressions. The module can be installed with relative ease using pip and works for Python 2 and 3. Let's get the token and expire form values from NYTimes site for an example. Installation of

Read more →
PyMySQL: Pure Python MySQL client, perfect for Python 3+

PyMySQL: Pure Python MySQL client, perfect for Python 3+

Ali GajaniOctober 28, 2014Originally from Mr. Geek

It took me a while to get MySQL working on Python 3.4. I started with MySQLDB, but figured it doesn't work on Python 3 and above. Then I stumbled upon a nice pure-python MySQL client called PyMySQL. Guess what. It works! Here's a tutorial on how to set it up on your Mac. Requirements Make sure you

Read more →
Asynchronous HTTP Requests in Python 3.4

Asynchronous HTTP Requests in Python 3.4

Ali GajaniOctober 27, 2014Originally from Mr. Geek

I started learning Python last night. I will be lying if I say \"it's good\". I'll tell you what, \"it's f**king good\". I am a polyglot programmer and diving in Python was a cinch. It felt as if I knew it already, because \"it makes sense\". I've been playing around with Python 3.4 and here's an

Read more →
Understanding the HTTP ETag using Graph API

Understanding the HTTP ETag using Graph API

Ali GajaniOctober 23, 2014Originally from Mr. Geek

Over the past week, I have been spending time refreshing my knowledge of HTTP caching. I knew what caching was, but only vaguely. Right now, I'm working on a project which involves implementing a caching layer, for performance and scalability. I am a visual learner, so I did a little experiment.

Read more →
Study finds the most popular social networks for specific categories

Study finds the most popular social networks for specific categories

Ali GajaniOctober 18, 2014Originally from Mr. Geek

Attention content publishers/marketers/creators. This one's for you. The brainy data scientists at Vinkk have finally managed to validate a previously popular assumption of why a certain category of content does well in a specific social network. It was widely believed that Pinterest is a heaven for

Read more →
Build a Website the Easy Way with WordPress

Build a Website the Easy Way with WordPress

Ali GajaniOctober 17, 2014Originally from Mr. Geek

Setting up a website with WordPress has several advantages. It is not an expensive option, so it is affordable for most budgets, and it can be used by both small and large businesses alike. WordPress sites also have plugins available that will do a lot of the SEO work for your site on your behalf.

Read more →
Playing with the Hacker News API using Guzzle

Playing with the Hacker News API using Guzzle

Ali GajaniOctober 11, 2014Originally from Mr. Geek

Hacker News released its API to the world a few days ago. Data geeks previously had to rely on web scraping and paginated results to obtain data from the Hacker News site, but things have changed now. With Hacker News' official API, we have a structured way to tap into the data.  I've dabbled

Read more →
Geo-targeting your website to a specific country

Geo-targeting your website to a specific country

Ali GajaniOctober 6, 2014Originally from Mr. Geek

What if I could show you a way to restrict users on your website by geo-location? With just a few lines of PHP code, you can restrict, or depending on the situation, show, different content to users from different countries. I am sure you get the idea. //get the country code $country =

Read more →
Introducing Get STATUS: Use likes as a social currency

Introducing Get STATUS: Use likes as a social currency

Ali GajaniOctober 6, 2014Originally from Mr. Geek

Get Status is a social app especially designed for happy and positive people.  The premise of the idea is to use likes as a social currency. It's the place where you can chat and make new friends, discover and share wonderful moments and and end up receiving tons of likes. Brainchild of Denis

Read more →
Revive Childhood Memories With DosBOX

Revive Childhood Memories With DosBOX

Ali GajaniOctober 5, 2014Originally from Mr. Geek

Aladdin, Duke Nuken 3D and Street Fighter 2 . Remember all these games? I bet you do. These titles made our childhood so freaking awesome and wouldn't it be nice to revive childhood memories by playing them 20 odd years later? Of couse,  with DosBOX, you can do just that. DosBOX is a DOS simulator

Read more →
Grammar inspired software: naming things

Grammar inspired software: naming things

Ali GajaniOctober 2, 2014Originally from Mr. Geek

Writing software is 0.5 art. See, almost anything that allows you to express your creativity is essentially an art form. I personally see software as a canvas for the mind, which makes me an artisan. Since a couple of weeks, an idea has occupied my mind. It's about grammar inspired software and

Read more →
Hands on with Windows 10 Technical Preview

Hands on with Windows 10 Technical Preview

Ali GajaniOctober 2, 2014Originally from Mr. Geek

Windows 10 Technical Preview just arrived last night. I had work to do. Got a university license for VMWare Fusion 7 Pro and Windows 8.1 Pro. Installed the Virtual Machine Software. Added a Windows 8.1 image. Booted it up. Downloaded Windows 10 Technical Preview. Upgraded my 8.1 installation to 10

Read more →
Laravel 4 Pagination with Infinite Scroll using jQuery

Laravel 4 Pagination with Infinite Scroll using jQuery

Ali GajaniOctober 2, 2014Originally from Mr. Geek

This tutorial is born right from the Vinkk code base.  I was in the same boat as you a few weeks ago, and when I didn't find out something elegant, I decided to roll up my own solution. Well, in true Mr. Geek fashion, I am sharing with you the \"Laravel 4 Pagination with Infinite Scroll using

Read more →
Using Android Apps On A Mac

Using Android Apps On A Mac

Ali GajaniSeptember 29, 2014Originally from Mr. Geek

Android Apps on a Mac? Yes, you read that right. I'll show how Bluestacks App Simulator makes this process a cinch. At first, why would you want to do that in the first place? Well, the reasons can be plenty, but here's one. You created too many Instagram accounts from your iPhone/Android device and

Read more →
ELLO is crap BUT here are a few INVITES anyway

ELLO is crap BUT here are a few INVITES anyway

Ali GajaniSeptember 28, 2014Originally from Mr. Geek

Ello has clearly marketed their way to 35,000 signups an hour and 'press love'. I got an invite a few hours ago and I am, as usual, fulfilling my duty of informing the public: move on folks, there's nothing special here. Ello is a social network that is simply banking on \"privacy policies\". I'll

Read more →
Hands on with iOS 8: Swift Key and Swype

Hands on with iOS 8: Swift Key and Swype

Ali GajaniSeptember 28, 2014Originally from Mr. Geek

Android has had third-party keyboards for years, and Apple, as usual, is late to the party. With iOS 8 however, Tim Cook has finally got into the act and changed that. I'll be honest, I love the keyboard on my Nexus 7. It's a treat to type on and I am glad I can do the same on my iOS device now.

Read more →
iOS 8: Continuity in action

iOS 8: Continuity in action

Ali GajaniSeptember 20, 2014Originally from Mr. Geek

When Tim announced Yosemite and iOS 8, one of my favorite features was Continuity. I've finally mustered up the energy the write a short review of my experiences. Tldr; it's pretty cool, I'll tell you that.  Continuity is relevant if you own an iOS device and a Mac (running OS X Yosemite). Put it

Read more →
Evolution of Online Gaming: 1970s and today

Evolution of Online Gaming: 1970s and today

Ali GajaniSeptember 16, 2014Originally from Mr. Geek

 During the rapid growth of the Web in the late 90s, online gaming came into spotlight. With advancements in computer networking, increasing bandwidth and rapid globalization, online gaming has evolved greatly over the years. At any given instant, there are well over a million players engaging in

Read more →