Skip to content

Instantly share code, notes, and snippets.

View L2jLiga's full-sized avatar
🦐

Andrey Chalkin L2jLiga

🦐
View GitHub Profile
@jimmydo
jimmydo / ubuntu-server-multicast-dns.md
Last active November 1, 2024 12:37
Enable multicast DNS on Ubuntu Server

Enabling multicast DNS (mDNS) on a server allows other hosts on the local network to address the server as <hostname>.local.

mDNS is disabled by default in Ubuntu Server:

$ resolvectl mdns
Global: no
Link 2 (eno1): no
@marfillaster
marfillaster / router.cfg
Last active November 7, 2024 01:35
MikroTik RouterOS v7 dual DHCP WAN recursive failover w/ PCC load-balancing; and recursive ECMP
# feb/11/2022 11:00:55 by RouterOS 7.2rc3
# software id = 9QK9-C798
#
# model = RB5009UG+S+
# serial number = XXXXXXXXXX
/ip settings set allow-fast-path=no
/interface bridge add admin-mac=FF:FF:FF:FF:FF:FF auto-mac=no name=bridge
@timo22345
timo22345 / flatten.js
Last active August 12, 2024 06:19
Flatten.js, general SVG flattener. Flattens transformations of SVG shapes and paths. All shapes and path commands are supported.
<!doctype html>
<html>
<title>Flatten.js, General SVG Flattener</title>
<head>
<script>
/*
Random path and shape generator, flattener test base: https://jsfiddle.net/fjm9423q/embedded/result/
Basic usage example: https://jsfiddle.net/nrjvmqur/embedded/result/
@eevee
eevee / spabs.md
Last active February 20, 2024 08:29
tabs to spaces