Ubuntu is discontinuing support for the Debian-installer based classic server installer from 20.04 LTS (Focal Fossa) making the way for subiquity server installer. This post shows how the Packer build config vary for both installers.

Sun, 10 May 2020 02:38:00 +0000https://imagineer.in/blog/packer-build-for-ubuntu-20-04/
https://imagineer.in/blog/packer-build-for-ubuntu-20-04/Migrating the data for PostgreSQL major version upgrade

PostgreSQL databases can be migrated without doing database dump-and-restore.
Here are the steps to migrate from Postgres 9.6 to 12 in Ubuntu 18.04

Since the introduction of a new router to our home premises the previous one was lying around unused - it is TP-Link Archer C2 AC750 Wireless Dual Band Gigabit Router. I changed it to run as a Repeater, so that it can strengthen WiFi signal to the weak spots; Here is a note on how to do that.

I was in a Mosh session on a remote server and tried to do scroll using trackpad. Surprisingly instead of getting the scrolled content of the remote shell, it showed buffered content of my system’s shell!

There had been many scenarios where I wished if mobile phone could be used as a development machine. Scenarios such as quick SSHing to servers or pushing a hotfix to Github while on the roads, testing out a snippet which just popped in mind while jogging, etc.

AWS adds an SSH key on every EC2 instance creation, either by adding a new key-pair or using the existing one based on the user’s choice. This gets a bit annoying while distributing a sealed (content-protected) AMI. Any user who has access to this AMI for deployment could create an instance by adding their key, thus gets access to the protected content residing inside the instance.

I haven’t been using tmux since I’m a happy user of iTerm2. Eventhough tmux had been used in servers I used to work with, I preferred avoiding it because of the fallacious assumption that it would be hard to remember all those scary key-shortcuts. I gave it a try today, and totally regret for not learning it earlier.

Processes such as redis and mongodb have to be started manually each time after system restart on Mac and they occupy a terminal instance each. Daemonizing them will make the process to start automatically & without the need for a dedicated terminal.

This is about a serendipity that happened recently for me :P. I had kept a bit of salt water in a glass for 3-4 days and forgotten about it. When I finally noticed it and checked something amazing happened. There were these beautiful salt crystals formed inside it. I wanted to test the formation again so I tried it with a saturated salt solution on a dish for again for 3 days, and bam! the results.

The 22 Immutable Laws of Marketing [1] is a book written by Al Ries and Jack Trout, with simple yet powerful tips for Marketing. I had postponed reading the book at least for a year now just because I thought marketing was not an interesting topic for me. Well, I was wrong!

I participated in Djangothon on 22-23 August - a 24hr hackathon organized by HackerEarth as a part of 10 year anniversary celebrations of Django web framework. I got the awesome team partner Sharat MR and also Devyani Kota. The core idea of hackathon was to contribute back to Django framework.

Though we have studied RSA algorithm in college, it was just for the sake of theory examination. I never had thought about its practical implementation and how it is successfully existing over these many years. Here is an attempt to implement RSA encryption/decryption using python:

I have been trying to get my Huawei E303C 3G datacard to be working in MacBook Pro (15” retina i7 with OSX 10.8.3). Device showed a blinking green light, otherwise there was no sign of a connected USB device.

Time has come to get rid of the complexity of layouting with float and position properties, its the turn for flexbox. We are able to create more complex layouts with float, position properties, plus a little bit of javascript. But the complexity to implement it in the wide variety of browsers is also awful. Flexible box or in short, flexbox is the property in CSS which make the layout model much easier.

I have a Windows7 PC with XAMPP installed in it. Whenever I need to setup multiple sites in my machine, I used to put the site folders under C:\\xampp\\htdocs\\ folder, which is the default localhost directory. The reason is that dynamically linked files need a host to run perfectly.

The fundamental concept behind animation is ‘Persistence of vision’. An animated film is fundamentally a bunch of images changing rapidly on-screen, at a fixed frame rate- usually above 12fps. For making your own animation you don’t need to buy expensive and professional photographic or processing hardware or software, all you need is the following:

One of my favourite hobbies during the summer vacation is bird watching. The world of winged friends is really amazing, I can’t express through words that how much it give pleasure to me. Their wide variety of colours, sweet voices, cute beaks, soft feathers, and above all, their wings which enable them to fly over the sky… everything make me so jealous of them.