Skip to content

Instantly share code, notes, and snippets.

View yotavm's full-sized avatar

iamyotav yotavm

  • 500tech
  • new york
View GitHub Profile
{
"platformName": "Android",
"appium:deviceName": "Samsung Galaxy S10",
"appium:platformVersion": "11.0",
"appium:automationName": "UiAutomator2",
"appium:appPackage": "com.android.settings",
"appium:appActivity": ".Settings",
"appium:noReset": true,
"appium:newCommandTimeout": 300
}
{
"platformName": "Android",
"appium:deviceName": "Samsung Galaxy S10",
"appium:platformVersion": "11.0",
"appium:automationName": "UiAutomator2",
"appium:appPackage": "com.android.settings",
"appium:appActivity": ".Settings",
"appium:noReset": true,
"appium:newCommandTimeout": 300
}
version: "3.8"
services:
selenium-hub:
image: selenium/hub:3.141.59 # Grid 3 for compatibility
container_name: selenium-hub
ports:
- "4444:4444"
networks:
- homeserver
version: "3.8"
services:
selenium-hub:
image: selenium/hub:4.15.0-20231023
container_name: selenium-hub
ports:
- "4444:4444" # Selenium Grid UI & hub
environment:
- GRID_BROWSER_TIMEOUT=300
const { render } = require("react-dom");
const app = () => {
<Router>
<Route path='/IDR' compnent={IDRWizard}/>
<Route path='/PSLF' compnent={IDRWizard}/>
option
<Route path='/payment/{pathName}' compnent={Paywall} />
@yotavm
yotavm / test
Created May 10, 2020 05:14
edge check
const handleSideEffects = sideEffects => sideEffect => next => action => {
try {
console.log(sideEffects)
sideEffect()
next(action);
} catch (e) {
console.log('error yotav', e);
}
@yotavm
yotavm / Quovo.js
Last active August 15, 2018 18:50
Quovo class
import request from 'superagent';
const BASE_URL = 'https://api.quovo.com/v2';
const API_KEY = parameters.QUOVO_API_KEY;
const WEBHOOK_SECRET = parameters.QUOVO_WEBHOOK_SECRET;
const sendPRequest = async (method, path, payload) => {
try {
const newRequest = await request[method](`${BASE_URL}/${path}`)
.type('json')
@yotavm
yotavm / demo
Created October 26, 2017 10:52
import React, { PureComponent } from 'react';
import { connect } from 'react-redux';
import { Animated, View, StyleSheet,Text,InteractionManager,ActivityIndicator} from 'react-native';
import { TabViewAnimated, TabBar } from 'react-native-tab-view';
import BasicListView from './BasicListView';
import AllPublicChat from '../components/allPublicChat';
import _ from 'underscore';
import type { NavigationState } from 'react-native-tab-view/types';