Skip to content

Instantly share code, notes, and snippets.

Mapwize / Spirals collaboration

Retrieve all Euratechnologies's POIs

curl -X GET \
  'https://api.mapwize.io/v1/places?api_key=${API_KEY}&venueId=56b20714c3fa800b00d8f0b5&isPublished=true'

Search for a direction in Euratechnologies

@mcolmant
mcolmant / vivatech-cmx-addr
Created June 13, 2017 09:35
Vivatech cmx addresses used by Mapwize
[
{
name: ‘Mederic Morel’,
avatar: ‘mederic’,
ipAddress: ‘10.10.20.220’
},
{
name: ‘Mathieu Gerard’,
avatar: ‘mathieu’,
ipAddress: ‘10.10.20.221’
@mcolmant
mcolmant / LineChartSample.java
Created March 31, 2017 13:16
Draw multiple lines (random data) with JavaFX
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.animation.AnimationTimer;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.chart.LineChart;
@mcolmant
mcolmant / pom.xml
Created September 20, 2016 06:44
L3S5 COO - TP (pom.xml)
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
<!-- To edit (when generating a new project) -->
<groupId>fil.coo</groupId>
<artifactId>COO-TP1</artifactId>
<version>1.0-SNAPSHOT</version>
<name>COO-TP1</name>
@mcolmant
mcolmant / example-futures.scala
Last active February 17, 2018 19:37
Example to convert a list of futures to a future of list (by processing the exception).
import akka.actor._
import scala.concurrent.duration._
import scala.concurrent._
import akka.pattern.ask
import scala.concurrent.ExecutionContext.Implicits.global
import akka.util._
import scala.util._
class TestActor extends Actor {