Skip to content

Instantly share code, notes, and snippets.

View ElenaMLopez's full-sized avatar

Elena Mateos López ElenaMLopez

View GitHub Profile
@ElenaMLopez
ElenaMLopez / .gitignore
Created January 2, 2023 11:10 — forked from Akhu/.gitignore
Xcode 12 + Swift UI Gitignore
# Created by https://www.toptal.com/developers/gitignore/api/swiftpackagemanager,swift,xcode,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=swiftpackagemanager,swift,xcode,macos
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
@ElenaMLopez
ElenaMLopez / CustomNavigationLink.swift
Created August 8, 2022 14:50 — forked from Arutyun2312/CustomNavigationLink.swift
IOS 14 NavigationLink Pop Bug Fix, using custom NavigationLink.
@ElenaMLopez
ElenaMLopez / CustomNavigationLink.swift
Created August 8, 2022 14:50 — forked from Arutyun2312/CustomNavigationLink.swift
IOS 14 NavigationLink Pop Bug Fix, using custom NavigationLink.
@ElenaMLopez
ElenaMLopez / DOCKER.md
Last active September 21, 2019 08:45 — forked from mrcodedev/DOCKER.md
Docker: installation and use

DOCKER: INSTALACIÓN Y USO

Vamos a empezar viendo primero que diferencias hay entre las máquinas virtuales y los contenedores de Docker, para ver porque son mejores los contenedores.

Virtual Machines Vs Containers

Virtual Machines

Es un sistema operativo completo, funcionando de manera aislada sobre otro sistema operativo completo. La tecnología de VMs permite compartir el hardware de modo que lo puedan utilizar varios sistemas operativos al mismo tiempo.

@ElenaMLopez
ElenaMLopez / convert-function.scss
Created September 3, 2018 17:23 — forked from npostulart/convert-function.scss
Unit Converting Sass Function
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$baseSize: 16px;
$convertBase: $baseSize;
html {
font-size: percentage($baseSize / 16px);
@ElenaMLopez
ElenaMLopez / Firebase Database API Cheatsheet.md
Last active January 31, 2018 07:09 — forked from odigity/Firebase Database API Cheatsheet
Firebase Database API Cheatsheet.md
### FIREBASE API CHEATSHEET:

#### Introducción:
- No hay forma de almacenar un valor vacío de objeto/array o valor null.
- Tampoco exiten los arrays como tal, sino que se almacenan como un objeto cuyas claves son números (integer).
  (Si todas las claves son 'integers', firebase retornará un array).

#### Comprendiendo que es firebase
Básicamente es un arbol gigante de *hashes* con claves en forma de *string*.
# remove specific file from git cache
git rm --cached filename
# remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"