Skip to content

Instantly share code, notes, and snippets.

View nainav's full-sized avatar
🏠
Working from home

Naina Verma nainav

🏠
Working from home
View GitHub Profile
10:05:39.944 INFO - Detected dialect: OSS
10:05:39.946 INFO - Done: [new session: Capabilities [{count=1, browserName=chrome, chromeOptions={args=[--window-size=1440,1024, --test-type, --no-sandbox]}}]]
10:05:39.985 INFO - Executing: [script wait: 11000])
10:05:39.997 WARN - Exception thrown
org.openqa.selenium.NoSuchSessionException: no such session
(Driver info: chromedriver=2.28.455506 (18f6627e265f442aeec9b6661a49fe819aeeea1f),platform=Linux 4.8.13-100.fc23.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10 milliseconds
Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800'
System info: host: 'cb2ff2b4a7af', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.8.13-100.fc23.x86_64', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Request URL:http://api.prod-preview.openshift.io/api/workitemtypes/new
Request Method:GET
Status Code:400 Bad Request
Remote Address:34.194.61.2:80
{"errors":[{"code":"invalid_request","detail":"invalid value \"new\" for parameter \"witId\", must be a uuid","id":"e5+XcBEG","status":"400","title":"Bad Request"}]}
@nainav
nainav / ravi.csv
Last active July 26, 2017 13:00
ravi.csv
10 32
20 34
3 35
<?php
echo '
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; max-width: 600px; margin: 0 auto"></div>
';
$file="https://gist.githubusercontent.com/nainav/40d12828d30ea323f07994730c304d87/raw/f103603366cf4dfbe02e639fed15ba15b43b48c1/ravi.csv";
[
{
"_id":"59340e5ad7fc22571a5ed1d3",
"status": {
"message": "failed due to low throughput",
"code": 1
},
"scenario_id": 2120,
"dd": {
"source_dd": {
@nainav
nainav / json
Created September 7, 2017 10:52
[
{
"status": "COMPLETED",
"rel": {
"release": "9.2.0.3",
"date": 1503273600,
"type": "release",
"build": "85",
"id": 2
},
@nainav
nainav / Anagram
Last active April 13, 2018 14:41
Programs python
"naina":"naani"
print "Find anagram !\n"
def anagram():
str1='naina'
str2='naina'
list1=list(str1)
list2=list(str2)
var filter: any = { property: 'cpu', execution_id: uniqueExecution[0] };
this.daemondataComparison = this.daemondataComparison.filter(function (item: any)
{
for (var key in filter)
{
if (item[key] === undefined || item[key] != filter[key])
return false;
}
return true;
});
Time Overall_FD DIR FIFO IPv4 IPv6 REG sock unknown cannot_identify_protocol
Wed Oct 10 19:10:29 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:13:28 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:15:32 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:18:30 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:20:34 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:23:33 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:25:37 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:28:35 IST 2018 64 2 0 6 18 36 1 0 0
Wed Oct 10 19:30:40 IST 2018 64 2 0 6 18 36 1 0 0
n file included from ../src/binding.cpp:1:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
In file included from ../src/binding.cpp:1:
In file included from ../../nan/nan.h:2722: