Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producción
4510c8cf2fe423f8be5afccbdd30c678677e172b
| name: Deploy to Azure Container Apps | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| env: | |
| AZURE_CONTAINER_REGISTRY: <NAME> | |
| CONTAINER_APP_NAME: <NAME> |
Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producción
4510c8cf2fe423f8be5afccbdd30c678677e172b
| export const timeSince = ( date: string ) => { | |
| const baseDate = new Date(date) | |
| const seconds = Math.floor(( new Date().getTime() - baseDate.getTime() ) / 1000); | |
| let interval = seconds / 31536000; | |
| if (interval > 1) { |
| <template> | |
| <svg | |
| class="pinia-container" | |
| width="150" | |
| height="150" | |
| viewBox="0 0 408 520" | |
| fill="none" | |
| xmlns="http://www.w3.org/2000/svg" | |
| > | |
| <g class="leaves"> |
| const isValidEmail = ( email: string ) => { | |
| const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | |
| return re.test(email); | |
| } |
| (function (document) { | |
| var checkCount = 0, | |
| formatFound = false; | |
| function setHTMLClass(height, className) { | |
| checkCount++; | |
| if (height == 2) { | |
| formatFound = true; | |
| document.documentElement.className += " " + className; | |
| } else { |
| "imagenes": { | |
| "prefix": "pic", | |
| "body": [ | |
| "<picture>", | |
| "<source", | |
| "\t sizes=\"1920w, 1280w, 640w\" ", | |
| "\t srcset=\"img/imagen.avif 1920w, \n\t\t\t img/imagen-1280.avif 1280w, \n\t\t\t img/imagen-640.avif 640w\" ", | |
| "\t type=\"image/avif\">", | |
| "<source", | |
| "\t sizes=\"1920w, 1280w, 640w\" ", |
| .modal-background { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| display: flex; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| align-items: center; |
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com