Android Logo

Troubleshooting Android Emulator: Process finished with exit code 1

Emulator: Process finished with exit code 1 You opened AVD Manager in Android Studio and tried to start an AVD, you got “Emulator: Process finished with exit code 1”. Following are the steps to debug this Find out the name of the emulator. Click the down arrow 🔽 which is to the right of play arrow ▶️, to find out the name of the AVD. Let’s say the name is “Nexus_5X_API_28_x86”. ...

Sculpture Garden

Two days in Minneapolis, Minnesota

Day 1 If you are arriving at MSP airport, then start your journey with the Mall of America. It is the largest shopping mall in the United States and is pretty close to the airport. Next, head to Minnehaha falls. It is the favorite fishing spot for the locals. Hereafter, you can head towards the downtown. There isn’t much to do in downtown during the day time. And I would recommend checking out Sculpture Garden and the Lake of Isles in the evening. ...

Android: Using "Die with me" app without killing the phone's battery

Die with me is a chat app which can be used only when the phone’s battery is below 5%. Here is a fun way to use the app without draining your phone’s battery. Connect the phone via ADB or start Android emulator and fake the battery level to 4%. Bash 1 2 sudo pip3 install adb-enhanced adbe battery level 4 # Set battery level to 4% And now, you can use the app. After playing with the app, reset the battery level with, ...

The first two statements of your BASH script should be...

Sh 1 2 #!/usr/bin/env bash set -euo pipefail The first statement is a Mac, GNU/Linux, and BSD portable way of finding the location of the bash interpreter. The second statement combines ...

Sagrada Church

Two days in Barcelona, Spain

Barcelona Public transport is good, get a Metro card with ten tickets, it can even be shared simultaneously. Beware of pickpockets. Credit card acceptance is high, but not 100%. Paella, a rice dish, is famous in Barcelona Day 1 Start your day with a walking tour. I would recommend Sandeman’s walking tours. In the afternoon, check out the History Museum. It is pretty detailed and has remains of the historic Roman city of Baracine. ...

A Punjabi (Gurmukhi) primer for native Hindi (Devanagari) speakers

The ultimate guide for native Hindi speakers to learn Gurmukhi (Punjabi) script

Palace

Two days in Madrid, Spain

Madrid, originally Myrit, was set up by Moors in about 700 AD, to fight against the Catholic Spanish stronghold of Toledo which used to be the old capital of the Castile kingdom. Public transport is good, get a Metro card with ten tickets, and it can even be shared simultaneously. Beware of pickpockets. Credit card acceptance is high, but not 100%. Churros + hot chocolate are famous in Madrid. The city has pedestrianized itself over time, so the city center is entirely car-free. Day 1 Start your day with a walking tour. I would recommend history-focused Sandeman’s walking tour and tourism-focused Rick Steve’s self-guided audio tour. After the tour, check out Puerta Del Sol, the Sun Gate. There are quite a few small interesting spots here, for example, the bear climbing the tree which is on the city’s Coat of Arms, and the 0 KM sign. ...

GitHub Actions Logo

Keep your dotfiles bug-free with Continuous Integration

Ultimate guide to setting up and maintaining CI of your dotfiles

Health care costs as share of GDP

Why not abolish employer-provided health insurance?

Car insurance in the United States is a system that more or less works well. You call up insurance agents representing different insurance companies with similar policies but varying quality of service. Then you buy it based on how much insurance premium they charge and how good/bad quality of service you are willing to accept. If you have an expensive car or you are a reckless driver, you end up paying more. The less you use your insurance, the lower your premium becomes over time.

Colosseum

Three days in Rome, Italy

Rome has a rich history pertinent to western civilization. There are three different aspects of roaming in Rome, namely, architecture, history, and religion (Catholic - Christians). I was profoundly interested in history and to some extent, in architecture, and that influenced my itinerary. Day 1 - walks Start with a walking tour and after walking tour use Rick Steve’s free audio tour to wander in the heart of Rome, primarily, Trevi Fountain, Pantheon, and Spanish steps. Then use Rick Steve’s Jewish Ghettos walk to do a self-guided tour of Jewish ghettos. ...