Base Scafold project for a docker-compose with traefik, only 2 services api and pwa, no additional files needed.
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
/** | |
* Making promises | |
*/ | |
let okPromise = Js.Promise.make((~resolve, ~reject as _) => [@bs] resolve("ok")); | |
/* Simpler promise creation for static values */ | |
Js.Promise.resolve("easy"); | |
Js.Promise.reject(Invalid_argument("too easy")); |
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 VideoPlayer = {}; | |
const pauseSVG = ` | |
<svg width="26" height="32" viewBox="0 0 24 24"> | |
<path fill="currentColor" | |
d="M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z" /> | |
</svg> | |
`; | |
const playSVG = ` | |
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="32" viewBox="0 0 24 24"> |
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 s1 = `` | |
const s2 = `` | |
function utf8_to_b64( str ) { | |
return btoa(unescape(encodeURIComponent( str ))); | |
} | |
function b64_to_utf8( str ) { | |
return decodeURIComponent(escape(atob( str ))); |
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
0 22 * * * /root/ecosystem/auto-backup backup auto |
Base Scafold project for a docker-compose with automated nginx, it has only 2 services api and pwa Folder Structure:
[proxy folder]
├── conf.d // Folder
├── my_proxy.conf // general nginx conf
├── nginx.tmpl // nginx template
└── vhost.d
└── awesome-domain.com // specific nginx config for that domain
Una vez el desarrollador quiera desplegar una nueva funcionalidad o testear en un entorno de desarrollo.
- Subira los cambios a una rama especial del repositorio.
- Un sistema de integracion continua (CI) estara escuchando esa rama (Jenkins por ejemplo).
- El CI lanzara los tests de integracion.
- Este hara la build de la imagen de Docker
- Se guardara en un container registry.
- Se desplegara la imagen en un Cluster de Kubernetes o tecnologia similar que acepte imagenes de docker.
I hereby claim:
- I am danibram on github.
- I am danibram (https://keybase.io/danibram) on keybase.
- I have a public key ASCC_wzM_E88-IMuDm7ccJZHJIppgDbuLJJw_OpUoqjF9wo
To claim this, I am signing this object:
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>Fodmapscsv</title> | |
</head> | |
<body> |
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
Name | Category | Consumption | Description | |
---|---|---|---|---|
Arándanos | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Aguacate | frutas | limited | 30g por toma | |
Frambuesas | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Fresas | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Fruta de la pasión | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Kiwi | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Lima | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Limón | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una | |
Mandarina | frutas | free | 1 ración por comida y dejar pasar 2,5-3h entre cada una |
NewerOlder