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
# 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 |
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.1
both 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
output
command 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
:i
andg
at the end are flags meaning can insensitiveness and every occurrence, respectively..
: match anything with a wildcard period[ ]
: match single characters with multiple possibilities
# ############# CUSTOMIZING THE BASH TERMINAL BELOW #######################
# get current branch in git repo
function parse_git_branch() {
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
if [ ! "${BRANCH}" == "" ]
then
STAT=`parse_git_dirty`
echo "(${BRANCH}${STAT}) "
-
CoderByte: For interview preps and some free courses and problems
-
Over The Wire: Site for learning/practicing Linux commands lines through games and hacker stuff