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
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><hierarchy rotation="0"><node index="0" text="" resource-id="" class="android.widget.FrameLayout" package="com.google.android.permissioncontroller" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[28,704][1052,1605]"><node index="0" text="" resource-id="" class="android.widget.FrameLayout" package="com.google.android.permissioncontroller" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[28,704][1052,1605]"><node index="0" text="" resource-id="android:id/content" class="android.widget.FrameLayout" package="com.google.android.permissioncontroller" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused=" |
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
package com.umbookings.enums; | |
public enum Nakshatra { | |
Moola, | |
Poorvashadha, | |
Uttarashadha, | |
Citra, | |
Hasta, | |
UttaraPhalguni, | |
Ashlesha, |
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
import PromisePool from '@supercharge/promise-pool' | |
import fetch from 'node-fetch' | |
usersList = ['user1', 'user2', ...'usern'] | |
const { results, errors } = await PromisePool.withConcurrency(10) | |
.for(usersList) | |
.process(async (user) => { | |
const url = 'https://api.github.com/users/' + user | |
fetch(url, { | |
method: 'GET', |
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
import fetch from 'node-fetch' | |
usersList = ['user1', 'user2', ...'usern'] | |
let userRequests = [] | |
let userIndex = 0 | |
for (let i = 0; i < 2; i++) { | |
for (let j = 0; j < 20; j++) { | |
userRequests.push(getEachUser(usersList[userIndex])) | |
userIndex++ |
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
import fetch from 'node-fetch' | |
usersList = ['user1', 'user2', ...'usern'] | |
let userRequests = [] | |
Object.values(usersList).forEach((user) => { | |
userRequests.push(getEachUser(user)) | |
}) | |
function getEachUser(user) { |
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
import fetch from 'node-fetch' | |
usersList = [ | |
'user1', | |
'user2', | |
... | |
'usern', | |
] | |
Object.values(usersList).forEach((user) => { |
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
curl --location --request POST 'https://ncg-dev.projecteka.in/gateway/v0.5/care-contexts/discover' \ | |
--header 'X-HIP-ID: 1000005' \ | |
--header 'Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJta21RYnBWUFp0d1lOaU0yc3I1MXpqNC1faGh3VmxHbi1zWlJEZl90MzB3In0.eyJqdGkiOiIxOWM4ZTE1Ny1iYWEzLTQ3ZDEtYWEzMC02NzJhZDkxZTMxOGEiLCJleHAiOjE1OTQ4MTc4ODAsIm5iZiI6MCwiaWF0IjoxNTk0ODE3NTgwLCJpc3MiOiJodHRwOi8vaWRlbnRpdHktZGV2LnByb2plY3Rla2EuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI3NzFkNTFiNS1jMjVmLTQ3OWQtODM4Mi1lMzcxODM5ZjZkNjciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJuY2ciLCJhdXRoX3RpbWUiOjAsInNlc3Npb25fc3RhdGUiOiI5YzFlNzk2Mi05MDkwLTQ0ZTYtOTYxNC0wYWE3MWVhNThlNzEiLCJhY3IiOiIxIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiQ00iLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7Im5jZyI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNs |
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
Gist created from API |
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
Gist created from API |
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
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;I)V | |
at org.openqa.selenium.remote.service.DriverService$Builder.usingPort(DriverService.java:294) | |
at io.appium.java_client.service.local.AppiumServiceBuilder.usingPort(AppiumServiceBuilder.java:447) | |
at io.appium.java_client.service.local.AppiumServiceBuilder.<init>(AppiumServiceBuilder.java:95) | |
at Tests.MobileAppTests.BaseDriver.setUp(BaseDriver.java:22) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
NewerOlder