Stripe payments customized emails

Stripe is very popular payment processing system growing in its customers day by day, it has well written and rich enhanced api with really cool documentation which provides us great flexibility in terms of utilization and customization. Stripe dashboard itself has pretty standard customization options for emails, you can place your logo and change a […]

Automate Database backups using cron/ssh

Cron is a right solution to take backup of your website database at certain intervals like take backup every day. You can add following command into your cron for daily backup of your website. To know about cronjob follow the link http://lampjs.com/2016/02/07/how-to-set-php-script-to-cronjob/ Example: Explanation 0 0 Don’t run at every minute or every hour * […]

How to set php script to cronjob

Cron is a task scheduler which can execute a task on certain intervals, you can add php script to cron to run it on certain time intervals. For example you want to delete temporary files after every 14 days, you write a script to delete temporary files and add that script to cron. How to […]

Magento Creating Multi Stores on Different Domains

Magento is yet a powerful opensource e-commerce solution. It allows you create multiple stores inside single installation. You can then point each of store to a new url. Lets start with multi store creation. Step 1: Create Category for new store Magento needs root category for the store, you can either create new store category […]

Bash incorrect wrapping in terminal

When I type long commands in bash the text begins overwriting the current line from start, that is some thing weird. I have figured out that that is actually because of bash profile settings in ~/.bashrc file After searching on google I came to answer from stackexchange explaining the scenario as follow Non-printable sequences should […]