A Pen by manufosela on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import path from "path"; | |
import { fileURLToPath } from "url"; | |
const __filename = fileURLToPath(import.meta.url); | |
const __dirname = path.dirname(__filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.parent { | |
--nested-radius: calc(var(--radius) - var(--padding)); | |
} | |
.nested { | |
border-radius: var(--nested-radius); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.snow:nth-child(1) { | |
opacity: 0.5368; | |
transform: translate(60.2222vw, -10px) scale (0.6037); animation: fall-1 16s -7s linear infinite; | |
} | |
@keyframes fall-1 { | |
66.503% { | |
transform: translate (58.5861vw, 66.503vh) scale (0.6037); | |
} | |
to { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Eliminar .env subido por error de github | |
# Lo primero: Añadir".env" en .gitignore | |
git rm -r --cached .env | |
git push | |
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD | |
git push --force. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { fileURLToPath } from 'url' | |
const _dirname = fileURLToPath(new URL('.', import.meta.url)) | |
// => '/Users/davideast/Documents/vite-is-awesome/dirname' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Firestore, collectionData, collection, QueryConstraint } from '@angular/fire/firestore'; | |
import { addDoc, CollectionReference, deleteDoc, doc, getDoc, query, setDoc, updateDoc } from '@firebase/firestore'; | |
import { enableIndexedDbPersistence } from 'firebase/firestore'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class FirestoreService { |
A Pen by manufosela on CodePen.
A Pen by manufosela on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios'; | |
export const instance = axios.create({ | |
baseURL: 'YOUR-WEBSITE-URL.COM' | |
}); |
NewerOlder