Blog


An idea for a lightweight PHP CMS with .txt files and query strings
Laziness often helps you figure out funny ways to solve problems. Put it this way. I've found a hack to create a lightweight CMS in PHP that uses .txt files and query strings. Yes, you publish through a URL, and the persistence happens inside a text file. Not a MySQL database. Crazy! It works. I
Read more →
An idea for a lightweight PHP CMS with .txt files and query strings
Laziness often helps you figure out funny ways to solve problems. Put it this way. I've found a hack to create a lightweight CMS in PHP that uses .txt files and query strings. Yes, you publish through a URL, and the persistence happens inside a text file. Not a MySQL database. Crazy! It works. I

Data mining 1.5 million tweets for Twitter sentiment analysis
The contents of this blog post are inherited from a short research project by Group 10 of the Information Retrieval and Data Mining module at University College London. Instead of letting it rot in my Dropbox, I decide to free the knowledge and hope someone finds it useful. The research goal was to
Read more →
Data mining 1.5 million tweets for Twitter sentiment analysis
The contents of this blog post are inherited from a short research project by Group 10 of the Information Retrieval and Data Mining module at University College London. Instead of letting it rot in my Dropbox, I decide to free the knowledge and hope someone finds it useful. The research goal was to

Building a REST API using Hapi.js and MongoDB
MongoDB and Hapi.js are two powerful technologies that allow working with REST API a cinch. You may already familiar with them, but let me do a quick review on it. Hapi.js is a very rich node.js framework for building applications and services. Hapi enables developers to focus on writing reusable
Read more →
Building a REST API using Hapi.js and MongoDB
MongoDB and Hapi.js are two powerful technologies that allow working with REST API a cinch. You may already familiar with them, but let me do a quick review on it. Hapi.js is a very rich node.js framework for building applications and services. Hapi enables developers to focus on writing reusable

Android L Hands On
It’s been quite some time since Google rolled out the Android L Developer Preview for Nexus 5 and Nexus 7. We decided to boot it up and experience what's inside. The device used is a Nexus 7 2013 (Wi-Fi). The first dramatic differences when you boot up Android L are obvious. There is a complete UI
Read more →
Android L Hands On
It’s been quite some time since Google rolled out the Android L Developer Preview for Nexus 5 and Nexus 7. We decided to boot it up and experience what's inside. The device used is a Nexus 7 2013 (Wi-Fi). The first dramatic differences when you boot up Android L are obvious. There is a complete UI

Managing Assets in Laravel 4 using Helpers and HTML Builder
Laravel 4 doesn't have a lot of documentation on managing assets such as stylesheets or Javascript files. Laravel 3's documentation did however, but it seems to have been omitted for the newer version somehow. Today, I'll be showing you some neat ways to manage assets using Helper functions and HTML
Read more →
Managing Assets in Laravel 4 using Helpers and HTML Builder
Laravel 4 doesn't have a lot of documentation on managing assets such as stylesheets or Javascript files. Laravel 3's documentation did however, but it seems to have been omitted for the newer version somehow. Today, I'll be showing you some neat ways to manage assets using Helper functions and HTML

Dead simple CRUD in Laravel 4
I feel I've come late to the party. But they say, it's never too late. Laravel's community has matured and it's safe to say the framework has brought the sexy back to PHP. Laravel is dead simple. It's expressive, elegant, and extremely powerful at the same time. CRUD operations are the core of any
Read more →
Dead simple CRUD in Laravel 4
I feel I've come late to the party. But they say, it's never too late. Laravel's community has matured and it's safe to say the framework has brought the sexy back to PHP. Laravel is dead simple. It's expressive, elegant, and extremely powerful at the same time. CRUD operations are the core of any

FreeMyApps: Download Suggested Apps and Earn Rewards
Wouldn't it be great if a service asks you to download some apps suggested by them, and in return you earn $$ or free items as reward. Freemyapps does just that. Read on to find out more. How FreeMyApps Works Some individual developers or companies that make Mobile apps (iOS and Android
Read more →
FreeMyApps: Download Suggested Apps and Earn Rewards
Wouldn't it be great if a service asks you to download some apps suggested by them, and in return you earn $$ or free items as reward. Freemyapps does just that. Read on to find out more. How FreeMyApps Works Some individual developers or companies that make Mobile apps (iOS and Android

Facebook buys Yo! app for $5 billion dollars
Our team of Silicon Valley insiders have just reported a major development in the area. Facebook has just finished a deal to acquire mobile app Yo! for approximately $5 billion in cash and stock. Yo! will remain an independently branded standalone app that’s separate from Facebook. The
Read more →
Facebook buys Yo! app for $5 billion dollars
Our team of Silicon Valley insiders have just reported a major development in the area. Facebook has just finished a deal to acquire mobile app Yo! for approximately $5 billion in cash and stock. Yo! will remain an independently branded standalone app that’s separate from Facebook. The

What's new in Yosemite OS X 10.10 Beta 2 ?
Cook and Co. just pushed their latest beta updates for iOS 8 and Yosemite OS 10.10. I've updated my Yosemite and here's a short review on what's changed. I am only documenting the visible changes, but I've provided a Pastebin of the full release notes in case you're interested. Wifi bug: The Wifi
Read more →
What's new in Yosemite OS X 10.10 Beta 2 ?
Cook and Co. just pushed their latest beta updates for iOS 8 and Yosemite OS 10.10. I've updated my Yosemite and here's a short review on what's changed. I am only documenting the visible changes, but I've provided a Pastebin of the full release notes in case you're interested. Wifi bug: The Wifi

How to update Homebrew in Yosemite?
Yosemite uses Ruby 2.0 where as my previously installed Homebrew was set to use 1.8. I did an upgrade from Mavericks to Yosemite just last week, but it was today that I set out using brew commands and realized, oh no! But I have a 2 minute fix that works just fine. Step 1 Change the first line of
Read more →
How to update Homebrew in Yosemite?
Yosemite uses Ruby 2.0 where as my previously installed Homebrew was set to use 1.8. I did an upgrade from Mavericks to Yosemite just last week, but it was today that I set out using brew commands and realized, oh no! But I have a 2 minute fix that works just fine. Step 1 Change the first line of

How to fix the Wifi bug in Yosemite using Keychain reset?
The Wifi bug in Yosemite's current beta release is irritating. I am back on Ethernet now that Yosemite won't let me connect to Wifi. Even when it does, it disconnects in a few minutes. Guess what - I've a bug fix that works. Step 1: Open Keychain using Spotlight (Cmd+Space). Step 2: Go to Keychain
Read more →
How to fix the Wifi bug in Yosemite using Keychain reset?
The Wifi bug in Yosemite's current beta release is irritating. I am back on Ethernet now that Yosemite won't let me connect to Wifi. Even when it does, it disconnects in a few minutes. Guess what - I've a bug fix that works. Step 1: Open Keychain using Spotlight (Cmd+Space). Step 2: Go to Keychain

Hands on with OS X 10.10 Yosemite by Mr. Geek
I've just downloaded Apple's OS X 10.10 Yosemite pre-release. You might ask, how did I get my hands on it? Well, as an owner of a Developer account, I have access to beta releases from Apple right from their developer portal. It costs 99 bucks a year but it's worth it. Here's a hands on review of
Read more →
Hands on with OS X 10.10 Yosemite by Mr. Geek
I've just downloaded Apple's OS X 10.10 Yosemite pre-release. You might ask, how did I get my hands on it? Well, as an owner of a Developer account, I have access to beta releases from Apple right from their developer portal. It costs 99 bucks a year but it's worth it. Here's a hands on review of

Improve your Chrome experience with Speed Dial 2
I dislike Google Chrome's \"New Tab Page\". It's not aesthetically pleasing. Have a look at the image above. Can you see it? That's Speed Dial 2. It's by far the best replacement of the 'New Tab Page\". Speed Dial 2 gives you access to your favorite sites with a gorgeous, customizable user interface.
Read more →
Improve your Chrome experience with Speed Dial 2
I dislike Google Chrome's \"New Tab Page\". It's not aesthetically pleasing. Have a look at the image above. Can you see it? That's Speed Dial 2. It's by far the best replacement of the 'New Tab Page\". Speed Dial 2 gives you access to your favorite sites with a gorgeous, customizable user interface.

Setting up Laravel 4 on OS X 10.9 Mavericks
I come from the world of CodeIgniter, the ailing framework who was once the Zeus of the PHP framework arena. I have written around 20,000 lines of code in CodeIgniter, and developed a marketplace platform back in 2012. CodeIgniter was love at first sight, but with its slow development pace, Laravel
Read more →
Setting up Laravel 4 on OS X 10.9 Mavericks
I come from the world of CodeIgniter, the ailing framework who was once the Zeus of the PHP framework arena. I have written around 20,000 lines of code in CodeIgniter, and developed a marketplace platform back in 2012. CodeIgniter was love at first sight, but with its slow development pace, Laravel

Breakpoint Tester and FlatUI Colors
Wassup folks. Bob here, Mr. Geek's side-kick. I got some goodies for you today. Attention web artisans and pixel perfect designers, this blog post is for you. Over the past couple of years, Mr. Geek has collected links to tools on web design and development. I have finally persuaded him to allow me
Read more →
Breakpoint Tester and FlatUI Colors
Wassup folks. Bob here, Mr. Geek's side-kick. I got some goodies for you today. Attention web artisans and pixel perfect designers, this blog post is for you. Over the past couple of years, Mr. Geek has collected links to tools on web design and development. I have finally persuaded him to allow me

How to open large text files (>5 GB) on a Mac ?
A month ago, I downloaded a large dataset from Twitter. The .txt file consisted of around 1.5 million tweets in JSON and weighed at 5.5 GB. I wanted to look at the structure of the JSON in order to design a parser for processing the tweets. I was then working on a Sentiment Analysis project. As I
Read more →
How to open large text files (>5 GB) on a Mac ?
A month ago, I downloaded a large dataset from Twitter. The .txt file consisted of around 1.5 million tweets in JSON and weighed at 5.5 GB. I wanted to look at the structure of the JSON in order to design a parser for processing the tweets. I was then working on a Sentiment Analysis project. As I

12 Most Famous PhD Theses In History
I have compiled a very solid list of the 12 most famous PhD theses (plural of thesis) in history. Do realize that this list includes 'PhD Theses' and not books/volumes (so Principia by Newton doesn't count). This list is based entirely upon my general knowledge, so pardon me if I am limited in my
Read more →
12 Most Famous PhD Theses In History
I have compiled a very solid list of the 12 most famous PhD theses (plural of thesis) in history. Do realize that this list includes 'PhD Theses' and not books/volumes (so Principia by Newton doesn't count). This list is based entirely upon my general knowledge, so pardon me if I am limited in my

Graph Theory 101: Directed and Undirected Graphs
This is a very short introduction to graph theory. We will be talking about directed and undirected graphs, the formulas to find the maximum possible edges for them and the mathematical proofs that underlie the philosophy of why they work. This is my first use of LaTeX on Mr. Geek. Graph Theory
Read more →
Graph Theory 101: Directed and Undirected Graphs
This is a very short introduction to graph theory. We will be talking about directed and undirected graphs, the formulas to find the maximum possible edges for them and the mathematical proofs that underlie the philosophy of why they work. This is my first use of LaTeX on Mr. Geek. Graph Theory

Getting it Right When Choosing HR Software
People are perhaps the most important element of any business, so it's vital to look after your employees properly. And when it comes to payroll and human resources software, it pays to choose a solution that not only meets your needs but can also grow with your organisation. Assessing your needs
Read more →
Getting it Right When Choosing HR Software
People are perhaps the most important element of any business, so it's vital to look after your employees properly. And when it comes to payroll and human resources software, it pays to choose a solution that not only meets your needs but can also grow with your organisation. Assessing your needs

Measuring influence in a group using social network analysis
I have decided to publish the contents of my Complex Networks and Web coursework project here on Mr. Geek. The information contained in this post might be complex to some, but I assure you that this will be a good long read. I have included lots of pictures to make sure you don't get bored in the
Read more →
Measuring influence in a group using social network analysis
I have decided to publish the contents of my Complex Networks and Web coursework project here on Mr. Geek. The information contained in this post might be complex to some, but I assure you that this will be a good long read. I have included lots of pictures to make sure you don't get bored in the