Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Naina Verma nainav

🏠
Working from home
View GitHub Profile
@nainav
nainav / sonobouy.logs
Created Aug 21, 2019
Missing instruction to install in Readme
View sonobouy.logs
sonobuoy vnaina$ go get -u -v github.com/heptio/sonobuoy
github.com/heptio/sonobuoy (download)
github.com/heptio/sonobuoy/pkg/buildinfo
github.com/heptio/sonobuoy/vendor/k8s.io/utils/integer
github.com/heptio/sonobuoy/vendor/k8s.io/apimachinery/pkg/selection
github.com/heptio/sonobuoy/pkg/client/results/e2e
github.com/heptio/sonobuoy/vendor/k8s.io/client-go/util/exec
github.com/heptio/sonobuoy/vendor/github.com/hashicorp/hcl/hcl/strconv
github.com/heptio/sonobuoy/vendor/go.opencensus.io
github.com/heptio/sonobuoy/vendor/go.opencensus.io/internal/tagencoding
View error
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:
View test.csv
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
View Filter with multiple conditions.js
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;
});
@nainav
nainav / Anagram
Last active Apr 13, 2018
Programs python
View Anagram
"naina":"naani"
print "Find anagram !\n"
def anagram():
str1='naina'
str2='naina'
list1=list(str1)
list2=list(str2)
View json
[
{
"status": "COMPLETED",
"rel": {
"release": "9.2.0.3",
"date": 1503273600,
"type": "release",
"build": "85",
"id": 2
},
View scenario.json
[
{
"_id":"59340e5ad7fc22571a5ed1d3",
"status": {
"message": "failed due to low throughput",
"code": 1
},
"scenario_id": 2120,
"dd": {
"source_dd": {
View PHP sample
<?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";
@nainav
nainav / ravi.csv
Last active Jul 26, 2017
ravi.csv
View ravi.csv
10 32
20 34
3 35
View 400 bad
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"}]}