Skip to content

Instantly share code, notes, and snippets.

View c0m4r's full-sized avatar
๐Ÿ”ฎ
Abracadabra

c0m4r

๐Ÿ”ฎ
Abracadabra
View GitHub Profile
@c0m4r
c0m4r / void_linux_ovh_vps.md
Last active March 4, 2026 15:45
Void Linux installation on OVH VPS
@c0m4r
c0m4r / freebsd_ovh_vps.md
Last active March 1, 2026 18:47
FreeBSD installation on OVH VPS

FreeBSD installation on OVH VPS

OVH now offers FreeBSD as a distro choice, however you might still want to install a specific version yourself or choose another root filesystem. In such case - this guide is for you.

This guide explains how to install the FreeBSD on OVH VPS. This might also work for other VPS providers with the proper rescue system in place.

Inspired by https://www.klajnszmit.net/unix-bsd-linux/openbsd-on-ovh-vps

Table of contents:

@c0m4r
c0m4r / alpine_hetzner_arm_ipv6.md
Last active March 1, 2026 18:46
Alpine Linux installation on Hetzner Cloud VPS (Arm64/IPv6-only)

Alpine Linux installation on Hetzner Cloud VPS

(Arm64/IPv6-only)

This guide describes how to install Alpine Linux on Hetzner Cloud VPS CAX ARM64 Servers with IPv6-only setup.

image

Table of contents:

@c0m4r
c0m4r / void_linux_hetzner_arm_ipv6.md
Last active March 1, 2026 18:46
Void Linux installation on Hetzner Cloud VPS (Arm64/IPv6-only)

Void Linux installation on Hetzner Cloud VPS

(Arm64/IPv6-only)

This guide describes how to install Void Linux on ARM Hetzner Cloud instances with IPv6-only setup.

image

Table of contents:

@c0m4r
c0m4r / docker_ipv6_only_host.md
Last active November 3, 2024 09:40
Docker inside IPv6-only host

Docker inside the IPv6-only host

This guide tries to explain workarounds required to live with Docker on a IPv6-only host.

NAT64 over dnsmasq

Docker hub itself works great with IPv6, but other services - like github - not so much. In order to enable communication with IPv4-only services wee need to use a proxy like https://github.via-ipv6.com/ or NAT64.

However, we don't necessarily want all traffic being routed through that service. Therfore, we're using dnsmasq to use NAT64 only for domains we need.

@c0m4r
c0m4r / websites_validators.md
Last active April 3, 2024 14:18
website validators and security tools

website validators and security tools

Syntax Method Type
pagespeed Web-based ๐ŸŒ Page speed
webpagetest Web-based ๐ŸŒ Page speed
pwabuilder Web-based ๐Ÿ“ฑ Progressive Web App (PWA)
lighthouse Web-based ๐Ÿ“ฑ Progressive Web App (PWA)
validator.w3.org Web-based ๐Ÿ“„ HTML validation
site-validator Web-based ๐Ÿ“„ HTML validation
@c0m4r
c0m4r / paranoya_and_php-malware-finder.md
Last active January 17, 2024 14:46
php-malware-finder yara rules for paranoya

php-malware-finder yara rules for paranoya

Modified to somehow work with paranoya simple IOC and Yara scanner.

โš ๏ธ Notice: They work a bit excessive without whitelisting, causing a lot of false positives, keep that in mind.

cd signature-base/yara && curl -Ls \
@c0m4r
c0m4r / python_linters.md
Last active January 11, 2024 11:35
Python linters, formatters, best practices

Python linters, formatters, best practices

name installation skipping optional
bandit pip install bandit -S
codespell pip install codespell
mypy pip install mypy --disable-error-code --strict
pylama pip install pylama -i --ignore
pylint pip install pylint --disable
pyright pip install pyright
@c0m4r
c0m4r / Arch_Linux_ARM_aarch64_ipv6_installation.md
Last active March 1, 2026 18:46
Arch Linux ARM (aarch64/IPv6) installation

Arch Linux ARM (Aarch64/IPv6) installation

Generic AArch64 Installation

Tarball mirors with IPv6 support

Country Official URL
USA true https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
Denmark true http://dk.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
@c0m4r
c0m4r / freebsd_hetzner_cloud_vps.md
Last active March 22, 2026 14:50
FreeBSD installation on Hetzner Cloud VPS