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 Decipherer { | |
public static String decrypt(String message){ | |
int lenghtString = message.length()/2; | |
String subString = (message.substring(5,5+ lenghtString)).replace("@#?", " "); | |
String reverse = new StringBuilder(subString).reverse().toString(); | |
return reverse; | |
} |
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 Movies { | |
public static void main(String...args) { | |
String[] movies = {"Indiana Jones and the Kingdom of the Crystal Skull", "Indiana Jones and the Last Crusade", "Indiana Jones and the Temple of Doom"}; | |
String[][] actors = { | |
{"Harrison Ford", "Cate Blanchett", "Karen Allen"}, | |
{"Harrison Ford", "Sean Connery", "Denholm Elliott"}, |
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 IndianaJones { | |
public static void main(String...args) { | |
String title = "Indiana Jones and the Last Crusade"; | |
boolean isView = true; | |
int date = 1989; | |
float note = (float) 8.2; |
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 CandyCount { | |
public static void main(String[] args) { | |
double money = 12.4; | |
double price = 1.2; | |
int candies = 0; | |
if (money > 0 && price > 0) { |
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 Senpai { | |
public static void main(String[] args) { | |
// afficher Notice me Senpai dans le terminal | |
System.out.println("Notice me Senpai"); | |
} | |
} |
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
mysql> SELECT * FROM school; | |
+----+----------------------------------------------+----------+----------------+ | |
| id | name | capacity | country | | |
+----+----------------------------------------------+----------+----------------+ | |
| 3 | Castelobruxo | 380 | Brazil | | |
| 4 | Durmstrang Institute | 570 | Sweden | | |
| 6 | Hogwarts School of Witchcraft and Wizardry | 450 | United Kingdom | | |
| 7 | Ilvermorny School of Witchcraft and Wizardry | 300 | USA | | |
| 8 | Koldovstoretz | 125 | Russia | | |
+----+----------------------------------------------+----------+----------------+ |
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
mysql> SELECT * FROM wizard WHERE birthday BETWEEN '1975-01-01' AND '1985-01-01'; | |
+----+-----------+----------+------------+-------------+---------------------------------------+-----------+ | |
| id | firstname | lastname | birthday | birth_place | biography | is_muggle | | |
+----+-----------+----------+------------+-------------+---------------------------------------+-----------+ | |
| 1 | harry | potter | 1980-07-31 | london | | 0 | | |
| 2 | hermione | granger | 1979-09-19 | | Friend of Harry Potter | 0 | | |
| 4 | ron | weasley | 1980-03-01 | | Best friend of Harry | 0 | | |
| 5 | ginny | weasley | 1981-08-11 | | Sister of Ron and girlfriend of Harry | 0 | | |
| 6 | fred | weasley | 1978-04-01 | | | 0 | | |
| 7 | george | weasley | 1978-04-01 | | |
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) { | |
console.log("Hello " + name); | |
} | |
var firstName:string = "bob"; | |
hello(firstName); | |
hello(firstName + " marley"); | |
function concat(a:string, b:string) { |
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
https://www.noelshack.com/2019-13-3-1553682202-img-2212.jpg | |
https://www.noelshack.com/2019-13-3-1553682202-img-2213.jpg | |
https://www.noelshack.com/2019-13-3-1553682202-img-2214.jpg |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<script> | |
var patate = prompt("Hey mon ami ! Tu aimes ça les patates ?"); | |
if (patate == 'oui'){ | |
var tas = '#'; |
NewerOlder