View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.wildcodeschool.quetes</groupId>
<artifactId>maveninstall</artifactId>
<version>1.0</version>
View gist:0a91c4701503d1e1df72f730ecaeb153
package fr.wildschool.secretsentence;
public class SecretSentence {
public static String writeSecretSentence(String s1, String s2){
String phrase = s1 + " s'incline devant " + s2;
return phrase;
}
public static void main(String[] args) {
String s1 = "le chat";
View Variables Java
public class LesVariables {
/*
La première variable doit contenir le nom de ce film d'Indiana Jones, en VO
La seconde variable te permettra d'indiquer si tu as vu ou non le film en question
La troisième sera l'année de sortie en salle.
La quatrième la note du film sur le site IMDB.
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
String nameMovie = "Indiana Jones and the Last Crusade";
View bonjour.sh
#!/bin/bash
if [ $1 ]
then
echo "Bonjour" $1
else
echo -n "Bonjour "; exec whoami
fi
View mon_historique.log
1 cd ~/Documents/
2 cd clmystery-master/
3 cd mystery/
4 cat people | grep Annabel
5 head -n 40 streets/Hart_Place | tail -n 1
6 cat interviews/*47246024
7 head -n 173 streets/Mattapan_Street | tail -n 1
8 cat interviews/*9437737
9 head -n 179 streets/Buckingham_Place | tail -n 1
10 cat interviews/*699607
View oieldesauron.html
<!DOCTYPE html>
<html lang="fr">
<head>
<title>L'oeil de Sauron</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<style>
View findtheprecious.css
html {
font-size: 62.5%;
margin: auto;
font-family: Helvetica;
}
body {
width: 1024px;
margin: 10px;
}
View findtheprecious.html
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta charset="utf-8">
<title>find The Precious</title>
<link href="./findtheprecious.css" rel="stylesheet" type="text/css">
</head>
<body>