Author: Ashfame
-
Ubuntu controlling network adapters through terminal
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.…
-
Feedback to Appfog
Appfog, Consider this post as “Open feedback”. https://twitter.com/AppFogHelp/status/244899769594544129 I like what they are doing in PAAS industry, I want to see them grow, so posting my findings here for them to see: Functionality bugs favpulse.aws.af.cm throws 502 gateway error (its a WordPress install) Its a fresh install created from Appfog UI. Used to work fine, but stopped…
-
Fetch comments of a specific category in WordPress
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…
-
WordPress plugin Facebook Like Thumbnail Updates
I have updated my WordPress plugin to fix Facebook Like Thumbnails to version 0.2 which I am sure will make the existing users happy! 🙂 Some of the users who quickly upgraded might be facing issues because of a silly mistake on my part. If the plugin has disappeared from the plugins listing, then you…
-
Pagination approach using get_posts() in WordPress
Yesterday, I talk about using WP_query or query_posts or get_posts and today I am going to explain the approach I use to have pagination using get_posts(). The other two methods take care of the pagination by them self by just passing the paged parameter along with the function call. But get_posts() is more of a…
-
Which one to use WP_Query vs query_posts() vs get_posts()?
There are several instances where we want to display content other than what WordPress displays at a particular page. There are three methods which you can use, but each of them is meant for a specific purpose, otherwise why would they have existed? Makes sense? Good! Some tutorials use one, some other and many of…
-
Pomodoro Timer in Ubuntu
I finally decided to try Pomodoro technique to see how well it can improve my productivity as I am a lot disorganised, lazy sorta geek (well who isn’t?). So I built up a small script which acts as a Pomodoro timer for me using Ubuntu notification system (Do read it if you haven’t, you need…