- Manually or use my pfSense/OPNsense Ansible playbooks
This file contains hidden or 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
gofile.me File Sharing | |
checkport.synology.com Connectivity Test 82/tcp | |
help.synology.com Online Help (needed from NAS?) | |
sns.synology.com Push notification | |
notification.synology.com Push notification | |
myds.synology.com Entry added Mon, 08 Jan 2024 21:43:51 +0000 | |
database.clamav.net Antivirus - ClamAV | |
myds.synology.com Antivirus - ClamAV | |
update.nai.com Antivirus - McAfee | |
docker.io Containers und C2 ID Edge |
This file contains hidden or 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
[root@gitlab ~]# yum upgrade | |
Loaded plugins: etckeeper, fastestmirror, fs-snapshot, keys, post-transaction-actions, ps, rpm-warm-cache | |
Determining fastest mirrors | |
epel/x86_64/metalink | 33 kB 00:00:00 | |
Including mirror: centos.schlundtech.de | |
Including mirror: mirror.speedkom.de | |
Including mirror: de.mirrors.clouvider.net | |
Including mirror: centos.intergenia.de | |
Including mirror: mirror1.hs-esslingen.de | |
Including mirror: ftp.tu-chemnitz.de |
This file contains hidden or 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
^XA | |
^FO20,10^BQ,2,4^FDMM,Ahttp://netbox.ifz-muenchen.de/obj-demo-url^FS | |
^FO145,10^BQ,2,3^FDMM,AHALLO ICH BIMS^FS | |
^CF0,20 | |
^FO143,100^FDsw-demo^FS | |
^XZ |
This file contains hidden or 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
$ cat gpt-matchcables.py | |
#!/usr/bin/python3 | |
import re | |
import csv | |
# Initialize dictionaries to store data from both CSV files | |
switchports_data = {} | |
patch_panels_data = {} |
This file contains hidden or 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 ruby | |
## contrib via https://github.com/ytti/oxidized/issues/67 | |
require 'open-uri' | |
require 'json' | |
critical = false | |
pending = false | |
critical_nodes = [] |
This file contains hidden or 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 -u | |
occ_wrapper='docker exec -it -u 33 nextcloud-app /var/www/html/occ' | |
mysql_wrapper='docker exec nextcloud-db mysql nextcloud' | |
upgrades_db() { | |
_scmds="db:add-missing-columns | |
db:add-missing-indices | |
db:add-missing-primary-keys | |
db:convert-filecache-bigint |
This file contains hidden or 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
[appstream] | |
name=CentOS Stream $releasever - AppStream | |
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra&cc=de | |
#baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/ | |
gpgcheck=1 | |
enabled=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
This file contains hidden or 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
# source: https://github.com/MSAdministrator/PoshCodeMarkDown/blob/master/docs/Delete-Old-Shadow-Copies.ps1.md | |
# modified... | |
# TODO: only handle c: | |
# TODO: Never delete the last snapshot, or even better the last two? | |
Get-WmiObject Win32_Shadowcopy | ForEach-Object { | |
.InstallDate $strShadowID = $.ID $dtmSnapShotDate = [management.managementDateTimeConverter]::ToDateTime($WmiSnapShotDate) $strClientAccessible = $_.ClientAccessible $dtmCurDate = Get-Date | |
$dtmTimeSpan = New-TimeSpan $dtmSnapShotDate $dtmCurDate $intNumberDays = $dtmTimeSpan.Days |
This file contains hidden or 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
https://schroederdennis.de/allgemein/mellanox-connectx-3-40gbit-ethernet-unlock-freischalten-crossflashing-anleitung-tutorial-howto/#comment-1573 | |
~# ls -l | |
total 3872 | |
-rw-r--r-- 1 root root 2666684 Mar 17 2021 2103011801.7z | |
-rw-r--r-- 1 root root 485262 Nov 15 12:37 fw-ConnectX3-rel-2_36_5000-ConnectX3-A1-JFP-QDR.bin.zip | |
-rw-r--r-- 1 root root 796616 Nov 15 12:37 fw-ConnectX3-rel-2_42_5000-MCX353A-FCB_A2-A5-FlexBoot-3.4.752.bin | |
-rw-r--r-- 1 root root 5120 Nov 15 12:33 fwsettings.ini | |
drwxr-xr-x 2 root root 6 Feb 24 2021 tmp |