Skip to content

Instantly share code, notes, and snippets.

View T0biii's full-sized avatar
🏠
Working from home

Tobias T0biii

🏠
Working from home
View GitHub Profile
<#
.SYNOPSIS
Clears the Teams client cache on Windows machines.
.DESCRIPTION
Clears the Teams client cache for whichever Teams version is currently in use while retaining the custom backgrounds.
Authors: Martin Heusser | MVP
Version: 1.0.1
Changelog: 2023-12-01: Initial release
@T0biii
T0biii / uptimerobot_discord.js
Last active November 9, 2019 10:23 — forked from fabianmieller/uptimerobot_discord.js
Uptime Robot Discord integrations
// Alert Contact Type: Web-Hooks
// URL to Notify: https://discordapp.com/api/webhooks/{WEB_HOOK_ID}/{TOKEN}?
// POST Value UP (JSON Format):
{
"content": "@here: 🔥 **Monitor is:** `*alertTypeFriendlyName*` 💡 **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* :hourglass_flowing_sand: **Downtime:** `*alertDuration* seconds` :hourglass: \n```*alertDetails*```"
}
// POST Value DOWN (JSON Format):
{
"content": "@here: 🔥 **Monitor is:** `*alertTypeFriendlyName*` 💡 **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* \n```*alertDetails*```"
}