This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Note that there's no libdrm because this lib cause errors | |
sudo apt update -y && sudo apt upgrade -y | |
sudo pip3 install meson ninja | |
sudo apt-get -y install \ | |
autoconf \ | |
automake \ | |
build-essential \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint no-console:0, max-len:0 */ | |
// see https://gitlab.com/help/web_hooks/web_hooks for full json posted by GitLab | |
const MENTION_ALL_ALLOWED = false; // <- check that bot permission allow has mention-all before passing this to true. | |
const NOTIF_COLOR = '#6498CC'; | |
const refParser = (ref) => ref.replace(/^refs\/(?:tags|heads)\/(.+)$/, '$1'); | |
const displayName = (name) => (name && name.toLowerCase().replace(/\s+/g, '.')); | |
const atName = (user) => (user && user.name ? '@' + displayName(user.name) : ''); | |
const makeAttachment = (author, text) => { | |
return { | |
author_name: author ? displayName(author.name) : '', |