- 3 juin 2016
- Sponsor: Lionel Fillatre
Le point clé de cette étape initiale est de travailler deux définitions pour votre projet :
trait Foo { def bar: String } | |
object PouetApp extends Foo with App { | |
override val bar = "geek" | |
} | |
PouetApp.bar | |
object Pouet extends Foo { | |
override val bar = "geek" | |
} |
ocean: http://7-themes.com/7030964-beautiful-ocean-sunset-pictures.html | |
lake: http://www.nationalparkcentralreservations.com/hotel/crater-lake-lodge | |
beach: http://www.imgbase.info/images/safe-wallpapers/photography/beach/26960_beach_rock_formations_on_beach.jpg | |
grassland: http://windhorsetour.com/sites/windhorsetour.com/files/narat-grassland.jpg | |
mangrove: https://www.umoov.org/fr/blog/post/la-mangrove-de-maurice-un-ecosysteme-essentiel-et-pourtant-meconnu | |
tropical rain forest: https://fanart.tv/movie/17705/tropical-rainforest/ | |
tropical seasonal forest: https://upload.wikimedia.org/wikipedia/commons/e/ed/Subtropical_semi-evergreen_seasonal_forest_in_Northern_Thailand.JPG | |
temperate deciduous forest: https://www.thinglink.com/scene/505416377205522433 | |
temperate rain forest: http://www.pulsarmedia.eu/data/media/967/Temperate_Rainforest_Cordova_Alaska.jpg | |
temperate desert: http://education.seattlepi.com/autotrophs-temperate-deserts-6129.html |
// Structural type model for sources, sinks and processors | |
// Pipeline := Source ->- Processors* ->- Sink | |
/** | |
* A flushable behavior is needed to flush the end of the data handling in the pipeline | |
*/ | |
trait Flushable { | |
/** | |
* Method to flush the pipeline and end the data processing |
void setup() { | |
pinMode(9,INPUT); | |
pinMode(12,OUTPUT); | |
} | |
void loop() { state_off(); } | |
void state_on() { | |
digitalWrite(12, HIGH); |
azrael:~ mosser$ cd tmp/ | |
azrael:tmp mosser$ git clone https://[email protected]/stash/scm/isldb/private.git isldb | |
Cloning into 'isldb'... | |
remote: Counting objects: 5061, done. | |
remote: Compressing objects: 100% (2341/2341), done. | |
remote: Total 5061 (delta 1579), reused 344 (delta 88) | |
Receiving objects: 100% (5061/5061), 2.62 MiB | 1.74 MiB/s, done. | |
Resolving deltas: 100% (1579/1579), done. | |
Checking connectivity... done. | |
azrael:tmp mosser$ cd isldb |
# Started at: 2015-05-31 19:00:18 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository: OK | |
# Opening project islaa | |
# Checking out tag [week22]: OK | |
# Checking existence of Java sources [*.java]: OK | |
# Checking non-existence of Java classes [*.class]: OK |
# Started at: 2015-05-24 19:00:07 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository: OK | |
# Opening project islaa | |
# Checking out tag [week21]: OK | |
# Checking existence of Java sources [*.java]: OK | |
# Checking non-existence of Java classes [*.class]: OK |
# Started at: 2015-05-17 19:02:22 | |
#### | |
## Handling ELPS [islaa] | |
#### | |
# Cloning project from remote repository: OK | |
# Opening project islaa | |
# Checking out tag [week20]: OK | |
# Checking existence of Java sources [*.java]: OK | |
# Checking non-existence of Java classes [*.class]: OK |