Posts

How to Create a Subdomain in Amazon Route 53?

In this post, I will show you how to set up a new subdomain using Route 53 in 4 easy steps. The setup is straightforward and will take less than 2 minutes to have your subdomain up and running.
How to Create a Subdomain in Amazon Route 53?

How to prepare for the GRE examinations?

In this post, I will share some tips and resources to prepare for the GRE examinations. I appeared for the GRE test on August 22nd, 2018, and scored 322(V: 155, Q: 167, AWA: 4.
How to prepare for the GRE examinations?

How to install FFMPEG on EC2 running Amazon Linux?

Recently, I needed to install ffmpeg on my EC2 instance and I struggled quite a bit to set it up. The issue was that my EC2 instance is running Amazon Linux based AMI which is probably based on some version of CentOS.
How to install FFMPEG on EC2 running Amazon Linux?

How to Display Low Resolution Image as the Place Holder

Fresco is a powerful system for displaying images in Android applications. There are situations where the original image is quite big and would take considerable amount of time to load. In such scenarios, it is advisable to display a low resolution image or thumbnail image until the original image loads.
How to Display Low Resolution Image as the Place Holder

Handy Shell Commands for Beginners

Check if a file exists if [ ! -f "/home/pi/test.sh" ]; then echo "file exists" fi Check if a directory exists if [ -d "/home/pi/test" ]; then echo "test dir exists" fi Install Apt-Get Package # update pip # check if package is installed # install package if not installed installPackage() { retval=0 echo "Installing package $1" if [ $(dpkg-query -W -f='${Status}' $1 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo "Package $1 is not installed" if echo "yes" | sudo apt-get install $1; then retval=1 fi else echo "Package $1 is already installed" retval=1 fi return "$retval" } Manually Set Date Time sudo date -s '2019-05-10 09:07:00' Setup SSH Keys mkdir -p /home/pi/.

How to Automate Google Play Store Releases

Manual publishing of an app is time-consuming and involves a lot of repetitive steps that could be easily automated. Manual publishing involves these steps: Create a signed APK for your app.

Querying Wikimedia Commons DB to get User Statistics

Wikimedia Commons is an online repository of free-use images, sounds, and other media files. It is a project of the Wikimedia Foundation. If you are a Commons user or need to get statistics for a particular user, then you can query the commonswiki DB to get the results.

How to get started with Open Source?

There are a lot of developer and wiki guides to set up and get started with your first open source contribution. As a beginner, I always found these wikis a bit overwhelming as they suddenly introduce you to a lot of options and projects.

Introduction to Async-Await in Javascript

Today I learned that Javascript has a special syntax for working with promises in a more comfortable fashion. It’s the async and await which was originally introduced in C#. I am not an expert in Javascript but am quite excited to share the basics about async and await.

How To Improve Test Coverage For Your Android App Using Mockito And Espresso

Frameworks such as Espresso and Mockito provide easy-to-use APIs that make writing tests for various scenarios easier. Let’s cover the fundamentals of testing and frameworks which developers can use to write unit tests.
How To Improve Test Coverage For Your Android App Using Mockito And Espresso