Enlaces con otros ficheros compartidos en los comentarios:
/* | |
* Translated default messages for the jQuery validation plugin. | |
* Locale: ES | |
*/ | |
jQuery.extend(jQuery.validator.messages, { | |
required: "Este campo es obligatorio.", | |
remote: "Por favor, rellena este campo.", | |
email: "Por favor, escribe una dirección de correo válida", |
<label for="country">Country</label><span style="color: red !important; display: inline; float: none;">*</span> | |
<select id="country" name="country" class="form-control"> | |
<option value="Afghanistan">Afghanistan</option> | |
<option value="Åland Islands">Åland Islands</option> | |
<option value="Albania">Albania</option> | |
<option value="Algeria">Algeria</option> | |
<option value="American Samoa">American Samoa</option> | |
<option value="Andorra">Andorra</option> | |
<option value="Angola">Angola</option> |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This process requires that you are able to ssh OR log in locally using the root user account and that no services be running as users out of /home on the target machine.
The examples are from a default installation with no customization-you NEED to know what you're working with for volumes/partitions to not horribly break things.
By default, CentOS 7 uses XFS for the file system and Logical Volume Manager (LVM), creating 3 partitions: /
,/home
and swap.
NOTE: If you want to be sure that nothing is writing to /home
you can either modify the host to boot into single-user mode OR try to use the
systemctl isolate runlevel1.target
command to switch (not tested! should work).
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -d [OR] | |
RewriteCond %{REQUEST_FILENAME} -f | |
RewriteRule ^ ^$1 [N] |
COUNTRIES_WITHOUT_POSTCODES = [ | |
[ "Angola", "AO" ], | |
[ "Antigua and Barbuda", "AG" ], | |
[ "Aruba", "AW" ], | |
[ "Bahamas", "BS" ], | |
[ "Belize", "BZ" ], | |
[ "Benin", "BJ" ], | |
[ "Bolivia", "BO" ], | |
[ "Botswana", "BW" ], | |
[ "Burkina Faso", "BF" ], |
https://odan.github.io/2019/11/05/slim4-tutorial.html
If you liked the tutorial, please click here on the star button: https://github.com/odan/slim4-tutorial
For technical questions create an issue here: https://github.com/odan/slim4-tutorial/issues
If you have Slim framework specific questions use: https://discourse.slimframework.com/
<!-- Modified from https://gist.github.com/NicholasKimuli/2b167ca1c6ce03cb860e3f89d17db1eb | |
Bonaire, Saba and Sint Eustatius may need a future flag update --> | |
<select class="input-block-level" id="countryCode" name="countryCode"> | |
<option data-countryCode="AF" value="93">🇦🇫 Afghanistan (+93)</option> | |
<option data-countryCode="AL" value="355">🇦🇽 Albania (+355)</option> | |
<option data-countryCode="DZ" value="213">🇩🇿 Algeria (+213)</option> | |
<option data-countryCode="AD" value="376">🇦🇩 Andorra (+376)</option> | |
<option data-countryCode="AO" value="244">🇦🇴 Angola (+244)</option> | |
<option data-countryCode="AI" value="1264">🇦🇮 Anguilla (+1264)</option> | |
<option data-countryCode="AG" value="1268">🇦🇬 Antigua & Barbuda (+1268)</option> |