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
{ | |
this.props.control | |
? <th></th> | |
<th></th> | |
<th ></th> | |
: null | |
} |
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
import React, {Component} from 'react'; | |
import CarteRelais from './CarteRelais'; | |
import RelaisList from './RelaisList'; | |
import {view} from 'react-easy-state'; | |
import commandeStore from './commandeStore'; | |
class LivraisonRelais extends Component { | |
constructor(props) { |
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
let conf = { | |
"courriers": [{ // (array) une collection d'objets représentant l'envoi | |
"type": "colis", // (string) type d'envoi: "pli", "colis", "encombrant", "palette" | |
"hauteur": 10, // (int) la hauteur, ne pas renseigner si le courrier est un "pli" | |
"largeur": 11, // (int) | |
"longueur": 12, // (int) | |
"poids": 13, // (int) | |
"valeur": 14 // (number) en euros | |
}], | |
"code_contenu": 80100, // (int) id obtenu via emc.contentsByCategory(), par exemple |
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
Host: localhost:3005 | |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
Accept-Language: en-US,en;q=0.5 | |
Accept-Encoding: gzip, deflate | |
Access-Control-Request-Method: POST | |
Access-Control-Request-Headers: content-type | |
Origin: http://localhost:3000 | |
Connection: keep-alive |
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
[{"produit":{"name":"Giantik\n","nom":"Giant-K7-DIF6","src":"images/modeles/Giantik\n/Giant-K7-DIF6.jpg","prix":350,"frequence":"1475-2600","classement":"4","nbColors":3,"nbcellules":"294","largeur":"150","longueur":"150","prof":"10","packaging":3,"desccollection":"Un Pack de 6 diffuseurs de type 7 x 7 cellules a disposer selon un ordre préétabli !","descproduct":"Le pack 6 diffuseurs de 7 cellules avec une profondeur de 20cm est idéal pour un traitement esthetique passe-partout! ","details":false,"color":"blue"},"qte":2},{"produit":{"name":"Giantik\n","nom":"Giant-Headphone-DIF6","src":"images/modeles/Giantik\n/Giant-Headphone-DIF6.jpg","prix":350,"frequence":"1475-2600","classement":"4","nbColors":2,"nbcellules":"294","largeur":"150","longueur":"150","prof":"10","packaging":3,"desccollection":"Un Pack de 6 diffuseurs de type 7 x 7 cellules a disposer selon un ordre préétabli !","descproduct":"Le pack 6 diffuseurs de 7 cellules avec une profondeur de 20cm est idéal pour un traitement esthetique passe-partout |
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
[{"produit":{"name":"Giantik\n","nom":"Giant-K7-DIF6","src":"images/modeles/Giantik\n/Giant-K7-DIF6.jpg","prix":350,"frequence":"1475-2600","classement":"4","nbColors":3,"nbcellules":"294","largeur":"150","longueur":"150","prof":"10","packaging":3,"desccollection":"Un Pack de 6 diffuseurs de type 7 x 7 cellules a disposer selon un ordre préétabli !","descproduct":"Le pack 6 diffuseurs de 7 cellules avec une profondeur de 20cm est idéal pour un traitement esthetique passe-partout! ","details":false,"color":"blue"},"qte":1}] |
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
import React, {Component} from 'react'; | |
import slide from './store'; | |
import {view} from 'react-easy-state'; | |
class Cart extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
empty: true | |
}; |
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
class Shop extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
data: [] | |
}; | |
} | |
componentDidMount() { |
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
process.stdin.on('readable', function() { | |
var letter = process.stdin.read(); | |
if (letter === 'd') { | |
process.stdout.write('data: ' + letter); | |
} | |
}); |
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
sudo cat /var/log/postgresql/postgresql-9.6-main.log | |
2018-04-10 20:34:07.859 CEST [14513] LOG: masque IP « md5 » invalide : Nom ou service inconnu | |
2018-04-10 20:34:07.859 CEST [14513] CONTEXTE : ligne 102 du fichier de configuration « /etc/postgresql/9.6/main/pg_hba.conf » | |
2018-04-10 20:34:07.860 CEST [14513] FATAL: n'a pas pu charger pg_hba.conf | |
2018-04-10 20:34:07.862 CEST [14513] LOG: le système de base de données est arrêté | |
2018-04-10 20:53:08.809 CEST [15698] LOG: masque IP « md5 » invalide : Nom ou service inconnu | |
2018-04-10 20:53:08.809 CEST [15698] CONTEXTE : ligne 102 du fichier de configuration « /etc/postgresql/9.6/main/pg_hba.conf » |