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
DELETE FROM movie WHERE id='5' | |
DELETE FROM movie WHERE id>'10' | |
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
UPDATE movie SET name='Men In Black' WHERE id='5' | |
UPDATE movie SET name='Deadpool', poster='https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Deadpool_%282016_poster%29.png/220px-Deadpool_%282016_poster%29.png' WHERE id='8' | |
UPDATE movie SET comment='' WHERE id='10' | |
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
INSERT INTO movie VALUES ('26', 'Bohemian Raphsody','https://www.gravatar.com/avatar/e30e7f1494074ce297e1dae6b65d2061', 'au top!') | |
INSERT INTO movie (name, poster, comment) VALUES ('gremlins', 'https://www.gravatar.com/avatar/e30e7f1494074ce297e1dae6b65d2061', 'cool') | |
INSERT INTO movie (name, poster, comment) VALUES ('gremlins', 'https://www.gravatar.com/avatar/e30e7f1494074ce297e1dae6b65d2061', 'cool'), ('gremlins', 'https://www.gravatar.com/avatar/e30e7f1494074ce297e1dae6b65d2061', 'cool'), ('gremlins', 'https://www.gravatar.com/avatar/e30e7f1494074ce297e1dae6b65d2061', 'cool') | |
INSERT INTO movie (name) VALUES ('contact') |
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
SELECT * FROM `movie` WHERE 1; | |
SELECT name FROM `movie` WHERE 1; | |
SELECT id, poster FROM `movie` WHERE 1; | |
SELECT poster, comment as avis_spectateur FROM `movie` WHERE 1; | |
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
public class SecretSentence { | |
public static String writeSecretSentence(String motMagiqueUn, String motMagiqueDeux) { | |
return motMagiqueUn + " s'incline face à " + motMagiqueDeux; | |
} | |
public static void main(String[] args) { | |
String sentence = writeSecretSentence("fire", "water"); |
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
class LaDerniereCroisade { | |
public static void main(String[] args) { | |
String voNameMovie ="Indiana Jones and the Last Crusade"; | |
boolean seenThisMovieBefore = true; | |
int releaseDate = 1989; | |
float ratings = 8.3f; | |
System.out.println(voNameMovie); | |
System.out.println(seenThisMovieBefore); | |
System.out.println(releaseDate); |
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
class animaux { | |
nbPattes: number; | |
couleur: string; | |
constructor(lenbPattes, laCouleur) { | |
this.nbPattes = lenbPattes; | |
this.couleur = laCouleur; | |
} | |
photographier() { |
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
function hello(name:string):void { | |
console.log("Hello " + name); | |
} | |
var firstName: string = "bob"; | |
hello(firstName); | |
hello(firstName + " marley"); | |
function concat(a:string, b:string):string { | |
return a + b; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>OpenWeatherAPI</title> | |
<link rel="stylesheet" href=""> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>findThePrecious.com</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" | |
crossorigin="anonymous"> | |
<link rel=stylesheet href="style.css"> | |
</head> |
NewerOlder