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
let numberOfWordsToGuess = 10; | |
let guessedWords = new Array(); | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
const guessWords = async () => { | |
const intentos = [1, 2, 3, 4, 5, 6]; | |
const word = 'reino'; |
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 words=["pauta","enero","dudar","logro","sushi","pañal","caida","cargo","tenaz","firme","fresa","teñir"]; | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
const writeWords = async (words) => { | |
let index = 0; | |
for (const word of words) { | |
console.log('write word '+(++index)+'/'+words.length+': '+word); | |
const letters = Array.from(word); |
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
find . -maxdepth 2 -name docker-compose.yml -exec grep -i '3306' {} \; |
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 | |
DIRS=`ls -d */` | |
for dir in ${DIRS[@]}; do | |
cd $dir | |
if [ -d .git ]; then | |
echo '==================' | |
echo '==================' | |
echo $dir |