Skip to content

Instantly share code, notes, and snippets.

View daniellavoie's full-sized avatar

Daniel Lavoie daniellavoie

View GitHub Profile

Absolument! Voici un programme d'entraînement sur trois jours par semaine, réparti sur trois mois. Ce plan combine cardio, renforcement musculaire et HIIT pour t'aider à atteindre ton objectif de perte de poids.

Programme d'Entraînement sur Trois Jours

Jour 1 - Cardio Intense

  • Échauffement : 5-10 minutes de marche rapide ou de jogging.
  • Exercice principal : 30-45 minutes de course, vélo ou natation.
  • Récupération : 5-10 minutes de marche lente et d'étirements.
@daniellavoie
daniellavoie / docker-compose.yml
Last active October 5, 2020 19:29
blog-monitoring-pinot-docker-compose
...
pinot-controller:
image: apachepinot/pinot:0.6.0-SNAPSHOT-23797914c-20200927-jdk11
...
environment:
JAVA_OPTS: -javaagent:/opt/pinot/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.12.0.jar=8888:/opt/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
prometheus:
package dev.daniellavoie.bosh.client.webflux;
import java.nio.file.Path;
import java.time.Duration;
import java.util.List;
import javax.net.ssl.SSLException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@daniellavoie
daniellavoie / cf-push-workshop-resource.md
Last active December 11, 2018 15:02
CF Push Workshop Resources
---
# Defines the
platform: linux
image_resource:
type: docker-image
source:
repository: springcloudservices/spring-cloud-base
inputs:
version: "3"
services:
traefik:
image: traefik:1.4
depends_on:
- traefik_init
- consul
command:
- "--web"
- "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"
https://blog.jdriven.com/2016/12/angular2-spring-boot-getting-started/
-Dhttp.proxyHost=10.186.3.6 -Dhttp.proxyPort=8800 -Dhttps.proxyHost=10.186.3.6 -Dhttps.proxyPort=8800
@daniellavoie
daniellavoie / schema.sql
Created July 18, 2017 09:00
atelier-2-schema.sql
create table invoice (id integer not null auto_increment, date datetime, primary key (id));
create table invoice_detail (id integer not null auto_increment, quantity double precision not null, tax_rate double precision not null, unit_price double precision not null, invoice_id integer, product_ean13 varchar(255), primary key (id));
create table product (ean13 varchar(255) not null, description varchar(255), name varchar(255), price double precision not null, tax_rate double precision not null, primary key (ean13));
alter table invoice_detail add constraint FKit1rbx4thcr6gx6bm3gxub3y4 foreign key (invoice_id) references invoice (id);
alter table invoice_detail add constraint FKdfh10r7yvasbml9570xlc7s7t foreign key (product_ean13) references product (ean13);
POST _template/tweets
{
"template" : "tweets-*",
"mappings" : {
"tweets" : {
"properties" : {
"@timestamp": {
"type": "date"
}
}