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

Keybase proof

I hereby claim:

  • I am t0biii on github.
  • I am t0biii (https://keybase.io/t0biii) on keybase.
  • I have a public key whose fingerprint is 0681 9652 CECF 4AF0 538B FA9F FE3C 6D0B F263 AB9D

To claim this, I am signing this object:

@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*```"
}
@T0biii
T0biii / OpenDeviceBMS.ps1
Created April 11, 2021 13:16
Baramundi open Device (PowerShell)
[String]$PCName = "Test-PC"
[String]$navigationCriteriaType = "Name"
[string]$navigationObjectType = "WindowsEndpoint"
$argumentlist = "bmc:// /navigationCriteria=$PCName","/navigationCriteriaType=$navigationCriteriaType","/navigationObjectType=$navigationObjectType"
Start-Process -FilePath "C:\Program Files (x86)\baramundi\Management Center\bMC.exe" -ArgumentList $argumentlist
@T0biii
T0biii / mailcow-post_update_hook.sh
Created February 19, 2022 20:14
Mailcow pre and post Hook
#cd /opt/
#git clone https://github.com/ChaoticWeg/discord.sh
#create ".webhook" in /opt/discord.sh/ with webhook URL for more infos see: https://github.com/ChaoticWeg/discord.sh
#post_update_hook.sh
IP=$(hostname --ip-address)
/opt/discord.sh/discord.sh --text "@here :ocean: **Mailcow update completed.** :ocean: :keyboard: **DNS/IP:** $IP"
@T0biii
T0biii / Info.html
Created March 1, 2024 08:20
Ausweisabholungsseite - https://www17.muenchen.de/Passverfolgung/ - New Look? ChatGPT
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Einwohnermeldewesen - Passwesen - Dokumentensuche</title>
<link rel="stylesheet" href="/css/kvr/kvr.css">
<style>
body {
background-color: #FFFFFF;
<#
.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 / ip a
Last active March 12, 2024 09:08
ffulm bevor upgrade
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
link/ether 00:0c:29:f4:5b:c7 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-wan state UP group default qlen 1000
link/ether 00:0c:29:f4:5b:d1 brd ff:ff:ff:ff:ff:ff
@T0biii
T0biii / commands i need.md
Last active May 12, 2024 18:47
my gluon commands

Remove wg_mesh_vpn to get a new connection mybe gateway.

ip link del wg_mesh_vpn

autoupdater settings

uci set autoupdater.settings.enabled=0
uci set autoupdater.settings.enabled=1

Loadbalancing

@T0biii
T0biii / log read
Last active March 15, 2024 17:57
v2024.1.4-2-gd77d026~exp20240315 / gluon-v2023.1.2+
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.357156] pci 0000:00:16.6: BAR 13: no space for [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.358937] pci 0000:00:16.6: BAR 13: failed to assign [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.360773] pci 0000:00:16.7: BAR 13: no space for [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.362504] pci 0000:00:16.7: BAR 13: failed to assign [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.364338] pci 0000:00:17.3: BAR 13: no space for [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.366065] pci 0000:00:17.3: BAR 13: failed to assign [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.367904] pci 0000:00:17.4: BAR 13: no space for [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.369694] pci 0000:00:17.4: BAR 13: failed to assign [io size 0x1000]
Fri Mar 15 18:19:13 2024 kern.info kernel: [ 1.371518] pci 0000:00:17.5: BAR 13: no s
@T0biii
T0biii / logread
Last active March 23, 2024 12:21
logread (ip link del wg_mesh_vpn, uci set wireguard.mesh_vpn.loadbalancing=0 and uci set wireguard.mesh_vpn.loadbalancing=1)
Sat Mar 23 13:13:09 2024 kern.info kernel: [ 264.639441] batman_adv: bat0: Interface deactivated: mesh-vpn
Sat Mar 23 13:13:09 2024 daemon.notice netifd: Network device 'mesh-vpn' link is down
Sat Mar 23 13:13:09 2024 daemon.notice netifd: Interface 'mesh_vpn' has link connectivity loss
Sat Mar 23 13:13:09 2024 kern.info kernel: [ 264.689482] batman_adv: bat0: Removing interface: mesh-vpn
Sat Mar 23 13:13:09 2024 daemon.notice netifd: Interface 'mesh_vpn' is now down
Sat Mar 23 13:13:09 2024 daemon.notice netifd: Interface 'mesh_vpn' is disabled
Sat Mar 23 13:13:39 2024 user.notice ipv6_ra_filter: Failed to get batman gateway. Dropping any router advertisement.
Sat Mar 23 13:13:39 2024 daemon.err micrond[3459]: Failed to send request: Operation not permitted
Sat Mar 23 13:13:39 2024 user.notice checkuplink: Reconnecting ...
Sat Mar 23 13:13:40 2024 user.info checkuplink: Loadbalancing overwrite detected: 0