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
Show hidden characters
{ | |
"dictionary": "Packages/Language - French/fr-moderne.dic", | |
"extensions": | |
[ | |
"tex" | |
], | |
"spell_check": true, | |
"auto_complete": true | |
} |
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
{ | |
"name": "yourApp", | |
"require": { | |
"mv/laravel-google-authenticator": "dev-master" | |
}, | |
"autoload": { | |
"classmap": [ | |
"vendor/mv/laravel-google-authenticator", | |
"vendor/mv/laravel-google-authenticator/library" | |
] |
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
$ composer update |
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 | |
session_start(); | |
// Include vendor autoload | |
include 'vendor/autoload.php'; | |
// Your website name, or URL. It will be displayed in Google Authenticator | |
define("WEBSITE_URL", 'exampleWebsite'); | |
// The username of the user | |
$username = "username"; |
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 -S localhost:8080 |
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 | |
$nb_annees = 20; // NE MODIFIEZ QUE CE PARAMETRE PUIS CHARGEZ CETTE PAGE | |
// A partir de cet endroit, toute modification est à vos risques et périls ;D | |
$nb_date_palindrome = 0; | |
$nb_test_palindrome = 0; | |
$nb_tests_max = $nb_annees * 365; | |
function microtime_float() { | |
list($usec, $sec) = explode(" ", microtime()); |
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 | |
// Connexion à la base de données | |
require "kernel/config.php"; | |
$db = mysql_connect($host, $user, $pass) or die('Erreur de connexion '.mysql_error()); | |
mysql_select_db($user,$db) or die('Erreur de sélection '.mysql_error()); | |
// Requête SQL permettant la création de notre camembert | |
$query = mysql_query("SELECT nb_posts, username FROM users ORDER BY nb_posts DESC LIMIT 0,3"); |
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
<a href="" onclick="favorite(900,42); return false;" alt="Titre">mon lien</a> |
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
#!/bin/bash | |
sudo apt-get install gfortran libopenblas-dev liblapack-dev python-dev libfreetype6-dev libxft-dev libjpeg-dev libpng-dev | |
wget https://bootstrap.pypa.io/get-pip.py | |
python get-pyp.py | |
pip install numpy | |
pip install pillow | |
pip install scipy | |
pip install matplotlib | |
pip install scikit-learn | |
pip install stemming |
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 | |
/* | |
* Test des fonctions random | |
* Copyleft 2012 - Antoine AUGUSTI - INSA de Rouen | |
* www.antoine-augusti.fr - antoine@augusti.fr | |
* | |
*/ | |
header("Content-type: image/png"); | |
// Notre taille d'image finale | |
$sizex = 800; |
OlderNewer