Tspoons logo - talvinder.com

Logo of Tspoon

Logo of Tspoons… a graphic design studio… started by me and couple of my friends during IIT days.
varnish and wordpress

Varnish cache 503 guru meditation

Its a frequent headache with varnish. I found the suggestions mentioned in the article http://www.technoreply.com/solving-dreaded-varnish-503-error/ very useful. Reproducing the article here, just in case it goes offline in future: BEFORE WE START One of the most confusing (but...
Development environment for remote teams

Perfect development environment for remote teams

I prefer developing on remote server, since it ensures greater fidelity to the production environment plus awesome portability. I just need a terminal and my .pem key to logon to my servers from anywhere,...
mailgun and digital ocean

Configure subdomain for Mailgun in Digital Ocean

I really like Digital Ocean for its no-fuss, economical yet powerful servers. Recently, I hit a snag trying to configure subdomain for mailgun using digital ocean's DNS settings. No matter what I did, mailgun was...

Error 1045 in Navicat and sqlyog

If you have experienced Access denied while using Navicat or SQLYOG or any other mysql client, this post is for you. I am assuming that, the username and password are working fine when you SSH...
w3 total cache 500 internal server error

W3 Total cache 500 internal server error

W3 Total cache is a very powerful plugin and if handled properly, can improve performance of your wordpress a lot. But, at times it can lead to migraines of worst order. One such scenario...
FTP on EC2

Quickly create an FTP server on your EC2 instance

After crawling through scores of pages, found this tutorial, which works like a charm. http://www.sigerr.org/linux/setup-vsftpd-custom-multiple-directories-users-accounts-ubuntu-step-by-step/ Couple of things overlooked in this: 500 OOPS: priv_sock_get_int Fix: add to /etc/vsftpd.conf seccomp_sandbox=NO passive mode in filezilla fix: http://sumantjsr.blogspot.in/2011/12/fix-for-sent-passive-reply-with_5945.html
Auto lock feature code snippet

Code Snippet for auto-lock feature in settings > general

An interesting snippet discovered at stackoverflow link This enables implementing auto-lock feature like that seen in settings -> general. override func viewDidLoad() { super.viewDidLoad() // … tableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: "categoryCell") } func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCellWithIdentifier("categoryCell",...

Add "buzz" and Escape-close to Pidgin!

Add “buzz” and Escape-close to Pidgin! Pidgin doesn’t support Yahoo messenger(ym) shortcuts like: ctrl-g for buzz and Esc for closing the window. Being an ardent user of ym(once upon a time :P ), I was pretty accustomed to...
Cloning EC2 AWS

Cloning EC2 instance

Create AMI Launch new instance While launching new instance, you can keep instance storage low Keep EBS storage upto your needs If your site is located at /var/www/ and you use mod_rewrite of apache: 1. If the conf of...
Bitnami