I hereby claim:
- I am arcolife on github.
- I am archit (https://keybase.io/archit) on keybase.
- I have a public key whose fingerprint is 4BAF F579 66A6 0AE0 E5CB 8394 D744 5ABE EC21 84B6
To claim this, I am signing this object:
| [Unit] | |
| Description=network daemon to collect metrics | |
| [Service] | |
| User=statsd | |
| Type=simple | |
| ExecStart=/usr/bin/statsd /etc/statsd/config.js | |
| Restart=on-failure | |
| [Install] |
| [Server] | |
| # CHANGE ME! | |
| # host:port - both must be specified. | |
| # server = localhost:9200 | |
| server = 0.0.0.0:9701 | |
| [Settings] | |
| index_prefix = pbench | |
| index_version = 1 | |
| bulk_action_count = 2000 |
| [Server] | |
| host = 0.0.0.0 | |
| port = 9701 | |
| protocol = http | |
| [Settings] | |
| index_prefix = sarjitsu | |
| index_version = 2000 | |
| bulk_action_count = 1 | |
| number_of_shards = |
| #!/usr/bin/env python3 | |
| # | |
| # usage: | |
| # $ es-create-vos-index-templates <config path> | |
| # | |
| # Create the sar index templates, with explicit mappings found in | |
| # ../lib/mappings/*.json. | |
| from __future__ import print_function |
| curl -XDELETE localhost:9701/_all | |
| ~/bench_template_upload.sh | |
| TMPDIR=/var/tmp/pbench-test-server/tmp PYTHONPATH=/home/arcolife/workspace/utils/RH/ARCO/Forked/pbench/server/pbench/bin/../lib: /home/arcolife/workspace/utils/RH/ARCO/Forked/pbench/server/pbench/bin/index-pbench -C /etc/pbench-index-test.cfg /var/tmp/pbench-test-server/test-11.tar.xz | |
| TMPDIR=/var/tmp/pbench-test-server/tmp PYTHONPATH=/home/arcolife/workspace/utils/RH/ARCO/Forked/pbench/server/pbench/bin/../lib: /home/arcolife/workspace/utils/RH/ARCO/Forked/pbench/server/pbench/bin/index-pbench -C /etc/pbench-index-test.cfg /var/tmp/pbench-test-server/uperf__2016-10-06_16:34:03.tar.xz |
| #!/bin/env python3 | |
| from collections import Counter | |
| pairs = [] | |
| def find_pairs(A,x): | |
| V = {k:v for k,v in A.items() if k<=x} | |
| visited = [] | |
| for i in V: |
| #!/bin/env python3 | |
| # aaabbcd -> abcd | |
| # https://groups.google.com/forum/#!forum/dsa_sg | |
| x = list('aaabbcd') | |
| tmp = '' | |
| for i in range(0,len(x),2): | |
| # import pdb; pdb.set_trace() |
| [----] W, [2016-11-30T01:33:34.478503 #9077:7d5988] WARN -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Vm#perf_capture) [realtime] For ManageIQ::Providers::Vmware::InfraManager::Vm name: [VC0DC0_C9_RP2_VM7], id: [5120], expected to get data as of [2016-11-30T04:21:40Z], but got data as of [2016-11-30T05:33:20Z]. | |
| [----] W, [2016-11-30T01:33:40.134700 #36904:7d5988] WARN -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Vm#perf_capture) [realtime] For ManageIQ::Providers::Vmware::InfraManager::Vm name: [VC0DC0_C9_RP3_VM27], id: [5290], expected to get data as of [2016-11-30T04:22:00Z], but got data as of [2016-11-30T05:33:20Z]. | |
| [----] W, [2016-11-30T01:33:42.758692 #9077:7d5988] WARN -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Vm#perf_capture) [realtime] For ManageIQ::Providers::Vmware::InfraManager::Vm name: [VC0DC0_C9_RP2_VM27], id: [5600], expected to get data as of [2016-11-30T04:22:00Z], but got data as of [2016-11-30T05:33:40Z]. | |
| [----] W, [2016-11-30T01:33:51.432584 #36904:7d5988] WARN |
I hereby claim:
To claim this, I am signing this object:
| xhtml = "<h1 align='center'>Test print</h1>\n" | |
| xhtml += "<h2>This is printed from within a Python application</h2>\n" | |
| xhtml += "<p style=\"color:red;\">Coloured red using css</p>\n" | |
| xhtml | |
| from xhtml2pdf import pisa | |
| ls | |
| filename = "simplePrint.pdf" | |
| pdf = pisa.CreatePDF(xhtml, file(filename, "w")) | |
| ls | |
| pdf = pisa.CreatePDF(xhtml.encode('utf-8, file(filename, "w")) |