This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {10..60}; do adb connect 172.17.0.1:56$i; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm -r --cached . | |
git add . | |
git commit -m "fixed untracked files" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AvdId=n5x_26_test | |
PlayStore.enabled=false | |
abi.type=x86 | |
avd.ini.displayname=n5x_26_test | |
avd.ini.encoding=UTF-8 | |
disk.dataPartition.size=2G | |
fastboot.forceColdBoot=no | |
hw.accelerometer=yes | |
hw.arc=false | |
hw.audioInput=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BUILD=$1 | |
TOKEN=<hockey-app-token> | |
APP=<app-id> | |
VERSION=$(curl \ | |
-H "X-HockeyAppToken: $TOKEN" \ | |
https://rink.hockeyapp.net/api/2/apps/$APP/app_versions \ | |
| jq --arg BUILD "$BUILD" '.app_versions | .[] | select(.version==$BUILD) | .id') | |
curl -L -o $BUILD.apk https://rink.hockeyapp.net/api/2/apps/$APP/app_versions/$VERSION?format=apk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /usr/local/lib/node_modules/appium/ | |
npm install appium-xcuitest-driver | |
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent | |
mkdir -p Resources/WebDriverAgent.bundle | |
sh ./Scripts/bootstrap.sh -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
$TEAM = yourTeam | |
$REPO = yourRepo | |
$BUILD = yourBuildNumber | |
$CI_TOKEN = yourCIToken | |
echo "Will download app from CI" | |
rm -f *.ipa | |
curl https://circleci.com/api/v1/project/$TEAM/$REPO/$BUILD/artifacts?circle-token=$CI_TOKEN \ | |
| egrep -o "$GREP" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker ps -q -f name=node | while read line ; do docker exec $line date ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REGEX_URL="\[get\: https://mail.ru/" | |
container_time() { | |
# echo "Looking in: $OUTPUT" | |
readarray -t array <<< "$(docker logs "$1" | egrep " INFO - (Executing|Done)\: $REGEX_URL"))" | |
seconds_total=0 | |
i=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
hub1: | |
image: <hub-image> | |
restart: always | |
ports: | |
- "4441:4444" | |
environment: | |
- JAVA_OPTS=-Xmx512m | |
- GRID_NEW_SESSION_WAIT_TIMEOUT = 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/crontab: system-wide crontab | |
# Unlike any other crontab you don't have to run the `crontab' | |
# command to install the new version when you edit this file | |
# and files in /etc/cron.d. These files also have username fields, | |
# that none of the other crontabs do. | |
SHELL=/bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
# m h dom mon dow user command |