Posts

Working with Recycler Views in Espresso Tests

In this short post, I will introduce you to a few utility methods that might be useful while working with RecyclerView in Espresso Tests. Introduction In this post, I am assuming that you are already using a RecyclerView in your app.

Write your First Neural Network Using TensorFlow

Introduction Neural Networks are a specific set of machine learning algorithms that are inspired by biological neural networks and they have revolutionized machine learning. In simple terms, they are general function approximations, which can be applied to almost any machine learning problem about learning a complex mapping from the input to the output space.

My Year in Review 2019

This year was quite an exciting year for me, and a lot of things kept me busy throughout the year. I traveled to several places(including six countries), quit my ~4-year-old job, got admit for Masters, and started mentoring young kids.

A Quick Look at Everything you Need to Obtain an F1 Visa!

Today I appeared for my F1 visa interview and got the Visa approved. After you get the admission of your choice, you might feel a bit relaxed but the hectic part has just started.

Wikimedia Technical Conference 2019

The Wikimedia Technical Conference 2019, Atlanta concluded last week. I attended this conference for the first time, and it was an enjoyable experience for me. The central theme of the conference was around developer productivity, and several sessions were held covering different aspects of this theme.
Wikimedia Technical Conference 2019

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/.