Upload image and file in Codeigniter

I came across this interesting article: while trying to write code for image upload.

Check it out. Its very simple to understand.


Missing PhpMyAdmin

Sometimes you will find yourself without a GUI for managing database like PhpMyAdmin. There is no need to panic in this case; Adminer is here for you.

I came across this utility years ago and it still does a great job with its simple interface.

Just upload the Adminer PHP script to your www or httpdocs folder and access it through browser.

Voila you have a GUI for managing your MySql database.


Securing WordPress

Here are some resources which will help you secure your wordpress site:

  • Hardening WordPress:
  • The Ultimate WordPress Security Guide:
  • Sucuri:
  • WordPress Security – 19+ Steps to Lock Down Your Site:

Information taken from the book: WordPress All-In-One for Dummies, 4th Edition


Hacking for developers

It might seem like a strange topic. However, it leads us to an odd question.

Why should developers learn how to hack websites, web application or mobile apps ?

The answer lies in a single word, security.

If you want to avoid your applications from being hacked you have to write secure code.

Hackers, typically take advantage of vulnerabilities in your application to hack it. And get private information from your system.

If you know how your applications security can be breached then you can take the required steps to avoid being hacked.

That is one of the reasons why developers should know hacking. From, now on; I will be adding hacking tips and tricks in this blog.

Blog Post Theme

Bootstrap Snippets

Sometimes, we need code to enhance our website according to latest design trends. For bootstrap, I prefer since it has many code snippets from a community of developers who believe that sharing their code can make life easier for others.

There are also code snippets written for other UI frameworks like Foundation, Semantic UI and Materialize at


Starter themes for WordPress

Starter themes help you design themes with a stable foundation. Here are a couple of wordpress starter themes that I came across recently:


If you are familiar with Foundation then will be a good starting point for you.

Also, Bootstrap related wordpress starter theme can be found at


Taming CSS3 animations

Here are a few tools which will help you use css3 animations in almost all browsers:

Blog Post

ffmpeg decoded

I recently used ffmpeg to build a small script which adds animated gif as watermark to an existing video. This tutorial came handy for implementing that script.

Blog Post Uncategorized

Understanding React and Redux in 2018

Interested to learn React. Well, then look no further. I have gone through the following books and videos which helped me learn React and Redux.

Here is how I learned React and Redux:

  • By watching a couple of free videos at which helped me understand and learn React + Redux
  • If you are a beginner to React then you can go through this video
  • If you prefer books instead of videos then I would recommend the following books: React and Redux

Now to be a ninja in React; you can follow this book which explains ecmascript. Do let me know about your experience in React and Redux in the comments below.


Node.js experience

Working with node.js was easy due to my familarity with Javascript . As a beginner to node, I started learning about npm or the node package manager.

PM2 was another great tool that I came across while working with nodejs.

Building an e-learning application and deploying  it to live server was a challenge which I had to overcome eventually.

And, I finally completed my project with a couple of lessons learned the hard way.