Skip to content

Instantly share code, notes, and snippets.

[root@node-21 k8s.westeurope.azure resource]$ fio fio-rand-RW.fio
file1: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=16
...
fio-3.1
Starting 4 processes
file1: Laying out IO file (1 file / 10240MiB)
Jobs: 4 (f=4): [m(4)][100.0%][r=1536MiB/s,w=1023MiB/s][r=393k,w=262k IOPS][eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=2506: Mon Nov 19 21:44:14 2018
read: IOPS=82.7k, BW=323MiB/s (339MB/s)(284GiB/900001msec)
slat (nsec): min=1400, max=70170k, avg=3709.03, stdev=63623.30
extends: default
rules:
document-start:
disable
empty-lines:
max: 1
max-start: 1
max-end: 1
braces:
HTTP/1.1 200 OK
Server: nginx
Content-Type: text/html; charset=UTF-8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Link: <https://crate.io/wp-json/>; rel="https://api.w.org/"
Link: <https://crate.io/>; rel=shortlink
X-TEC-API-VERSION: v1
X-TEC-API-ROOT: https://crate.io/wp-json/tribe/events/v1/
X-TEC-API-ORIGIN: https://crate.io
select MAX(workflow_id) as workflow_id,
MAX(action_id) as action_id,
attempt_id,
MAX(product_id) as product_id,
MAX(‘NA’) as offer_id,
MAX(customer_id) as customer_id,
MAX(channel) as channel,
MAX(channel_id) as channel_id,
MAX(case when metric=‘attempted’ then ‘Yes’ else ‘No’ end) as attempted,
MIN(case when metric=‘attempted’ then DATE_FORMAT(‘%Y-%m-%d %H:%i:%s’, ‘UTC’, created_at ) else ‘NA’ end) as attempt_time,
@jodok
jodok / salt.sh
Last active October 17, 2017 19:04
#!/bin/bash
yum -y install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
yum -y install salt-minion
sed -ie 's/#master: salt/master: salt.crate.io/' /etc/salt/minion
service salt-minion restart
TIMEOUT=600
create table j.test (
id integer,
status string,
uri string,
created_at timestamp)
insert into j.test (id, status, uri, create_at) values
(1, 'START', 'file://myfile.txt', 1),
(1, 'PROGRESS', NULL, 2),
(1, 'PROGRESS', NULL, 2),
[Error] Error: [$injector:modulerr] Failed to instantiate module crate due to:
[$injector:modulerr] Failed to instantiate module common due to:
The operation is insecure.
https://demo.cratedb.cloud/crate/static/scripts/scripts.01f52821.js:1:31385
[native code]
instantiate@https://demo.cratedb.cloud/crate/static/scripts/angular.324baa44.js:2:3777
provider@https://demo.cratedb.cloud/crate/static/scripts/angular.324baa44.js:1:32027
runInvokeQueue@https://demo.cratedb.cloud/crate/static/scripts/angular.324baa44.js:2:1516
https://demo.cratedb.cloud/crate/static/scripts/angular.324baa44.js:2:1756
forEach@https://demo.cratedb.cloud/crate/static/scripts/angular.324baa44.js:1:1447
[ERROR ] Command 'semanage boolean -l' failed with return code: 1
[ERROR ] output: OSError: No such file or directory
SELinux boolean State Default Description
[ERROR ] Boolean httpd_can_network_connect is not available
[WARNING ] Use of argument owner found, "owner" is invalid, please use "user"
[WARNING ] /usr/lib/python2.7/site-packages/salt/states/cmd.py:808: DeprecationWarning: The legacy user/group arguments are deprecated. Replace them with runas. These arguments will be removed in Salt Oxygen.
local:
----------
ID: salt-minion

Keybase proof

I hereby claim:

  • I am jodok on github.
  • I am jodok (https://keybase.io/jodok) on keybase.
  • I have a public key whose fingerprint is 3C8E 64D0 2D87 F774 918F 49AD 006B 3BC1 A7DE EE9E

To claim this, I am signing this object:

➜ crate-datasource git:(master) ✗ npm install contextify
> contextify@0.1.15 install /Users/jodok/sandbox/crate-datasource/node_modules/contextify
> node-gyp rebuild
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc:131:56: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
Local<Object> wrapper = Nan::New(constructor)->NewInstance();
^
/Users/jodok/.node-gyp/7.7.3/include/node/v8.h:3662:52: note: 'NewInstance' has been explicitly marked deprecated here