DocGist is a tool that renders AsciiDoc documents fetched from GitHub gists or other sources. The rendering is performed in the browser using the asciidoctor.js library. The original use case for this was http://gist.neo4j.org/ which has additional features to create examples for the Neo4j graph database.
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
Verifying that +jmbruel is my openname (Bitcoin username). https://onename.io/jmbruel |
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
:definitions: | |
:slidesurl: http://jmbhome.github.io/talks | |
//Layouts | |
:standHeight: 250 | |
:standScreen: 500 | |
:standWidth: 250 | |
// raccourcis sites | |
:aadl: http://www.aadl.info/[AADL]indexterm:[AADL] |
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
L’idée est de créer un système qui viendra rendre les services suivants : | |
- Affichage d’un indicateur de santé de la maison | |
- Affichage des indicateurs détaillés sur différents domaines (en instantané et avec des graphiques) / en le ramenant à des indicateurs intelligibles pour l’humain | |
- Affichage des prévisions pour la journée / pour la semaine | |
- Affichage de conseils / Alertes pour bénéficier au mieux des capacités passives de la maison | |
L'indicateur de santé doit être capable de combiner les informations provenant de la mesure de plusieurs grandeurs physiques : | |
- Température | |
- Humidité | |
- CO2 |
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
package cpoa2018; | |
// Initial code from https://www.usna.edu/Users/cs/wcbrown/courses/S15IC211/lec/l03/lec.html | |
import java.util.*; | |
public class Game | |
{ | |
public static boolean winner(int c1, int c2) | |
{ | |
int f1 = Card.cardToFace(c1), s1 = Card.cardToSuit(c1); | |
int f2 = Card.cardToFace(c2), s2 = Card.cardToSuit(c2); |
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
package cpoa2018; | |
// Initial code from https://www.usna.edu/Users/cs/wcbrown/courses/S15IC211/lec/l03/lec.html | |
public class Player | |
{ | |
int card; | |
double money; | |
} |
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
package cpoa2018; | |
// Initial code from https://www.usna.edu/Users/cs/wcbrown/courses/S15IC211/lec/l03/lec.html | |
import java.util.*; | |
public class Card | |
{ | |
public static int makeCard(int face, int suit) { return 20*suit + face; } | |
public static int cardToSuit(int card) { return card/20; } |
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
# -*- coding: utf-8 -*- | |
# usage: ruby checkModel.rb [file] | |
# ------------------- | |
# Author:: Jean-Michel Bruel (mailto:[email protected]) improved by JMI | |
# Copyright:: Copyright (c) 2014--2020 JMB | |
# License:: Distributes under the same terms as Ruby | |
# ------------------- | |
require "minitest/autorun" | |
MODEL_NAME = ARGV[0] ? ARGV[0] : "TP1.plantuml" |
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
# -*- coding: utf-8 -*- | |
# usage: ruby checkfix#.rb [file] | |
# ------------------- | |
# Author:: Jean-Michel Bruel (mailto:[email protected]) | |
# Copyright:: Copyright (c) 2020 JMB | |
# License:: Distributes under the same terms as Ruby | |
# ------------------- | |
README = ARGV[0] ? ARGV[0] : "../README.adoc" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>TP1</groupId> | |
<artifactId>TP1</artifactId> | |
<version>1.0.0-SNAPSHOT</version> |
OlderNewer