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
document.getElementById("color-1").addEventListener("click", function() { | |
if (_previous_selected_obj) { | |
colorize("color-1", "mat1"); | |
modeleTable[_previous_selected_obj.origin_name.substring(6, 7)] = "N1"; | |
} else { | |
notify("[WARNING]"); | |
} | |
}, false); |
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
server { | |
listen 80; | |
server_name www.quadratik.fr; | |
location / { | |
proxy_set_header X-Forwarded-For $remote_addr; | |
proxy_set_header Host $http_host; | |
proxy_pass "http://127.0.0.1:3000"; | |
} |
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
Unhandled rejection error: erreur de syntaxe sur ou près de « . » | |
at Connection.parseE (/mnt/c/quadratik/node_modules/pg/lib/connection.js:545:11) | |
at Connection.parseMessage (/mnt/c/quadratik/node_modules/pg/lib/connection.js:370:19) | |
at TLSSocket.<anonymous> (/mnt/c/quadratik/node_modules/pg/lib/connection.js:113:22) | |
at emitOne (events.js:116:13) | |
at TLSSocket.emit (events.js:211:7) | |
at addChunk (_stream_readable.js:263:12) | |
at readableAddChunk (_stream_readable.js:250:11) | |
at TLSSocket.Readable.push (_stream_readable.js:208:10) | |
at TLSWrap.onread (net.js:607:20) |
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
<div class="collection"> | |
<ul class="flex_row"> | |
<li v-for="(item, index) in collections"> | |
<h5>{{index}} ---- {{item}}</h5> | |
</li> | |
</ul> | |
</div> | |
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 » |
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
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
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
[{"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
[{"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 |
OlderNewer