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
#!/bin/bash | |
# Ruta de la biblioteca a construir | |
libraryPath="" | |
# Ruta del proyecto objetivo | |
projectTarget="" | |
# Ruta de despliegue | |
deploy="" |
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
#!/bin/bash | |
dirpath=/home/jaalorsa/Descargas | |
pattern="y2mate.com - " | |
echo "[INFO] INICIANDO SCRIPT" | |
echo "[INFO] OBTENIENDO NOMBRES DESDE PATH $dirpath" | |
# Obtener la lista de archivos utilizando el comando ls | |
files=$(ls $dirpath) |
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
/** | |
* Script para ejecutar comando en consola a través de nodeJS | |
* | |
* Para windows, el path se respeta como nativo de windows. Ejemplo: C:\foldTest | |
* | |
* La función spawn, en windows funciona spawn("cmd.exe",myCommand). | |
* Por ejemplo, spawn("cmd.exe","dir") | |
* | |
*/ |
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
const randomMinMax = (min = 0, max = 1) => Math.floor(Math.random() * (max - min + 1)) + min; |
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 { defineCustomElement, h, createApp, getCurrentInstance } from "vue"; | |
export const vueDefineCustomElement = (component, { plugins = [] } = {}) => | |
defineCustomElement({ | |
...component, | |
setup(props, { emit }) { | |
const app = createApp(component); | |
// install plugins | |
plugins.forEach(app.use); |
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
node_modules | |
npm-debug.log | |
Dockerfile | |
.dockerignore | |
.git | |
README.md | |
.gitignore |
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
&::before { | |
content: ''; | |
display: block; | |
position: absolute; | |
left: -40px; | |
top: 5px; | |
border-top: 20px solid transparent; | |
border-right: 20px solid $myBlog-silver; | |
border-left: 20px solid transparent; | |
border-bottom: 20px solid transparent; |
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
def zero(f=None): | |
return 0 if not f else f(0) | |
def one(f=None): | |
return 1 if not f else f(1) | |
def two(f=None): | |
return 2 if not f else f(2) |