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 →]

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 →]

Using Ubuntu Notification System – NotifyOSD

Ashfame By Ashfame
April 12th, 2011
Filed in How To / Tutorials, Tips n Tricks

Ubuntu features a notification system, where you can see a message notifying you about some particular event. Rhythmbox uses it to show the next track when a track ends, Filezilla shows a notification that file transfers are completed when its window is not in focus (Very handy!) and so on several applications can use it [Read more →]

Quickly setup a localhost environment in Ubuntu

Ashfame By Ashfame
March 28th, 2011
Filed in How To / Tutorials

Although, I use Ubuntu, this should apply to a large number of linux distros. Every developer uses a local environment to develop locally before testing it live. I kinda avoid that root by mounting my FTP webspace in Ubuntu and directly working on live files (there is no need of download and upload as you [Read more →]