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
declare module '*.css' { | |
const content: { [className: string]: string }; | |
export default content; | |
} | |
declare module "*.jpg" { | |
const value: any; | |
export default value; | |
} |
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
.label { | |
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; | |
} | |
.normal { | |
font-size: 14px; | |
} | |
.h1 { | |
font-size: 30px; |
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
<div class="limiter"> | |
<div class="container-login100" style="background-image: url('../../../../assets/images/bg-01.jpg');"> | |
<div class="wrap-login100 p-l-55 p-r-55 p-t-65 p-b-54"> | |
<router-outlet /> | |
</div> | |
</div> | |
</div> |
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)
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}$/, | |
} |
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
# $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. |
OlderNewer