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
{ | |
"sessions": { | |
"keynote": { | |
"id": "keynote", | |
"title": "Keynote d'ouverture", | |
"tags": [ | |
"💡 Discovery" | |
], | |
"trackTitle": "00 - Jules Verne", | |
"startTime": "2024-10-17T09:00:00+02:00", |
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
{ | |
"sessions": { | |
"keynote": { | |
"id": "keynote", | |
"title": "Keynote", | |
"tags": [ | |
"💡 Discovery" | |
], | |
"trackTitle": "Jules Verne", | |
"startTime": "2023-10-19T09:00:00+02:00", |
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
{ | |
"sessions":{ | |
"100":{ | |
"title":"Opening Keynote", | |
"description":"Opening Keynote", | |
"tags":[ | |
"💡 Discovery" | |
], | |
"speakers":[ | |
"speakeropeningkeynote" |
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
{ | |
"sessions":{ | |
"0":{ | |
"title":"Et si les meilleurs Dockerfile étaient ceux que l'on n'écrit pas", | |
"description":"Une manière assez commune de construire une image aujourd'hui consiste à écrire un Dockerfile.\nL'écriture d'un bon Dockerfile n'est pas simple, il faut sélectionner une image de base, mettre en place un ensemble de bonnes pratiques autour de la sécurité, de la maintenabilité, de la performance etc.\nMais ce n'est pas tout, il va aussi falloir le maintenir dans le temps !\n\nLa CNCF propose une spécification, les Cloud Native Buildpacks, qui vise à transformer notre code source en une image pouvant tourner sur n'importe quel cloud.\nJe vous propose durant ce talk une rapide présentation des Cloud Native Buildpacks, suivi d'une mise en oeuvre pratique avec la création et la mise à jour d'une image... sans Dockerfile !\n", | |
"tags":[ | |
"☁️ Cloud & DevOps" | |
], | |
"speakers":[ | |
"lWCalu3iuOTT2OsRHMmHMCJ7BoR2" |
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
// Copy and paste the one you need | |
// Check current registration | |
navigator.serviceWorker.getRegistration() | |
.then(registration => console.log('Registration : ', registration)); | |
// Cancel current registation | |
navigator.serviceWorker.getRegistration() | |
.then(async (registration)=>{ | |
if (!registration){ |
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
(async ()=>{ | |
let libUrl = 'https://unpkg.com/@reactivex/[email protected]/dist/esm2015/index.js'; | |
// Change with your version | |
let opUrl = 'https://unpkg.com/@reactivex/[email protected]/dist/esm2015/operators/index.js'; | |
// Change with your version | |
const Rx = await import(libUrl); | |
const Op = await import(opUrl); |
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
export function prepareImage(img) { | |
return new Promise((resolve) => { | |
fetch(img.src) | |
.then((response) => response.blob()) | |
.then((blob) => { | |
var reader = new FileReader(); | |
reader.onload = function () { | |
img.src = this.result; | |
resolve(); | |
}; // <--- `this.result` contains a base64 data URI |
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
class UserMediaHelper { | |
/** | |
* @param canvas: the dom element corresponding to canvas | |
* @param video: the dom element corresponding to video | |
* @param videoArea: the dom element around the canvas (to fix the size of the output video) | |
**/ | |
constructor(canvas, video, videoArea) {} | |
/** |
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
class Detector { | |
/** | |
* Will create the write dectector object according to the type. | |
* @param type: the type of detector to use -> see constant TYPES to use the correct types | |
* @param options: each detector should work with specifics options that could override. Check the desire constant. Note that text detector don't need options | |
**/ | |
constructor(type, options) {} | |
/** |
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
[ | |
{ | |
boudingBox: // DOMRectReadOnly / The position and size of the face | |
{ | |
bottom: xxx.xxx // absolute bottom position in the image | |
height: xxx.xxx // absolute height in the image | |
left: xxx.xxx // absolute left position in the image | |
right: xxx.xxx // absolute right position in the image | |
top: xxx.xxx // absolute top position in the image | |
width: xxx.xxx // absolute width in the image |
NewerOlder