This file contains hidden or 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
const imageUrls: string[] = [ | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg", |
This file contains hidden or 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
"use client"; | |
import { Product } from "@/interfaces"; | |
interface Props { | |
product: Product; | |
} | |
const sizes = ["XS", "S", "M", "L", "XL", "XXL"]; |
This file contains hidden or 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
# $HOME/.config/alacritty/alacritty.toml | |
# by Rito Ghosh 2023-10-06 | |
# Alacritty now uses TOML formatting for its config files. | |
# This is a simple example. | |
# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd | |
# It is not obvious how it translates to TOML. But it is extremely straightforward. | |
# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively. |
Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producci贸n
4510c8cf2fe423f8be5afccbdd30c678677e172b
This file contains hidden or 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
export const regularExps = { | |
email: /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/, | |
} |
M谩s informaci贸n - Docs Oficiales
- Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
- Inicializar el archivo de configuraci贸n de TypeScript ( Se puede configurar al gusto)
NewerOlder