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
<template> | |
<div class="container"> | |
<div> | |
<h2>Installation Guide</h2> | |
<p><strong>Note:</strong> This website is not fully available unless you install it as a PWA. Please follow the instructions below to install and get the best experience. 🚀</p> | |
<h3>iOS (Safari) 🍏</h3> | |
<h4>1. Installing the PWA:</h4> | |
<ol> |
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
const express = require('express'); | |
const app = express(); | |
app.use(express.json()); | |
app.use(express.urlencoded({extended: true})) | |
const bikes = [ | |
{id: 1, color: 'blue'}, | |
{id: 2, color: 'red'} | |
]; |
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>Challenge</title> | |
</head> | |
<body> | |
<form action="action.php" method="POST"> | |
<p> |
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 | |
$name = $_POST['nom']; | |
$subject = $_POST['sujet']; | |
$email = $_POST['email']; | |
$text = $_POST['text']; | |
$dest = "[email protected]"; | |
$data = array( | |
'dest' => $dest, |
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 | |
} |
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
<?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
<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
$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
<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 ) --> | |
NewerOlder