Skip to content

Instantly share code, notes, and snippets.

View PierreZ's full-sized avatar
👨‍💻
Working from home

Pierre Zemb PierreZ

👨‍💻
Working from home
View GitHub Profile
apiVersion: v1
kind: ConfigMap
metadata:
name: beamium-cm
data:
scrapers.yaml: |
scrapers:
# scraping itself for metrics
self:
url: http://127.0.0.1:9110/metrics
Jun 25 08:54:33.153 DEBG [main] received a watcher event NoticeRemove(
"/etc/beamium/..2020_06_25_08_52_59.743331400/config.yaml",
)
Jun 25 08:54:33.154 INFO reload configuration
Jun 25 08:54:33.165 DEBG set signal to false from main
Jun 25 08:54:33.166 DEBG [main] waiting for handler to join
Jun 25 08:54:33.217 DEBG shutting down cmd::main
Jun 25 08:54:33.217 DEBG shutdown scraper's runtime, scraper: scraper1
Jun 25 08:54:33.218 DEBG shutdown router's runtime
Jun 25 08:54:33.219 DEBG shutdown metrics server's runtime
@PierreZ
PierreZ / push.go
Last active May 8, 2020 12:16
push.go
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
CPPFLAGS -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align
make[2]: Entering directory '/usr/src/app/node_modules/node-rdkafka/deps/librdkafka/src-cpp'
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtua
bin/bookkeeper shell bookieformat -nonInteractive -force -deleteCookie
bin/bookkeeper shell listunderreplicated -printmissingreplica
bin/bookkeeper shell listbookies -readwrite
linux-vdso.so.1 (0x00007ffdc45aa000)
libSDL2-2.0.so.0 => /lib64/libSDL2-2.0.so.0 (0x00007f4533950000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f453380b000)
libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f45337fe000)
libcef.so => not found
libopus.so.0 => /lib64/libopus.so.0 (0x00007f453379c000)
libuv.so.1 => /lib64/libuv.so.1 (0x00007f453376b000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4533748000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f45336b2000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f45333d1000)
@PierreZ
PierreZ / hbase.md
Last active January 27, 2019 21:27
{
  "fr.pierrezemb.www": {          // Row key
    "contents": {                 // Column family
      "content:html": {	          // Column qualifier
        "2017-01-01":             // A timestamp
          "<html>...",            // The actual value
        "2016-01-01":             // Another timestamp
          "<html>..."             // Another cell
 },
final DataStream<Tuple4<PlanIdentifier, Alert, Plan, Operation>> alertStream =
// Partitioning Stream per AlertIdentifier
cleanedAlertsStream.keyBy(0)
// Applying a Map Operation which is setting since when an alert is triggered
.map(new SetSinceOnSelector())
.name("setting-since-on-selector").uid("setting-since-on-selector")
// Partitioning again Stream per AlertIdentifier
.keyBy(0)
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Pierre subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="llvm" title="llvm">
<outline type="rss" text="LLVM Project Blog" title="LLVM Project Blog" xmlUrl="http://blog.llvm.org/feeds/posts/default" htmlUrl="http://blog.llvm.org/"/>
<outline type="rss" text="LLVM Weekly" title="LLVM Weekly" xmlUrl="http://llvmweekly.org/rss.xml" htmlUrl="http://llvmweekly.org/"/>