Invoking Python scripts from test cases running within a venv

Before the final release, I like to test my Python scripts the way these are supposed to be invoked in actual environment, usually with command line arguments. And this is apart from the unit testing and integration testing that I

Tagged with: , , , ,
Posted in Blog, Python

Accessing Mysql database installed in an LXD container

This is my second post on LXD containers. Sometimes, using a container is a cleaner way to install and use applications for a number of reasons: You can install packages from any version of any distribution. That means, even if

Tagged with: , , , ,
Posted in LXD, Shell, Ubuntu

LXD Containers – First Experience

Lately I have been playing around with LXD containers and I must say that I am quite impressed with it. LXD is the virtualization technology that can be used to run a Linux container on a Linux host using the

Tagged with: , , ,
Posted in LXD, Shell, Ubuntu

Automated Package Installation and Configuration Script for Ubuntu

In my last post, I discussed about how I created my first Amazon EC2 instance and ran our Java web server on it. One of the most important things that I have realized over the years is that if you

Tagged with: , , , , ,
Posted in Blog, Shell, Ubuntu

Running Java app server on AWS EC2 Ubuntu instance

Today I will be writing about setting up an Ubuntu instance on the Amazon AWS cloud and running a Java web application on it. We are working on a hobby project that has its back-end written in Java. The app

Tagged with: , , , , ,
Posted in Shell, Ubuntu

My Experience with React: The Hello World

I have been working on a home project these days for which I needed to use a Javascript framework on the UI. But to select a JS framework is a difficult task because there are a overwhelmingly lot to choose

Tagged with: , , , , ,
Posted in Blog, Javascript, React

Automatically dim display when switching to battery power on Ubuntu

I bought a Dell Inspiron laptop recently which came with Ubuntu 14.04 preinstalled. Something I noticed with the factory Ubuntu 14.04 image was that some of the settings were tweaked to work better with the laptop. One fine example was

Tagged with: , , , , ,
Posted in HowTos, Ubuntu