Skip to content

Instantly share code, notes, and snippets.

@chanjarster
chanjarster / tomcat-dashboard.json
Last active August 22, 2020 19:17
Grafana dashboard - tomcat dashboard
{
"__inputs": [
{
"name": "VAR_JOB",
"type": "constant",
"label": "Job",
"value": "java",
"description": ""
}
],
@gbrks
gbrks / btrfs-scrub
Last active September 10, 2021 21:39
btrfs scrub: script and systemd timers to run monthly
#! /bin/bash
#######################################################
# This is a helper script to be used in a systemd timer
# or cron job to scrub all mounted btrfs filessytems
#
# $Author: gbrks
# $Revision 0.1
# $Date: 2015.05.15
#
# Update email address below
@carletes
carletes / ubuntu-kernel-for-acer-c7.sh
Last active November 22, 2018 03:51
Script to create Ubuntu kernel packages for an Acer C7 Chromebook running ChrUbuntu
#!/bin/bash
set -x
#
# Grab verified boot utilities from ChromeOS.
#
mkdir -p /usr/share/vboot
mount -o ro /dev/sda3 /mnt
cp /mnt/usr/bin/vbutil_* /usr/bin