Categories
Uncategorized

Upload image and file in Codeigniter

I came across this interesting article: https://www.guru99.com/codeigniter-file-upload.html while trying to write code for image upload.

Check it out. Its very simple to understand.

Categories
Uncategorized

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.

Categories
Uncategorized

Securing WordPress

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

  • Hardening WordPress: https://codex.wordpress.org/Hardening_WordPress
  • The Ultimate WordPress Security Guide: https://www.wpbeginner.com/wordpress-security
  • Sucuri: https://blog.sucuri.net
  • WordPress Security – 19+ Steps to Lock Down Your Site: https://kinsta.com/blog/wordpress-security

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

Categories
Uncategorized

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.

Categories
Blog Post Theme

Bootstrap Snippets

Sometimes, we need code to enhance our website according to latest design trends. For bootstrap, I prefer bootsnipp.com 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 bootsnipp.com

Categories
Theme

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:

  • http://underscores.me/
  • http://jointswp.com/
  • https://understrap.com/
  • https://roots.io/

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

Also, Bootstrap related wordpress starter theme can be found at understrap.com

Categories
Uncategorized

Taming CSS3 animations

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

Categories
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.

Categories
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 egghead.io 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.

Categories
Uncategorized

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.