Skip to content

Instantly share code, notes, and snippets.

View c0m4r's full-sized avatar
🐧

c0m4r

🐧
  • sudo rm --no-preserve-root -rf / 2>&1
View GitHub Profile
@c0m4r
c0m4r / void_linux_ovh_vps.md
Last active May 3, 2024 04:44
Void Linux installation on OVH VPS
@c0m4r
c0m4r / freebsd_ovh_vps.md
Last active June 7, 2024 07:25
FreeBSD installation on OVH VPS
@c0m4r
c0m4r / alpine_hetzner_arm_ipv6.md
Last active May 29, 2024 04:00
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 May 17, 2024 03:06
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 January 13, 2024 17:22
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
@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 January 20, 2024 19:47
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 May 6, 2024 18:56
FreeBSD installation on Hetzner Cloud VPS