Skip to content

Instantly share code, notes, and snippets.

View gunesmes's full-sized avatar
🎯
Focusing

Mesut Güneş gunesmes

🎯
Focusing
View GitHub Profile
#!/usr/bin/env bash
# Author: Mesut Güneş
set -e
#-1 upload app
upload_app=$(curl -u "$BROWSERSTACK_USER:$BROWSERSTACK_ACCESS_KEY" -X POST "https://api-cloud.browserstack.com/app-automate/espresso/v2/app" -F "file=@$BITRISE_APK_PATH")
app_url=$(echo $upload_app | jq -r .app_url)
envman add --key BROWSERSTACK_APP_URL --value $app_url
#!/usr/bin/env bash
# Author: Mesut Güneş
set -e
cd $BITRISE_TEST_DIR_PATH
#-1 creating IPA
rm -rf Payload
mkdir Payload
cp -rf projectX.app Payload/

Keybase proof

I hereby claim:

  • I am gunesmes on github.
  • I am gunesm02 (https://keybase.io/gunesm02) on keybase.
  • I have a public key ASAOv62jhJUjZN-JtVUwtvUDQm1lW7vsu4kZBxuj5-HoJQo

To claim this, I am signing this object:

@gunesmes
gunesmes / git-ignore.log
Created September 4, 2020 09:04
add file as base then ignore it - git add will not discover it
# push base of file
git add file_name/folder_name
git commit -m "added base for the file/folder"
git push origin feature/branch
#ignore the file
cat .gitignore
/file_name
from xml.etree import ElementTree as ET
import requests
import time
import datetime
import sys
import json
import glob
args = sys.argv[1:]
#!/bin/bash
export UUID=$(uuidgen)
export PLATFORM=$1
export RESULT_FOLDER=./${PLATFORM}_results
SECONDS=0
# run test on firebase
echo -e "\n * * * * * * RUN $PLATFORM TESTS * * * * * * \n"
version: '3.6'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
container_name: elasticsearch
environment:
- node.name=es01
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
docker run --network host -i loadimpact/k6 run - \
--vus 10 \
--duration 30s \
--out influxdb=http://localhost:8086/testrisk \
<load_test-k6.js
docker run --network host -i loadimpact/k6 run - \
--vus 10 \
--stage 5s:10,5m:20,10s:5 \
--out influxdb=http://localhost:8086/testrisk \
<load_test-k6.js
# frozen_string_literal: true
module QA
RSpec.context 'API' do
describe '/user' do
before(:context) do
@api_client = Runtime::API::Client.new(env = :local)
end
let(:valid_user) { Runtime::API::Address.new(@api_client, path = 'user?username=testusername1') }