This file contains hidden or 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
| curl \ | |
| --verbose \ | |
| --request OPTIONS \ | |
| http://localhost:3001/api/configuration/visitor \ | |
| --header 'Origin: http://localhost:9292' \ | |
| --header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \ | |
| --header 'Access-Control-Request-Method: GET' | |
| # http://nils-blum-oeste.net/cors-api-with-oauth2-authentication-using-rails-and-angularjs/#.UQJeLkp4ZyE |
This file contains hidden or 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
| from ortools.sat.python import cp_model | |
| def getNumeroCase(i, j, nbColonne): | |
| return "x" + str((i*nbColonne + j)) | |
| #retourne la colonne i sous forme de tableau | |
| def getColonne(tableau, j): | |
| colonne = [row[j] for row in tableau] |
This file contains hidden or 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 com.github.leosilvadev.verticle; | |
| import io.vertx.core.AbstractVerticle; | |
| import io.vertx.core.DeploymentOptions; | |
| import io.vertx.core.Vertx; | |
| import java.util.concurrent.atomic.AtomicLong; | |
| /** | |
| * Created by leonardo on 11/18/17. |