The following assumes you are using a AArch64 host.
Setup SDK and emulator :
# https://developer.android.com/studio/index.html#command-line-tools-only
sudo apt-get install unzip openjdk-17-jdk gradle -y
PlayStore.enabled=true | |
image.sysdir.1=system-images/android-34/google_apis_playstore/arm64-v8a | |
tag.display=Google Play | |
tag.id=google_apis_playstore |
Android Emulator (ARM64) on EC2 - 2022 | |
--------------------------------------- | |
1. Launch EC2 ARM based Instance (a1.metal / a1.2xlarge): (16 Gb RAM, 32Gb Disk), Ubuntu Server 22.04 LTS (HVM) ARM x64 | |
2. sudo apt update && sudo apt upgrade | |
3. sudo apt install default-jdk python3-pip repo python-is-python3 unzip libpcre2-dev adb | |
4. wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip | |
5. unzip commandlinetools-linux-8512546_latest.zip -d android-sdk | |
6. sudo mv android-sdk /opt/ | |
7. mkdir /opt/android-sdk/cmdline-tools/latest | |
8. mv /opt/android-sdk/cmdline-tools/* /opt/android-sdk/cmdline-tools/latest (ignore the error) |
# Sources: | |
# https://blog.usejournal.com/automate-react-native-builds-with-github-actions-af54212d26dc | |
# https://zach.codes/ios-builds-using-github-actions-without-fastlane/ | |
# https://stackoverflow.com/questions/16550594/jenkins-xcode-build-works-codesign-fails/19550453#19550453 | |
# https://www.valueof.io/blog/deploying-to-google-play-using-github-actions | |
name: Build and Publish Test Builds | |
on: | |
push: |
#!/usr/bin/env bash | |
scriptName=$(basename "$0") | |
USAGE="Wraps \"helm package\" in order to be able to --set values at package time. | |
Usage: | |
$scriptName \\ | |
--set key1=value1 --set key2=value2 \\ | |
[--app-version 1.2.3] <chart-path>" |
#!/usr/bin/env bash | |
# Inspired by: https://github.com/kayrus/kuttle | |
# Usage: | |
# | |
# sshuttle -v -r 'none' -e /path/to/this_script 172.20.0.0/16 | |
# | |
set -e | |
VERSION=0.1 |
apiVersion: monitoring.coreos.com/v1 | |
kind: PrometheusRule | |
metadata: | |
labels: | |
prometheus: others | |
role: alert-rules | |
name: prometheus-others-rules | |
namespace: monitoring | |
spec: | |
groups: |
import { | |
FirebaseAnalyticsJSCodedEvent, | |
FirebaseAnalyticsJSConfig, | |
FirebaseAnalyticsJSOptions, | |
} from './FirebaseAnalyticsJS.types'; | |
/** | |
* A pure JavaScript Google Firebase Analytics implementation that uses | |
* the HTTPS Measurement API 2 to send events to Google Analytics. | |
* |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"strconv" |