I recently released an ad management plugin for WordPress called “Easy AdSense Ads & Scripts Manager“. In this plugin we have a custom widget with option to remove the padding and borders (if any) added by the theme. I did not think much before implementing this feature and was expecting WordPress to have some kind of hook

Tagged with

We use MUP to deploy our Meteor app, NYBR. MUP creates three docker containers for running the meteor app, nginx reverse proxy and mongo. Like most applications, the need for sending the email came, ideally we should be using Amazon Web Services SES, but getting their approval was a pain in the @$$ and was taking

Tagged with

If you are getting the following error when installing python packages using PIP or easy_install, don’t worry. You have come to the right place for solution. First make sure you have developer tools installed. You can install them by executing the following command in terminal xcode-select –install The clang errors are due to changes introduced in

Tagged with

You might encounter the following two errors while installing phpMyAdmin on OSX Login without password is forbidden by the configuration ( See AllowNoPassword ) #2002 can not login tot the MySQL server Here are the fixes for the above two errors. 1. Open phpMyAdmin configuration located at (phpMyAdmin Folder)/config.inc.php and change $cfg[‘Servers’][$i][‘AllowNoPassword’] = False; to

If you are unable to connect to mysql from PHP and you are sure that MYSQL is running, then try changing your host name from localhost to 127.0.0.1

Tagged with

Though we can specify order explicitly in queries like below Posts.objects.order_by(‘published’) it is repetitive and most of the times we will want to order by a particular field. We can specify the order in the models like this

1

2

3

4

5

6

7

8

9

10

classPost(models.Model):

title=models.CharField(max_length=140)

content=models.TextField()

published=models.DateTimeField()

def __unicode__(self):

returnself.title

<strong>classMeta:</strong>

<strong>ordering=['published']</strong>

Tagged with

Django allows method calls inside template system. Though this is an useful feature, some of the methods will have side effects. Mostly the ones that alter data. Say, for instance, you have a UserAccount object that has a delete() method. If a template includes something like {{ account.delete }}, where account is a UserAccount object,

Tagged with

$ and ^ are regular expression characters that have a special meaning: the caret means “require that the pattern matches the start of the string,” and the dollar sign means “require that the pattern matches the end of the string.” For example consider the following url pattern

1

2

3

urlpatterns=patterns('',

url(r'^hello/$',hello),

)

Without the dollar sign at the end

Tagged with

Django traceback is a very helpful tool in Django development. It saves us from the boring tasking of writing print statements to track variables. Traceback doesn’t kick when there is no error. There may be no coding errors but there is a flaw in our application logic which we want to debug. In such cases

Satish Gandham

Hey, I’m a full stack web developer from the beautiful Coastal Andhra, currently living in Hyderabad and working on building my own company SwiftThemes.Com. A company that primarily offers WordPress related products and services. I work(ed) on WordPress, DJango, Meteor, Ionic, AngularJS, Angular2, ReactJS. I speak English, Hindi and Telugu to humans and Python, PHP, JS, Bash to Geeks and Machines.

Interesting Work

Reliance Jio Infocom, In my 2.5 years at Jio, Architected and developed the backend and handled the devops for JioGame store backend serving 10 million users. led the front-end team of 6 developing the management console for the public cloud.

SwiftThemes, The fastest and the popular WordPress theme with 2 Million downloads and 7k paying customers.

NYBR,
A location based hyper local social network to give you a break from monotonous life and help you connect with your neighbours.