Skip to content

Instantly share code, notes, and snippets.

Avatar

Avital Yachin atyachin

View GitHub Profile
@atyachin
atyachin / aws_regions.json
Created Sep 29, 2020
AWS Regions / Datacenters Geo Locations
View aws_regions.json
[
{
"code": "us-east-1",
"region": "US East",
"city": "Virginia",
"lat": 38.9940541,
"long": -77.4524237,
"country": "US"
},
{
@atyachin
atyachin / android-emulator-as-system-service.txt
Created Aug 14, 2018
Android Emulator as a system service (systemd)
View android-emulator-as-system-service.txt
---------------------------------------------
/etc/systemd/system/android-emulator.service:
---------------------------------------------
[Unit]
Description=Android Emulator
After=network.target
[Service]
Type=simple
Environment=SHELL=/bin/bash
@atyachin
atyachin / Android-Emulator-on-AWS-EC2.txt
Last active Apr 8, 2021
Installing and running Android Emulator on Amazon AWS EC2 (Ubuntu 16.04 / m5.xlarge)
View Android-Emulator-on-AWS-EC2.txt
Steps for installing the Android Emulator from EC2 console:
-----------------------------------------------------------
sudo apt install default-jdk
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d android-sdk
sudo mv android-sdk /opt/
export ANDROID_SDK_ROOT=/opt/android-sdk
echo "export ANDROID_SDK_ROOT=/opt/android-sdk" >> ~/.bashrc
echo "export PATH=$PATH:$ANDROID_SDK_ROOT/tools" >> ~/.bashrc
re-login