A

Use WooCommerce product image as its category image

WooCommerce is capable of showing category as well as products on its shop page and this is configurable from settings available in admin side but I can totally imagine running into the situation that categories don't have their images uploaded and they will end up showing placeholder / default image. A quick solution would be […]

How to use WooCommerce email design in custom emails

Let's say you have already styled your WooCommerce email and want to use the same email design for a custom email, how will you go about that? Turns out its pretty easy. For the sake of simplicity , I am assuming you have the needed data in variables, change them accordingly as per your code. […]

SSH password less key authentication 101

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, […]

Setting up your VPS

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 […]

Send & Receive mails to & from localhost

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 […]

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 […]