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
I live abroad and have only 1 sim card slot in my phone. It holds the SIM card of the country that I am in right now. But I also have another SIM card from my home country which receives my banking SMS codes. I can't afford to lose the "home" SIM card, so I decided to keep it in my house and forward the SMS messages to my main phone and computer via Telegram (just like Whatsapp, but so much better).
I also made a choice to use a 4G/LTE stick instead of 3G, because the 3G signal in my area is getting worse in worse due to operators upgrading their equipment.
// Here is a short snippet you can just run from the jenkins script console, to dump all of your credentials to plain text. | |
com.cloudbees.plugins.credentials.SystemCredentialsProvider.getInstance().getCredentials().forEach{ | |
it.properties.each { prop, val -> | |
println(prop + ' = "' + val + '"') | |
} | |
println("-----------------------") | |
} | |
#!/bin/bash | |
printf "===START dns.google.com===\n" | |
curl -k -H "accept: application/dns-json" "https://dns.google.com/resolve?name=example.com&type=AAAA" | |
printf "\n===END dns.google.com===\n" | |
printf "===START cloudflare-dns.com===\n" | |
curl -k -H "accept: application/dns-json" "https://cloudflare-dns.com/dns-query?name=example.com&type=AAAA" | |
printf "\n===END cloudflare-dns.com===\n" | |
printf "===START 1.1.1.1===\n" | |
curl -k -H "accept: application/dns-json" "https://1.1.1.1/dns-query?name=example.com&type=AAAA" | |
printf "\n===END 1.1.1.1===\n" |