Skip to content

Instantly share code, notes, and snippets.

View antoinefortin's full-sized avatar

Antoine Fortin antoinefortin

  • Montreal, Canada
View GitHub Profile
# Version de Docker compose
version: "2"
services:
web:
image: library/php:7.2-apache
volumes:
- ./:/var/www
ports:
- "82:80"
@antoinefortin
antoinefortin / recher-ai.txt
Created April 10, 2018 15:03
[Recherche en AI]
Tache
-Benchmarquer les APIS payants
-Gerer le francais et obtenir le generality insights
-Sentiment Analysis
-Watson API
-Google
https://cloud.google.com/products/?hl=fr
@antoinefortin
antoinefortin / ai-research.txt
Created April 12, 2018 21:52
[Ai-Research]
Dossier de recherche sur 'analyse de texte francophone.'
Analyses, utilisations, observations et présentation des outils d'intelligence artificielle pour l'analyse de données textuels.
Recherche et rédaction par Antoine Fortin
Sous la suppervision de Julien Bigeault
@antoinefortin
antoinefortin / reccursive-loop.php
Created April 16, 2018 19:56
[Reccursive Loop PHP]
<?php
function sum($arr, $n) {
static $staticSum = 0;
if ($n == 0) {
$theSum = $staticSum;
return $theSum;
}
$n--;
$staticSum += $arr[$n];
@antoinefortin
antoinefortin / each-array.js
Created April 17, 2018 20:48
[Looping Through each item of an array Javascript]
function loopArrayLabelAndValue(obj) {
for (var prop in obj) {
if (obj.hasOwnProperty(prop)) {
// or if (Object.prototype.hasOwnProperty.call(obj,prop)) for safety...
alert("prop: " + prop + " value: " + obj[prop])
}
}
}
@antoinefortin
antoinefortin / ai-rr.txt
Created April 18, 2018 21:44
[AI-RAW-Research]
Dossier de recherche sur 'analyse de texte francophone.'
Analyses, utilisations, observations et présentation des outils d'intelligence artificielle pour l'analyse de données textuels.
Recherche et rédaction par Antoine Fortin
Sous la suppervision de Julien Bigeault
@antoinefortin
antoinefortin / waip-infos.txt
Created April 24, 2018 20:53
[plugins-infos]
KJiu1u2jpsky
Plugin
Logger
GuzzleHttp;
Menu ->
IBM
@antoinefortin
antoinefortin / provencher-roy.txt
Last active May 1, 2018 14:26
[provencher-roy] project-notes #project #notes
Les plugins
-> Liste des plugins actifs et innactif
-> SI innactif des supprimés
->Wordfence et rouler analyse de scan
->Assurer que la db est clean
->faire les mises a jours de wordpress et p^lugins
-> Analyser voir si les plugins on peut les coder nous mêmes
->Historique des plugins, maj faites, sont faites ou, version acutelle, version most recent
->Wordfence
@antoinefortin
antoinefortin / taskYouness.js
Created May 1, 2018 01:40
[gulp-demo-younes]
gulp.task('demo-youness', function() {
// Ici sont les items from the task scope
let filesToConcat = [
'src/scripts/app.js',
'src/scripts/preloader.js',
'src/scripts/scroll-down.js',
'src/scripts/scroll-top.js',
@antoinefortin
antoinefortin / my-usefull-terminal-cmd.sh
Last active May 11, 2018 18:03
[my-usefull-terminal]
# Delete files
find . -name "*.bak" -type f -delete
# List files
find . -name "*.bak" -type f
# Scpr local to remote repo
scp -r ./uploads [email protected]:/var/www/provencherroy.stage.havasmtl.ca/public/wp-content/