Skip to content

Instantly share code, notes, and snippets.

\CA\FE\BA\BE\00\00\007\00
\00 \00@(\CC\CC\CC\CC\CC\CD?\F3333333 \00\00
\00\00\00\00\00<init>\00()V\00Code\00LineNumberTable\00main\00([Ljava/lang/String;)V\00
StackMapTable\00
SourceFile\00CandyCount.java \00
\00 \00 \00\00\00 \00\00\00
CandyCount\00java/lang/Object\00java/lang/System\00out\00Ljava/io/PrintStream;\00java/io/PrintStream\00println\00(I)V\00 \00\00 \00\00\00\00\00\00\00\00
\00 \00\00 \00\00\00\00\00\00\00\00*\B7\00\B1\00\00\00\00
\00\00\00\00\00\00\00\00 \00\00\00\00 \00\00\00|\00\00\00\00\005\00H\00J6'\97\9E\00)\97\9E\00')g\97\9B\00`6')gH\A7\FF\EE\B2\00\B6\00\B1\00\00\00\00
\00\00\00&\00 \00\00\00\00\00\00\00\00 \00\00\00 \00\00
class DerniereCroisade {
public static void main(String[] args) {
String MovieName = "Indiana Jones and the Last Crusade";
System.out.println(MovieName);
boolean vueFilm = false;
System.out.println(vueFilm);
class Movies {
public static void main(String[] args) {
String[] movies = {
"Indiana Jones et le temple maudit",
"Indiana Jones et la dernière croisade",
"Indiana Jones et le royaume du crâne de cristal",
};
class Decipherer {
public static void main(String[] args) {
String[] messages = {
"0@sn9sirppa@#?ia'jgtvryko1",
"q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj",
"aopi?sedohtém@#?sedhtmg+p9l!",
};
mysql> INSERT INTO school (name, country, capacity) VALUES ('Beauxbatons Academy of Magic', 'France', 550), ('Castelobruxo', 'Brazil', 380), ('Durmstrang Institute', 'Norway', 570), ('Hogwarts School of Witchcraft and Wizardry', 'United Kingdom', 450), ('Ilvermorny School of Witchcraft and Wizardry', 'USA', 300), ('Koldovstoretz', 'Russia', 125), ('Mahoutokoro School of Magic', 'Japan', 800), ('Uagadou School of Magic', 'Uganda', 350);
Query OK, 8 rows affected (0.00 sec)
Records: 8 Duplicates: 0 Warnings: 0
mysql> SELECT * FROM school; +----+----------------------------------------------+----------+----------------+
| id | name | capacity | country |
+----+----------------------------------------------+----------+----------------+
| 1 | Beauxbatons Academy of Magic | 550 | France |
| 2 | Castelobruxo | 380 | Brazil |
|
mysql> SELECT wizard.firstname, wizard.lastname FROM player INNER JOIN wizard ON wizard.id=player.wizard_id WHERE player.role= 'seeker' ORDER BY wizard.lastname ASC, wizard.firstname ASC;
+-----------+------------+
| firstname | lastname |
+-----------+------------+
| Cuthbert | Binns |
| Michael | Corner |
| Colin | Creevey |
| Gregory | Goyle |
| Godric | Gryffindor |
| Helga | Hufflepuff |
mysql> SELECT t.name, COUNT(*) AS nb_player
-> FROM player p
-> JOIN team t ON t.id=p.team_id
-> GROUP BY team_id ORDER BY nb_player DESC;
+------------+-----------+
| name | nb_player |
+------------+-----------+
| Gryffindor | 36 |
| Slytherin | 21 |
| Ravenclaw | 15 |
1A
2A
3A
4B
5B
6C
7B
8A
9B
https://google-gruyere.appspot.com/GRUYEREINSTANCEID/deletesnippet?index=0
GET https://http-practice.herokuapp.com/wilders
GET https://http-practice.herokuapp.com/wilders?page=2&language=PHP
POST https://http-practice.herokuapp.com/wilders
Content-Type: application/x-www-form-urlencoded
name=John%20Doe&language=C%23