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
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "l-jz8T47k" | |
}, | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" |
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 | |
set -euo pipefail | |
main() { | |
local url | |
url="$(jq -rc .response.data.url < "$1")" | |
if [[ -z "$url" ]]; then | |
echo "EMPTY: $1" | |
return |
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
#include <stdio.h> | |
#include <stdint.h> | |
int rdrand(uint32_t *out) { | |
char rc; | |
unsigned int val; | |
__asm__ volatile( | |
"rdrand %0 ; setc %1" | |
: "=r" (val), "=qm" (rc) |
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
{ stdenv | |
, pkgs | |
, gnome3 | |
, hicolor-icon-theme | |
}: | |
stdenv.mkDerivation { | |
pname = "only-missing"; | |
version = "0.0.1"; |
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 | |
set -eu | |
die() { | |
echo "$1" >&2 | |
exit 1 | |
} |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import re | |
import sys | |
import json | |
import random | |
import shutil | |
import tempfile |
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
diff --git i/libcpp/macro.c w/libcpp/macro.c | |
index c2515534504..ab593251def 100644 | |
--- i/libcpp/macro.c | |
+++ w/libcpp/macro.c | |
@@ -288,8 +288,8 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node, | |
case BT_FILE: | |
case BT_BASE_FILE: | |
{ | |
- unsigned int len; | |
- const char *name; |
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
commit 0000000000000000000000000000000000000000 | |
Author: Andrew Dunham <redacted> | |
Date: Mon Jan 01 00:00:00 2018 +0100 | |
Apply https://patchwork.kernel.org/patch/8756801/ | |
Original commit message: | |
Added AdaptivePerformance, EmergencyCallMode, | |
PassivePolicy2, PowerBoss, VirtualSensor |
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 | |
# USAGE: docker run -t -i --rm -v $PWD:/out ubuntu:16.04 /out/build.sh | |
set -eu | |
# Install | |
install_packages() { | |
apt-get update && apt-get upgrade -yy |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import base64 | |
import ctypes | |
import json | |
import subprocess | |
import sys | |
import xml.etree.ElementTree as ET |
NewerOlder