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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Projet en développement DevilsCraft / Quentin Aslan</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <!-- BOOTSTRAP --> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="UTF-8"> | |
<meta name="author" content="Quentin Aslan"> | |
</head> | |
<body> |
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
# ------------------------- # | |
# Code d'un tchat en reseau # | |
# Since 30/08/2015 # | |
# Created by Quentin Aslan # | |
# ------------------------- # | |
import os | |
from ftplib import FTP | |
pseudo = input("Salut, ton pseudo s'il te plait : ") |
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
<?php | |
/** | |
* Petit timer en jquery, le php est la pour établir un petit compteur | |
* @author Quentin Aslan <[email protected]> | |
* @since 18/09/2015 | |
*/ | |
$compteur = fopen('timerTools/compteur.txt', 'r+'); | |
$nbVues = fgets($compteur); |
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
<p class="test"><a id="lien" href = "father arm/page2.html" title = "Seconde page">Go !</a></p> | |
<style type="text/css"> | |
.test{ | |
text-align: center; | |
} | |
a#lien{ | |
color: red; | |
} | |
</style> |
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
<form action="http://petitbonhomme.co/api/mail.php" method="POST"> <!-- OBLIGATOIRE --> | |
<input type="hidden" name="to" value="[email protected]" /> <!-- Adresse ou le mail va être envoyé --> | |
<input type="hidden" name="site" value="http://tonsite.com" /> <!-- Url de la page de contact de votre site --> | |
<input type="text" name="pseudo" /> <!-- Le pseudo du client (NE PAS OUBLIER LE NAME) --> | |
<input type="email" name="from" /> <!-- Adresse mail du client (NE PAS OUBLIER LE NAME ) --> | |
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
$messageEmail ='<html><head><title>Email de contact</title></head><body><h2 style="color:red;">Message de '.$pseudo.' qui a pour sujet : <em>'.$subject.'</em></h2><br /><br /><h2 style="color:blue;">Message :</h2><p><em>'.$message.'</em></p><br /></body></html>'; |
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
<script type="text/javascript"> | |
$(function(){ | |
while(true){ | |
//code a faire | |
} | |
}); | |
</script> |
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
<?php | |
/** | |
* Description de la page | |
* @author Neko | |
* @copyright Neko - tout droit réservé - 2015 | |
*/ | |
?> |
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
var me = getLeek(); | |
var leek = getNearestEnemy(); // Je recupère l'id de mon ennemie. | |
var leekName = toUpper(getName(leek)); | |
var farmerName = toUpper(getFarmerName(leek)); | |
var turn = getTurn(); | |
var cellLeek = getCell(leek); | |
var cellMe = getCell(); | |
var distance = getCellDistance(cellMe, cellLeek); | |
debug(distance); |
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
void setup() { // Fonction d'initialisation des variables | |
size(500, 500); // Définie la taille de l'image | |
background(255); // Couleur de fond (BLANC) | |
smooth(); // Affiner les bordures | |
print("Afficher sur la touche ENTRER pour afficher le dessin\n"); // Ecrire dans la console. | |
} | |
void draw() { // Fonction obligatoire | |
} |
OlderNewer