Premium Blogs

Blog of the Moment

Decorating ideas guide
Decorating ideas gui..
blog listed in
(home_garden)
Microshell - Learn something, share some
A personal blog where I share things that I've learned as I encounter them while working as programmer. Topics include PHP, MySQL & PostgreSQL admin, queries and optimization as well as other tools that makes programming easier.
Listed in Programming on position 9 and overall rank is 1804
Country United States
Language English
Owner mnirwan
Member Since July 14, 2009
URL http://www.microshell.com
Pagerank 0
Tags php | mysql | postgresql linux | windows | mac_os_x |
Latest Posts on: Microshell - Learn something, share something
Retrieved latest 5 posts at: http://www.microshell.com/feed/

Brain teaser: splitting revenue fairly.

While this brain teaser can be applied to more than programming, I think it’s a very nice one to sharpen our problem-solving solution required to do a good programming. There were 2 people, A and B. They joined together to have a meal. Person A brought 3 loafs of bread. Person B brought 5 loafs of [...]..

Posted on 30 October 2010 | 8:24 pm

Revisit: choosing virtualization solution

It has been almost 1.5 years since I wrote my originalarticle. While I’m still cheap (read: always try to get the best deals out there) but other things have changed — especially in the built-in support of virtualization on some Linux distributions. My new (used) server So this time, I got my server Sun Fire v40z off [...]..

Posted on 30 October 2010 | 7:43 pm

Adding support for SSH2 on MAMP

Recently, I am in need to use SFTP on one of my PHP script. Fortunately, PHP does support it through SSH2 binding. Unfortunately, however, MAMP doesn’t come with SSH2 extension. So it looks like I have to recompile myself. Adding SSH2 extension to your MAMP the easy way I’ve compiled SSH2 extension for Mac. Note that it [...]..

Posted on 12 December 2009 | 2:04 am

Swap values in 2 rows SQL

I encountered a situation at work that I feel would be a good brain teaser. I was working on a project and needed a way to swap values from 2 different rows in a SQL table. Obviously I can do it on client side (like PHP) to do it; but that wouldn’t be a good [...]..

Posted on 11 October 2009 | 9:31 pm

Updating wp-ban to include bad URLs

I’ve posteda while back. Now I’m getting tired of these bozos trying to hack my system in vain, wasting my bandwith and driving up fake page views on my StatPress. So I decided to patch wp-ban to include what I considered bad URLs. Since I’ll be using wp-ban, it should go without saying that you need [...]..

Posted on 6 September 2009 | 10:52 am