Skip to content

Instantly share code, notes, and snippets.

@MatMercer
MatMercer / wsl-vpn-fix.sh
Last active February 28, 2026 15:10
Fix WSL 2 DNS resolution when connected to Cisco AnyConnect VPN
#!/bin/bash
#--------------------------------------------------------------------------------#
# #
# Fix WSL DNS resolution with Cisco AnyConnect #
# #
# ! Don't forget to set this configuration in /etc/wsl.conf: #
# [network] #
# generateResolvConf = false #
# #
# Based on: #
@dcode
dcode / GitHub Flavored Asciidoc (GFA).adoc
Last active January 10, 2026 00:51
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@plentz
plentz / nginx.conf
Last active March 3, 2026 06:56
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048