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
@PierreZ
PierreZ / Cheatsheet
Last active November 29, 2023 10:49
CISCO Cheat sheet
#configuration of router
conf t
hostname ""
enable secret ""
line console 0
logging synchronous
password ""
login
exit
line vty 0 4
@PierreZ
PierreZ / feedly.ompl
Last active November 3, 2023 06:53
RSS
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Pierre subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="security" title="security">
<outline type="rss" text="Threatpost" title="Threatpost" xmlUrl="http://threatpost.com/feed" htmlUrl="https://threatpost.com"/>
<outline type="rss" text="BleepingComputer" title="BleepingComputer" xmlUrl="http://www.bleepingcomputer.com/feed/" htmlUrl="https://www.bleepingcomputer.com/"/>
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Pierre subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="OS distributions" title="OS distributions">
<outline type="rss" text="Arch Linux: Recent news updates" title="Arch Linux: Recent news updates" xmlUrl="https://www.archlinux.org/feeds/news/" htmlUrl="https://www.archlinux.org/news/"/>
<outline type="rss" text="Arch Linux - Recent News Updates" title="Arch Linux - Recent News Updates" xmlUrl="http://www.archlinux.org/feeds/news/" htmlUrl="https://www.archlinux.org/news/"/>
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)