Skip to content

Instantly share code, notes, and snippets.

View enoy19's full-sized avatar
🌟
A wizard is never late, nor is he early. He arrives precisely when he means to.

Enis enoy19

🌟
A wizard is never late, nor is he early. He arrives precisely when he means to.
View GitHub Profile
@Iryos
Iryos / hetzner_proxmox_ipv4_and_ipv6_interfaces.txt
Last active July 28, 2023 14:09
Proxmox Hetzner 1 IPv4 and IPv6 /64 Subnet Interfaces Config
### Install net-tools for 'route' Command on Proxmox Host ###
apt install -y net-tools
### /etc/network/interfaces config ###
auto lo
iface lo inet loopback
iface enp34s0 inet manual
@joseluisq
joseluisq / resize_disk_image.md
Last active January 10, 2025 09:25
How to resize a qcow2 disk image on Linux

How to resize a qcow2 disk image on Linux

This example takes olddisk.qcow2 and resizes it into newdisk.qcow2, extending one of the guest's partitions to fill the extra space.

1. qcow2 format

1.1. Verify the filesystems of olddisk.qcow2

@BichengLUO
BichengLUO / mp4_to_gif.bash
Created February 7, 2018 23:30
An ffmpeg script to convert MP4 to GIF with high quality
ffmpeg -y -i input.mp4 -vf fps=10,scale=716:-1:flags=lanczos,palettegen palette.png
ffmpeg -i input.mp4 -i palette.png -filter_complex "fps=10,scale=716:-1:flags=lanczos[x];[x][1:v]paletteuse" output.gif
@malteos
malteos / german-iso-3166.csv
Last active October 16, 2024 16:17
German ISO-3166 Country Codes CSV (deutsche Ländercodes)
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
AF Afghanistan
EG Ägypten
AL Albanien
DZ Algerien
AD Andorra
AO Angola
AI Anguilla
AQ Antarktis
AG Antigua und Barbuda
GQ Äquatorial Guinea