This file contains 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
id | source | target | label | |
---|---|---|---|---|
1 | 2 | 1 | Ils partagent des idées internationales. |
This file contains 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 { Database } from 'sqlite3'; | |
import { SqliteTable, SqliteColumn } from '../types'; | |
const db = new Database('database.db', (err) => { | |
if (err) { | |
console.log("Getting error " + err); | |
} else { | |
console.log('database ok'); | |
} | |
}); |
This file contains 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
npm install -g js-yaml | |
npm install -g nodemon | |
nodemon --watch path/to/file.yml --exec 'js-yaml file.yml > file.json' |
This file contains 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
<?php | |
/** | |
* Obtenir un tableau à partir d'un fichier CSV | |
* @param string $path Chemin vers le fichier CSV à transformer | |
* @return array Tableau contenant pour chaque ligne du fichier CSV un tableau | |
*/ | |
function CSV_file_to_array($path) { | |
$return_tab = []; |
This file contains 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
body { | |
counter-reset: hFirst; | |
} | |
h1 { | |
counter-increment: hFirst; | |
counter-reset: hSecond; | |
} | |
h2 { |