Skip to content

Instantly share code, notes, and snippets.

View JulienRAVIA's full-sized avatar
🎯
Focusing

Julien RAVIA JulienRAVIA

🎯
Focusing
View GitHub Profile
@JulienRAVIA
JulienRAVIA / gist:54f0c76a5a1eb4aa7bc6226de729666c
Created May 26, 2017 13:19 — forked from abennouna/gist:5524467
Tutoriel PHP : Programmer des backups automatiques d’une base de données MySQL et les envoyer via FTP - http://tellibus.com/blog/3
<?php
// Données de connexion à la base de données
$MYSQLhost = 'localhost';
$MYSQLdb = 'tlb_db';
$MYSQLuid = 'tlb_db_uid';
$MYSQLpwd = 'motdepasse';
// Données de connexion au serveur FTP
$ftpServer = 'ftp.votre-serveur.com';
$ftpUser = 'utilisateur@votre-serveur.com';
@JulienRAVIA
JulienRAVIA / php.js
Created May 25, 2017 09:23
Emmet filter for PHP
emmet.require('filters').add('php', function process(tree) {
_.each(tree.children, function(node) {
// define variable name
if (node.name() == 'data' && node.parent == ''){
node.start = '\\$this->request->data';
}else{
node.start = (node.parent == '' ? '\\$' : '') + node.name();
@JulienRAVIA
JulienRAVIA / README-Template.md
Created May 19, 2017 18:49 — forked from outout14/README-Template.md
Une template pour faire un joli README.md

Titre du projet

(juste en dessous des badges sympatiques à placer)

forthebadge forthebadge

Une petite description du projet

Pour commencer

Entrez ici les instructions pour bien débuter avec votre projet...