Skip to content

Instantly share code, notes, and snippets.

View nkaurelien's full-sized avatar

Aurelien Nkumbe nkaurelien

View GitHub Profile
@nkaurelien
nkaurelien / extend-var-lvm.md
Last active May 5, 2026 00:23
Étendre /var sur LVM dans une VM Proxmox (Debian 12 / OSBoxes) — procédure + troubleshooting

Étendre /var sur LVM dans une VM Proxmox (Debian 12 / OSBoxes) — procédure + troubleshooting

Contexte

VM Debian 12 issue d'une image pré-faite OSBoxes. Ces images appliquent un partitionnement LVM "guidé Debian" assez strict : un LV séparé par point de montage (/, /var, /tmp, /home, swap), avec /var taillé très petit (~9 G) et /home qui récupère l'essentiel. Sur une utilisation k3s/Docker — qui empile images, layers, logs et volumes dans /var/lib/.../var se remplit vite, alors que /home reste désespérément vide.

Symptômes observés :

  • /var à 51% sur un LV de 9.3 G seulement,
  • VG 100% alloué (VFree = 0) — donc lvextend impossible directement,
  • mais lsblk montre que le disque virtuel a été agrandi côté hyperviseur (300 G) sans que la table de partitions de l'invité ne suive : sda5 plafonné à 249.5 G → 50 GiB libres après sda5.
@travelhawk
travelhawk / README.md
Last active April 14, 2026 04:53
Use vagrant and ansible on Windows (WSL2)

Use vagrant and ansible on Windows (WSL2)

Making vagrant and ansible work together with virtualbox as a provider is not well documented across the documentations. Ansible's control node doesn't work on Windows. However, it works on WSL which make the installation of ansible and vagrant on WSL necessary and the access from WSL to virtualbox which is still running under the Windows host.

Requirements

  • Windows 10
  • Virtualbox
  • WSL2
[
{ code: 'AD', label: 'Andorra', phone: '376', phoneLength: 6},
{ code: 'AE', label: 'United Arab Emirates', phone: '971', phoneLength: 9},
{ code: 'AF', label: 'Afghanistan', phone: '93', phoneLength: 9},
{ code: 'AG', label: 'Antigua and Barbuda', phone: '1-268', phoneLength: 10},
{ code: 'AI', label: 'Anguilla', phone: '1-264', phoneLength: 10},
{ code: 'AL', label: 'Albania', phone: '355', phoneLength: 9},
{ code: 'AM', label: 'Armenia', phone: '374', phoneLength: 6},
{ code: 'AO', label: 'Angola', phone: '244', phoneLength: 9},
{ code: 'AQ', label: 'Antarctica', phone: '672', phoneLength: 6},
@nguyentamvinhlong
nguyentamvinhlong / gitlab-permission-denied-publickey-error-solved.md
Created October 10, 2017 15:44
Gitlab Permission denied (publickey) error SOLVED

Gitlab Permission denied (publickey) error SOLVED

Permission denied (publickey)

Seems a very common error in Gitlab.com or any Gitlab implementation. Last night I spend 4/5 hours without sleeping to solve the error.

Cloning into 'server'...
Permission denied (publickey).
fatal: Could not read from remote repository.
@miglen
miglen / linux-networking-tools.md
Last active June 11, 2026 22:15
Linux networking tools

List of Linux networking tools

netstat (ss)

Displays contents of /proc/net files. It works with the Linux Network Subsystem, it will tell you what the status of ports are ie. open, closed, waiting, masquerade connections. It will also display various other things. It has many different options. Netstat (Network Statistic) command display connection info, routing table information etc. To displays routing table information use option as -r.

Sample output:

Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)    
tcp4 0 0 127.0.0.1.62132 127.0.0.1.http ESTABLISHED
@noelworden
noelworden / Standardized_Commits.md
Last active August 24, 2023 08:45
How to standardize git commit messages, #helpers
  • Why standardize messages? Its clean. Easy to see what changed and when. As an up-and-coming developer, my repos will probably be potential employers first impressions of me. Clean code (proper indentions/spacing etc) and formatted commit messages help show that I care about my code.

  • The workflow is to create a .txt file as a template, and configure git to use that file as the default message when commiting.

  • The key is the character count. Note the dashed lines representing 50 characters for the summary, and 72 for the description.

####implimentation####

  • cd ~ #to confirm in the home directory