Weekend Coding - WhatsApp To HTML

There was a discussion going on in Nagpur Techies group which I thought was worth sharing about. But as we all know, the discussions will fade away with time, as there is no way to publish these discussions on the internet, as of now. So a though came into my mind - to publish these WhatsApp chats to blogs i.e. in HTML. So I wrote a small NodeJS script which does convert WhatsApp messages copied from WhatsApp Web to an HTML file. WhatsApp to HTML

Read more

Sketchy Days - Feb 2016

Sketchy Sunday #8 Burdi, Nagpur At Water Painting Art Exhibition Mayur (left) with his painting and friends Mahesh Mankar being awarded for his contribution to art

Read more

Developer to Designer - Day 1

After years of experience in programming, I decided to concentrate more on design skills. So I have been trying to learn design skills from so many months. But there isn't single thing to follow which will make you a better designer. Finally, I decided to have a mentor and start from very basic. I decided to learn sketching and then slowly I will progress to design. And most of it will be a practical rather than just theory. My Mentor is Mayur, he has more than

Read more

Creating Plugins for Croogo

Bake a Plugin To bake a plugin for Croogo, go to Croogo’s app folder in terminal and type following command. Let’s create a plugin named Library. $ cd ~/public_html/croogo $ Console/cake bake plugin Library You will be asked to choose a location of the plugin. Select outermost Plugin/ folder. Above command does following things: Creates proper directory structure for new plugin Creates plugin’s AppController.php file (LibraryAppController.php) Creates plugin’s AppModel.php file (LibraryAppModel.php) Adds entry in Config/bootstrap.php

Read more

Notes on AngularJS

CakePHP Date-time to AngularJS date time CakePHP created and modified dates are in format “Y-m-d H:i:s” where AngularJS expects date to be in unix format to be able to format. Using UnderscoreJS with AngularJS I have used underscoreJS earlier and I must say that it is an awesome plugin that I mostly use wherever I need to deal with lot of JavaScript. This question on Stack Overflow shows you how you can install it with your AngularJS project. Sharing code between controllers Initially, I

Read more

Notes On Setting LAMP Environment For Web Development On Ubuntu

Most of the time I come across situations where I need to install or configure LAMP environment for web application development. I have done this many time but there are always some things that I need to struggle with. There are plenty tutorials and articles already written on these, but I needed some kind of notes that will suite my development style, and that I can update as I learn new things. So here I am documenting common things related to web application development environment setup.

Read more

Running WordPress Blog From CakePHP

If you are CakePHP developer, you probably know that files and folders located at app/webroot directory, are visible from urls directly. For example, if you keep example.pdf file in your webroot directory, you can access it from http://yoursite.com/example.pdf. This logic was earlier used to add wordpress blog to CakePHP. All you had to do is, copy your wordpress folder (renamed to ‘blog’, most of the time) in your webroot directory, so that blog can run from http://yoursite.com/blog.

Read more

Always Use References In Commit Messages

Make a rule to always add an issue first and then refer it with #number in your commit message. It very easy to ignore this thing. For every small/big change adding a reference might look like extra work. But doing so is really worth. The real benefit of adding references to commit messages becomes apparent when you are looking for all the changes that were done for particular feature. If you are developing on Github or using project management software like Redmine, these references becomes

Read more

How To Share Website Links Instantly And Keep Their Record

When you surf on internet, many times you come across information that is valuable to you or someone you know. You like to share things and that’s why you use Facebook, Twitter or Google+, don’t you? Sharing Is Caring, Don’t Be Slow There are different types of information people like to share with different people like a link worth sharing (Twitter), fun to watch video (Facebook), work related (LinkedIn), read it later/bookmark (delicious, Google Reader), related to friend (Gmail) and so on.

Read more