This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.
- Refer to this guide if you need to set up such a project.
We'll be using ts-jest to run Jest tests with TypeScript.
This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.
We'll be using ts-jest to run Jest tests with TypeScript.
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
1 pound red kidney beans 1 link of Hillshire Farms smoked sausage (like polish | |
style) 1 celery stalk 1 yellow onion 1-2 bay leaves Ground cayenne pepper Brown | |
rice or long-grain white rice Crystal brand hot sauce | |
This is my pressure cooker adaptation of my mother-in-law's recipe. | |
Rinse 1 pound of red kidney beans, then cover with 3-4" of water and soak | |
overnight. The next morning, dump the water and rinse them thoroughly. | |
Chop one medium-sized yellow onion and one celery stalk. |
# Update and install necessary packages | |
apt-get update | |
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') | |
# Download some extra packages, that do the trick for "wl module not found" | |
wget http://http.kali.org/kali/pool/main/l/linux-tools/linux-kbuild-4.3_4.3.1-2kali1_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb | |
# Install with correct order |
/* | |
The first 12 digits of pi are 314159265358. We can make these digits into an | |
expression evaluating to 27182 (first 5 digits of e) as follows: | |
3141 * 5 / 9 * 26 / 5 * 3 - 5 * 8 = 27182 | |
or | |
3 + 1 - 415 * 92 + 65358 = 27182 | |
Notice that the order of the input digits is not changed. Operators (+,-,/, | |
or *) are simply inserted to create the expression. |
-- taken from http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.html#Appendix.PostgreSQL.CommonDBATasks.PostGIS | |
create extension postgis; | |
create extension fuzzystrmatch; | |
create extension postgis_tiger_geocoder; | |
create extension postgis_topology; | |
alter schema tiger owner to rds_superuser; | |
alter schema tiger_data owner to rds_superuser; | |
alter schema topology owner to rds_superuser; |
# Index | |
--------------------------------------------------------------------- | |
curl -XPUT http://localhost:9200/pictures/ -d ' | |
{ | |
"settings": { | |
"analysis": { | |
"analyzer": { | |
"index_analyzer": { | |
"tokenizer": "standard", |