ssh-keygen -t rsa -C "[email protected]" -b 4096 -f ~/.ssh/id_rsa_github
ssh-keygen -t rsa -C "[email protected]" -b 4096 -f ~/.ssh/id_rsa_gitlab| import 'dart:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:uri/uri.dart'; | |
| class PathRouteMatch { | |
| PathRouteMatch( | |
| {required this.parameters, | |
| required this.route, |
| # android/fastlane/Fastfile | |
| update_fastlane | |
| default_platform(:android) | |
| platform :android do | |
| lane :bump_version_code do | |
| versionCode = File.read("metadata/versionCode").to_i | |
| versionCode = versionCode + 1 |
| import 'dart:async'; | |
| import 'dart:convert'; | |
| import 'dart:math'; | |
| import 'package:firebase_messaging/firebase_messaging.dart'; | |
| import 'package:flutter_local_notifications/flutter_local_notifications.dart'; | |
| import '../utils/logger/logger.dart'; | |
| const _channelId = '<your_channel_id>'; |
update-alternatives --list python
sudo update-alternatives --install /usr/bin/python python /usr/local/bin/python3.8 3
Found at https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux.
Make pip point to a python 3.x version: https://stackoverflow.com/questions/38938205/how-to-override-the-pip-command-to-python3-x-instead-of-python2-7.
-
I'm using Nodejs
12.16.1both locally and on the AWS Device Farm. -
Same thing goes to the Appium version. Both locally and on AWS, the version I'm using is 1.17.1
-
Regarding
webdriverio, and as shown at this gist below, I'm using"webdriverio": "^6.1.7". This is installed on AWS Device Farm at the install phase by runningnpm install. -
webdriverio shared configs
exports.config = {
port: 4723,
runner: 'local',DISCLAIMER: The steps below were done on the Ubuntu OS.
You can follow this guide (in Pt-BR). And here
you can find a .zshrc file example.
- Open the command prompt of windows
- Type
wmic - On the wmic prompt type the
outputcommand followed by the path of the txt file and the command to list the programs. It is going to be like the following:
/output:C:\Users\<yourUser>\Documents\programsInstalled\listOfProgramsInstalledWin10.txt product get name,version
- Wait for the wmic prompt get back to you again and you'll know it has finished listing the files into the txt file
| // more details at: | |
| // - https://create-react-app.dev/docs/adding-typescript/ | |
| module.exports = { | |
| env: { | |
| browser: true, | |
| es6: true, | |
| jest: true, | |
| }, | |
| extends: [ |
Define a search pattern that can be used to search for things in a string.
.test( . . . ): returns true or falsematch( . . . ): returns the match/patternToLookFor/ig:iandgat the end are flags meaning can insensitiveness and every occurrence, respectively..: match anything with a wildcard period[ ]: match single characters with multiple possibilities