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 lang="en"> | |
| <head> | |
| <title>React is Awesome</title> | |
| </head> | |
| <body> | |
| <div id="app"></div> | |
| </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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| #!/usr/bin/env python | |
| import os, sys | |
| if __name__ == "__main__": | |
| os.environ.setdefault("DJANGO_SETTINGS_MODULE", "root.settings") | |
| # Add the lib/ directory to the system path | |
| sys.path.append("lib") | |
| from django.core.management import execute_from_command_line |
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
| import java.util.Objects; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println(countCouple("abc", "axc")); | |
| } | |
| public static int countCouple(String firstWord, String secondWord) { | |
| int count = 0; |
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
| import java.util.ArrayList; | |
| import java.util.List; | |
| /** | |
| * Created by Ilyes Hammadi on 04/05/2015. | |
| */ | |
| public class Adherant extends Personne { | |
| private int numeroAdherant; | |
| private List<ArticleMediatheque> articles = new ArrayList<ArticleMediatheque>(); |
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
| package com.company; | |
| import java.util.ArrayList; | |
| import java.util.Scanner; | |
| public class Main { | |
| private Scanner clavier = new Scanner(System.in); | |
| public static void main(String[] args) { |
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
| package com.company; | |
| import java.awt.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| Cercle c1 = new Cercle(new Point(1, 3), 1); |
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
| package com.company; | |
| import java.awt.*; | |
| import static java.lang.Math.*; | |
| /** | |
| * Created by Ilyes Hammadi on 22/04/2015. | |
| */ | |
| public class Cercle { | |
| Point centre; |
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
| package com.company; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println("bonne nuit "); | |
| } | |
| } |
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
| package com.company; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| Integer a = new Integer(5); | |
| Integer c = new Integer(3); | |