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
/* | |
FUNCIONAMIENTO: | |
En el monitor serial: | |
1. Se elige uno de los motores mediante el ingreso de 'a' o 'b'. | |
2. Se ingresa el sentido (+ o -) para preparar al motor en el | |
sentido de giro, luego se ingresa la velocidad en un rango entre 0-9. |
A ultra simple login screen on a calm breezy day,
A Pen by Lewi Hussey on CodePen.
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
/** | |
* Simula asincronía en una función. Toma una función | |
* síncrona y la devuelve "asíncrona". | |
* | |
* @param {Number} [ms=1000] Milisegundos de espera. | |
*/ | |
const fakeAsync = (ms = 1000) => f => (...params) => { | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
try { |
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
#!/usr/bin/env bash | |
# Script to help cleaning containers and images. | |
# Stop and remove commands for containers; delete command for "<none>" images. | |
# Author: https://github.com/racsoraul | |
set -o errexit | |
bold=$(tput bold) | |
normal=$(tput sgr0) |
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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
result := multiply(Value{2}, add(Value{3}, Value{4})).Evaluate() | |
fmt.Println(result) | |
} |