Skip to content

Instantly share code, notes, and snippets.

afanjul / repartition-proxmox-rescue-mode.txt
Last active March 3, 2022 16:42
Repartition server after Proxmox image installation from rescue mode
We want to split a 8TB disks into:
-1TB RAID1 for root "/"
-1TB RAID1 for extra things "backups, templates, etc."
-6TB LVM-Thin (with LVM mirroring) for Containers and VM
Boot into rescue mode
#Active probes:
modprobe md
afanjul / GoogleBots-Ips.txt
Last active June 16, 2021 13:11
Google Bots known ips CIDR
afanjul / install-docker-inside-lxc.txt
Last active June 14, 2023 18:08
Install Docker inside LXC container - Proxmox VE
1.Add “aufs” or “overlay” (or both) to /etc/modules-load.d/modules.conf in your PVE host and reboot. Check it with lsmod | grep -E 'overlay|aufs'
2.Use a LXC image with unprivilege features (you can check them here:
3.Create the container with unprivilege option, and “keyctl=1, nesting=1” features (Options section in proxmox).
4.Maybe you would want to mount an external point into /var/lib/docker (Resources section in proxmox)
5.Check this link ( to change your storage-driver in docker to use aufs or overlay2.
6.Install portainer:
afanjul / Abanca.txt
Last active March 21, 2017 18:24
Formulario Registro Palbin
<form class="landing-registration-form-inner form-inline" inline="1" id="landing-registration-form" action="" method="post">
<div class="form-inputs">
<div class="row-fluid control-group">
<input class="span12 account-shop-name" data-placement="left" placeholder="Nombre de la Tienda" name="Account[shop_name]" id="Account_shop_name" type="text" maxlength="255"> <span class="help-block error" id="Account_shop_name_em_" style="display: none"></span> </div>
<div class="row-fluid control-group input-append input-prepend subdomain init-hidden">
<div class="input-prepend input-append"><span class="add-on">http://</span>
<input class="span6 subdomain-input account-id" data-placement="left" placeholder="Subdominio" name="Account[accountID]" id="Account_accountID" type="text" maxlength="45"><span class="add-on"></span></div> <span class="help-block error" id="Ac
afanjul / gist:63186b08cd349135f35e
Created January 8, 2015 19:36
Plantilla popup con imagen
<p>Únete a nuestra newsletter y recibe inmediatamente un cupón descuento del 5% para cualquier producto de nuestra tienda.</p>
<p><img src="" width="100%"></p>