Ubuntu: convert an MKV to AVI

Meisha, just like me, is a fan of Tom and Jerry. I have a good collection of Tom and Jerry videos. The only problem was all those videos are in mkv format and she had to open her laptop to watch those videos every time. I realised the need to convert all of those videos to avi format so that they can be played from the TV. Wrote a bash script to do the conversion for me. Used xargs for parallel processing; ultimately there is a good number of videos and time is precious. That’s all. Check out here, if you have any requirement of such conversion.
Continue reading

Advertisements

2017 Year in review : flashback 2017

Question: Why I’m writing this? Who will be interested to know how I spent a year?
Answer: Writing for myself, no one else. I have set up a target to review every year at the end of that year to prepare myself for the next year accordingly. It’s important to admit failures, learn from them, prioritise issues to fix ASAP; equally important is to celebrate the successful achievements. I’m quite desperate to get a better version of myself. Most of us have heard the old saying that- “emotional, physical and mental changes that seem to occur in approximate seven-year intervals“. And these are the steps towards that. That’s the sole purpose of this post. Yeah, I know, kinda selfish, but that’s how the world is!
Continue reading

Python: parallelism using multiprocessing and multithreading

Have been working with Python since last few months. Was building some small modules. Quite excited about my new learnings. Recently I’d developed a distributed parallel data import process by following the generic Pub-Sub pattern. Earlier I’d published a 3 tier design of the same, developed using PHP. Comparative to that, it’s a simpler 2 tier design and this time I developed the process using Python. Have used multiprocessing and multithreading to achieve parallelism.
Continue reading

Setup remote Git repository

Have started working on another experimental project. This project is specifically for my learning purpose. I’m trying to automate few of my regular tasks. The same way I resolved earlier Reminder service or Automatically send emails using filters or Auto login to internet portal etc. Would like to tag these as ‘food for thought’. Will come back to new project details in a few months. This time I’m thinking in some broader aspect. To initiate that, the very first step is to set up its configuration properly. That is the reason behind this post. Continue reading

Gmail Canned Responses: automatically send emails using filters

There are some emails where I’d like to thank the sender immediately after receiving them. Also, there are emails which I’d like to filter to my `To Read` directory and reply back with a formal message. Eventually, there are also some emails which I want to ignore completely and would like to let them know that I’d never solicited this kind of message from them. I’ve automated this entire process. Continue reading