Skip to content

Instantly share code, notes, and snippets.

View eduardolat's full-sized avatar
❤️‍🔥
Working hard

Luis Eduardo eduardolat

❤️‍🔥
Working hard
View GitHub Profile
@eduardolat
eduardolat / fbErrorToText.js
Last active January 7, 2024 22:37 — forked from Albejr/firebase-message
Errores de firebase auth en español
export const errorList = {
'auth/app-deleted': 'No se encontró la base de datos',
'auth/expired-action-code': 'El código de acción o el enlace ha caducado',
'auth/invalid-action-code':
'El código de acción no es válido. Esto puede suceder si el código está mal formado o ya se ha utilizado',
'auth/user-disabled':
'El usuario correspondiente a la credencial proporcionada ha sido deshabilitado',
'auth/user-not-found': 'Usuario no existente',
'auth/weak-password': 'La contraseña es demasiado débil',
'auth/email-already-in-use':
@eduardolat
eduardolat / OracleOpenPort80Centos.md
Created June 30, 2021 04:41 — forked from jbaranski/OracleOpenPort80Centos.md
Open Port 80 Oracle Cloud Compute Instance (CentOS)

Open Port 80 Oracle Cloud Compute Instance (CentOS)

FYI This was harder than it needed to be:

  1. Looking at your instance info, find VNIC section, click "Public Subnet".
  2. Click on your security list.
  3. Add a new entry with the following options:
  • "Stateless" = No, "Source" = 0.0.0.0/0, "IP Protocol" = TCP, "Source Port Range" = All, "Destination Port Range" = 80
  1. SSH to your instance.
  2. While SSH'ed in your instance, run command firewall-cmd --permanent --add-service=http.
  3. While SSH'ed in your instance, run command firewall-cmd --reload.
  4. Now start Apache, NGINX, or whatever server you need to on port 80. You can now access from the internet.
@eduardolat
eduardolat / firestore.rules
Created March 20, 2021 16:21 — forked from felipepastorelima/firestore.rules
Firestore Rules utilities to reduce verbosity. Generator: https://scaffoldhub.io/firestore-rules
service cloud.firestore {
match /databases/{database}/documents {
// START - Usage example
match /people/{document=**} {
function propertiesValid() {
return request.resource.data.keys().hasAll(['name', 'birthdate', 'yearsOfExperience'])
&& request.resource.data.size() == 3
&& isString('name') && minlength('name', 3) && maxlength('name', 255)
@eduardolat
eduardolat / paises.csv
Created February 20, 2021 23:26 — forked from ideaalab/paises.csv
Lista de paises en español e ingles, incluyendo las 4 regiones/paises de Reino Unido
ESPAÑOL ENGLISH ISO2 ISO3 PHONE_CODE
Afganistán Afghanistan AF AFG 93
Albania Albania AL ALB 355
Alemania Germany DE DEU 49
Algeria Algeria DZ DZA 213
Andorra Andorra AD AND 376
Angola Angola AO AGO 244
Anguila Anguilla AI AIA 1 264
Antártida Antarctica AQ ATA 672
Antigua y Barbuda Antigua and Barbuda AG ATG 1 268
@eduardolat
eduardolat / country-dial-codes.json
Created February 20, 2021 21:34 — forked from apuravchauhan/country-dial-codes.json
Country List with Dial Codes
let countries =[
{ccode:"US",value:"1",name:"USA",mcode:"+1"},
{ccode:"GB",value:"44",name:"UK",mcode:"+44"},
{ccode:"DZ",value:"213",name:"Algeria",mcode:"+213"},
{ccode:"AD",value:"376",name:"Andorra",mcode:"+376"},
{ccode:"AO",value:"244",name:"Angola",mcode:"+244"},
{ccode:"AI",value:"1264",name:"Anguilla",mcode:"+1264"},
{ccode:"AG",value:"1268",name:"Antigua & Barbuda",mcode:"+1268"},
{ccode:"AR",value:"54",name:"Argentina",mcode:"+54"},
@eduardolat
eduardolat / README.md
Created February 20, 2021 21:34 — forked from brenes/README.md
CSV de paises, con nombre en castellano, ingles, codigo ISO y prefijo telefónico del país