Skip to content

Instantly share code, notes, and snippets.

Clément Hussenot chussenot

View GitHub Profile
View export.js
const REQUIRED_KEYS = ["name", "type", "query", "message"];
const ALLOWED_OPTIONS_KEYS = [
"notify_no_data",
"new_host_delay",
"evaluation_delay",
"no_data_timeframe",
"renotify_interval",
"notify_audit",
"timeout_h",
@chussenot
chussenot / bash-template.sh
Created Apr 16, 2020 — forked from PhilipSchmid/bash-template.sh
Bash script template (incl. logging functions)
View bash-template.sh
#!/bin/bash
#################################
# Constants / global variables
#################################
LOGFILE='example.log'
LOGLEVEL='INFO'
#################################
# Functions
@chussenot
chussenot / installNeovim.sh
Created Jan 6, 2020 — forked from darcyparker/installNeovim.sh
Build and install neovim for Debian
View installNeovim.sh
#!/usr/bin/env bash
#Build and install neovim for Debian
#See: https://neovim.io/
#See: https://github.com/neovim/neovim/wiki/Building-Neovim#quick-start
#Save current dir
pushd . > /dev/null
#Install dependencies
View bug.md

What does this MR do?

Related issues

View bug.md

What does this MR do?

Related issues

@chussenot
chussenot / _README.md
Created Jul 2, 2019 — forked from kennethkalmer/_README.md
Simple start with InfluxDB & Grafana using Travis as a source of historical data
View _README.md

InfluxDB & Grafana starter pack

Simple example of how easy it is to jam numbers into InfluxDB and graph something with Grafana. I choose to use Travis as a source of historical time-series data.

Dependencies

Get InfluxDB installed with Homebrew

$ brew install influxdb
View .gitconfig
[user]
email = chussenot@xxx.com
name = Clement Hussenot
[core]
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = nvim -f
autocrlf = false
safecrlf = true
excludesfile = ~/.gitignore
pager = diff-so-fancy | less --tabs=4 -RFX
View plot.html
<!doctype html>
<html>
<head>
<title>cool-git.vptech.eu-120s-rate=50</title>
<meta charset="utf-8">
<style>/**
* Default styles for the dygraphs charting library.
*/
.dygraph-legend {
View plot.html
<!doctype html>
<html>
<head>
<title>Vegeta Plot</title>
<meta charset="utf-8">
<style>/**
* Default styles for the dygraphs charting library.
*/
.dygraph-legend {
View gist:5be0bba39c30a1a1ec0c1ac77b891444
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.8.2_windows_amd64.zip
unzip telegraf-1.8.2_windows_amd64.zip
You can’t perform that action at this time.