Skip to content

Instantly share code, notes, and snippets.

@wiktorbgu
wiktorbgu / Mikrotik-WireGuard-anti-DPI.md
Last active December 24, 2025 15:17
Mikrotik WireGuard anti DPI

Чуть подправил скрипт , чтобы лишний раз не бегал по клиентским пирам, которые подключаются к этому роутеру, а только где роутер как клиент.
Работает убойно! Proton и Warp пробивает)

Upd.: увеличил время в фильтре до 2м30с как защита от ложных срабатываний у медленных подключений.
Считаю выполнение скрипта раз в 2 минуты средним нормальным значением.
Так же добавил в скрипт закомментированную строку с возможность исключения какого-либо wg интерфейса из проверки.

Если при выполнении скрипта на этапе генерации трафика выходит ошибка в лог, то:
выполнить команду /system/device-mode/print

@fluggelgleckheimlen
fluggelgleckheimlen / vCert.sh
Last active October 6, 2025 07:56
Script to manage vCenter SSL certificates from VMware GSS
#!/bin/bash
#------------------------------
# Script to manage vCenter SSL certificates.
#
# Author: Vincent Santa Maria [vinny.santa-maria@broadcom.com]
#------------------------------
#------------------------------
# for debugging purposes only, uncomment the following line:
# export PS4='+[${SECONDS}s][${BASH_SOURCE}:${LINENO}]: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'; set -x;
@vielhuber
vielhuber / script.sh
Last active November 26, 2025 02:19
PostgreSQL: Backup and restore export import pg_dump with password on command line #sql
# best practice: linux
nano ~/.pgpass
*:5432:*:username:password
chmod 0600 ~/.pgpass
# best practice: windows
edit %APPDATA%\postgresql\pgpass.conf
*:5432:*:username:password
# linux
@nick123pig
nick123pig / readme.md
Last active April 10, 2019 15:13
Dashing Table

dashing-table

Allows you to use tables with the dashing framework.

Preview

Basic Table Preview

@visibilityspots
visibilityspots / bacula-dashing-widget.md
Last active February 9, 2016 07:36
A dashing widget to show the state of your bacula backups

Bacula widget

We have a dashing dashboard to give an overview of our infrastructure. Icinga, jenkins, foreman, web-services, traffic times.. Almost everything is been captured.. Only for bacula I could not find an existing one.

So I decided to write one myself. The first idea was to scrape the bacula-web overview site and use that output in a dashing screen. Mainly because a missing API for bacula or bacula-web. Nevertheless scraping a website isn't the best idea if that layout changes your quite fucked up..

screenshot

After googling around I came across an exampling of using mysql with ruby. So I decided to use this approach to have an overview of the bacula state since we configured bacula using a mysql database.

@gregology
gregology / README.md
Last active September 5, 2019 14:05
Load averages of *nix server running dashing.

Setup

Put the loadavg1min.rb to jobs/loadavg1min.rb.

Add the code from loadavg1min.erb to the desired dashboard.

Preview