SSH password less key authentication 101

Ashfame By Ashfame
May 15th, 2013
Filed in Uncategorized

Check whether you already have a key pair generated. Inside .ssh directory of your home, if you see files name id_rsa and id_rsa.pub then you can use them. If you don’t have them, generate a new one. How to generate a SSH key pair? ssh-keygen -t rsa To be able to use password less authentication, [Read more →]

Setting up your VPS

Ashfame By Ashfame
May 14th, 2013
Filed in Uncategorized

Its very easy to setup a VPS considering the tools now we have on our exposure. This post is more of a self note to myself, so pardon me for not explaining things. To quickly setup latest NginX, MySQL, PHP (with APC and Suhosin) & exim, just use this script https://github.com/vladgh/VladGh.com-LEMP These instructions will get things [Read more →]

Send & Receive mails to & from localhost

Ashfame By Ashfame
January 12th, 2013
Filed in How To / Tutorials

Mails don’t work when locally but sometimes it might prove to be very useful in development if one can send & receive mails to & from localhost. It can be setup pretty easily too. Basic idea is to configure postfix for localhost & then use mutt to read local mails. Here is how it is [Read more →]

Ubuntu controlling network adapters through terminal

Ashfame By Ashfame
November 30th, 2012
Filed in How To / Tutorials

We all know that Ubuntu’s network management is quite good but not there yet. One big issue with it is that, on some machines, disabling one type of network adapter, disables the other one too. Like I use wifi to connect to the internet but my bluetooth is switched on by default all the time. [Read more →]

Feedback to Appfog

Ashfame By Ashfame
September 13th, 2012
Filed in Uncategorized

Appfog, Consider this post as “Open feedback”. @appfog @ashfame Could you send us acct details so we can look at what’s going on? Pls share UI bugs too (support.appfog.com) — AppFog Help (@AppFogHelp) September 9, 2012 I like what they are doing in PAAS industry, I want to see them grow, so posting my findings here [Read more →]

Fetch comments of a specific category in WordPress

Ashfame By Ashfame
April 18th, 2011
Filed in How To / Tutorials, programming

WordPress already provides an easy function for fetching the comments get_comments() but the function only supports fetching comments of a particular user, or for a particular post and not fetching comments of a particular category. The code for the former two cases, is pretty simple but the last one is not so simple. Here are [Read more →]