Skip to content

Instantly share code, notes, and snippets.

@derrix060
derrix060 / disk_usage_notifier.sh
Created September 6, 2021 00:39
Monitor disk usage
#!/bin/bash
set -euxo pipefail
HIGH_USAGE_DISKS=$(df -h | awk '0+$5 >= 90 {print}')
URL='https://hc-ping.com/a36ce556-bc27-49e8-8e7f-824c24b05d99'
if [[ -n "$HIGH_USAGE_DISKS" ]]; then
URL="$URL/fail" # Force error
@derrix060
derrix060 / OneDriveSDK_CLA
Last active October 13, 2018 22:49 — forked from CLAassistant/SAP_CLA
OneDriveSDK Individual Contributor License Agreement
### Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by OneDriveSDK SE or its affiliates (“OneDriveSDK”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to OneDriveSDK in respect of any of the Projects (collectively “Contributions”).
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to OneDriveSDK a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transferable copyright licens