Un peu de retard sah
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
#include<stdio.h>
|
||||||
|
#include<stdlib.h>
|
||||||
|
int main (void){
|
||||||
|
|
||||||
|
File *fichier;
|
||||||
|
}
|
||||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,15 @@
|
|||||||
|
#include<stdio.h>
|
||||||
|
#include<stdlib.h>
|
||||||
|
|
||||||
|
int main(void){
|
||||||
|
int i;
|
||||||
|
char ligne[80];
|
||||||
|
FILE* fichier;
|
||||||
|
fichier= fopen("tkt","r");
|
||||||
|
while(fgets(ligne,80,fichier)){
|
||||||
|
fprintf(stdout,"%d-%s",i,ligne);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
fclose(fichier);
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
@@ -0,0 +1,98 @@
|
|||||||
|
T'as des armes tu t'en sers pas
|
||||||
|
Mon pote tu fait rouiller l'matos
|
||||||
|
Les vrais m'ont dis:
|
||||||
|
"Walaye billaye Brulux pour toi on l'fait gratos"
|
||||||
|
J'sais qu'tas kiffé mon style man
|
||||||
|
J'suis pas un fumeur de Pall Mall
|
||||||
|
Dans l'mois j'prends 2-3-4 balles
|
||||||
|
Et jbaise toujour ceux qui parlent mal
|
||||||
|
Fatigué, les yeux rouge plissées
|
||||||
|
J'fume du shit, j'suis trop défoncé
|
||||||
|
J'baise la prod et j'la fais sucer
|
||||||
|
Fuck la jeunesse fragilisée
|
||||||
|
Nombreux sont les putos
|
||||||
|
Qui font que d'jacter sur oim
|
||||||
|
Lux-Bru toujours numéro uno
|
||||||
|
Petit suceur écoute et avale
|
||||||
|
Ils ont reup de moi, s'invente des cavales
|
||||||
|
Putain quelle bande de pédales
|
||||||
|
Boivent a la tasse, XXX
|
||||||
|
Sniffent des rails de coke a la paille
|
||||||
|
Des rails de coke a la paille
|
||||||
|
Ouais, des rails de coke a la paille
|
||||||
|
Boivent a la tasse, XXX
|
||||||
|
Sniffent des rails de coke a la paille
|
||||||
|
T'abuse de ma gentillesse
|
||||||
|
J'abuse de ta sœur ou ta nièce
|
||||||
|
On pratique pas la thaïlandaise
|
||||||
|
On t'rafle ta grand-mère au M16
|
||||||
|
Trop dégoutté mais j'achète
|
||||||
|
On fait pas la guerre a la machette
|
||||||
|
Desert Eagle fi dar
|
||||||
|
J'vous laisse tous retracer vos tablette, oui
|
||||||
|
Retracer vos tablette, oui
|
||||||
|
Oui retracer vos tablette
|
||||||
|
Desert Eagle fi dar
|
||||||
|
J'vous laisse tous retracer vos tablette
|
||||||
|
Hein c'est qui qui veut m'tester moi?
|
||||||
|
J'suis très bien entouré
|
||||||
|
Six dans l'torse, deux dans l'genous
|
||||||
|
J'te passe sur BFM TV
|
||||||
|
J'ai l'jargon tah la cité
|
||||||
|
Pas d'tes vieux rappeurs toqués
|
||||||
|
J'm'enflamme, petit pont sur l'coté droit,
|
||||||
|
J'arrive j'ai le flow tah Benzema
|
||||||
|
Le flow tah Benzema ouai,
|
||||||
|
Le flow tah Benzema
|
||||||
|
J'm'enflamme, petit pont sur l'coté droit,
|
||||||
|
J'arrive j'ai le flow tah Benzema
|
||||||
|
J'men bats les couilles de Tatiana,
|
||||||
|
A l'appel j'ai des tiagas
|
||||||
|
J'suis pas un ma3rlouh de la tte-cha
|
||||||
|
J'ai un repertoir tahles diquessa
|
||||||
|
Instru French Montana,
|
||||||
|
Vas-y monte monte sur ma banana
|
||||||
|
Dsquared, Dior pas d'Gabbana,
|
||||||
|
XXX 24 carats
|
||||||
|
Cale cale il a l'brava
|
||||||
|
T'es stock-ma, bsathek khoya
|
||||||
|
Hagra nan sa paye pas,
|
||||||
|
Ragkmat en bas d'chez toi
|
||||||
|
Ils XXX, demande à Znigi Style
|
||||||
|
Là j'rentre en semi et
|
||||||
|
J'sors une série d'freestyles
|
||||||
|
High kick tah Badr Hari
|
||||||
|
En direct de Dubaï
|
||||||
|
La prod rien qu'j'la salis
|
||||||
|
T'as capter ou pas les bails?
|
||||||
|
Tu sais qu'si tu casses,
|
||||||
|
Bah mon pote faur qu'tu payes
|
||||||
|
A part au ladys d'Dallas
|
||||||
|
J'ai jamais payer pour casser
|
||||||
|
Si les 3aineur te 3ayn:
|
||||||
|
Bsarthek mon pote tu pèses
|
||||||
|
Remballe ton Porsche Cayenne, Lamborgini
|
||||||
|
J'suis avec Jeffrey
|
||||||
|
J'me bar en Tunisie,
|
||||||
|
Nique sa mère les Seychelles
|
||||||
|
Ouai arhi j'représente Paris
|
||||||
|
Encore mieux qu'la Tour Eiffel
|
||||||
|
Les yeux rouges Ferrari,
|
||||||
|
J'comate en regardant l'ciel
|
||||||
|
T'inquiète au prochain clip
|
||||||
|
J'ramène la raffleuse à Bel-bel
|
||||||
|
La raffleuse à Bel-bel
|
||||||
|
Ouai, la raffleuse à Bel-bel
|
||||||
|
J'vais t'faire remper à quattre pattes
|
||||||
|
Un peu comme une chienne à l'hotel
|
||||||
|
Comme une chienne à l'hotel, ouai
|
||||||
|
Comme une chienne à l'hotel
|
||||||
|
Moi, c'est Brulux On The Flux,
|
||||||
|
Ya que des freestyles à la chaine
|
||||||
|
Vas-y monte monte sur mon lampadaire
|
||||||
|
Monte monte sur mon lampadaire
|
||||||
|
Deux balles j'te laisse parterre
|
||||||
|
Quatre taffes j'te fume ta mère
|
||||||
|
La liasse j'la jette parterre,
|
||||||
|
Monte monte sur mon lampadaire
|
||||||
|
Ragkmat dans vos grands-mères
|
||||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,114 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct Element Element;
|
||||||
|
|
||||||
|
struct Element
|
||||||
|
{
|
||||||
|
int nombre;
|
||||||
|
Element *suivant;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct Liste Liste;
|
||||||
|
struct Liste
|
||||||
|
{
|
||||||
|
Element *premier;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
Liste *initialisation()
|
||||||
|
{
|
||||||
|
Liste *liste = malloc(sizeof(*liste));
|
||||||
|
Element *Element = malloc(sizeof(*Element));
|
||||||
|
|
||||||
|
if (liste == NULL || Element == NULL)
|
||||||
|
{
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
Element->nombre = 0;
|
||||||
|
Element->suivant = NULL;
|
||||||
|
liste->premier = Element;
|
||||||
|
return liste;
|
||||||
|
}
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
|
||||||
|
void insertion(Liste *liste, int nvNombre)
|
||||||
|
{
|
||||||
|
Element *nouveau = malloc(sizeof(*nouveau));
|
||||||
|
if (liste == NULL || nouveau == NULL)
|
||||||
|
{
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
nouveau->nombre = nvNombre;
|
||||||
|
nouveau->suivant = liste->premier;
|
||||||
|
liste->premier = nouveau;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
void afficherListe(Liste *liste)
|
||||||
|
{
|
||||||
|
int x;
|
||||||
|
if (liste == NULL)
|
||||||
|
{
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
Element *actuel = liste->premier;
|
||||||
|
for(x=0;x<10;x++)
|
||||||
|
{
|
||||||
|
printf(" | %d | ", actuel->nombre);
|
||||||
|
actuel = actuel->suivant;
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
|
}
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
void plusgrand(Liste *liste)
|
||||||
|
{
|
||||||
|
int max;
|
||||||
|
if (liste == NULL)
|
||||||
|
{
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
Element *actuel = liste->premier;
|
||||||
|
if(max = actuel->nombre)
|
||||||
|
{
|
||||||
|
max = actuel->suivant;
|
||||||
|
printf(" | %d | ", max);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv)
|
||||||
|
{
|
||||||
|
int MIN=111;
|
||||||
|
int MAX=999;
|
||||||
|
srand(time(NULL));
|
||||||
|
unsigned short a = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short b = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short c = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short d = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short e = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short f = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short g = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short h = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short i = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
unsigned short j = rand()%(MAX+1-MIN)+MIN;
|
||||||
|
Liste *maListe = initialisation();
|
||||||
|
insertion(maListe, a);
|
||||||
|
insertion(maListe, b);
|
||||||
|
insertion(maListe, c);
|
||||||
|
insertion(maListe, d);
|
||||||
|
insertion(maListe, e);
|
||||||
|
insertion(maListe, f);
|
||||||
|
insertion(maListe, g);
|
||||||
|
insertion(maListe, h);
|
||||||
|
insertion(maListe, i);
|
||||||
|
insertion(maListe, j);
|
||||||
|
afficherListe(maListe);
|
||||||
|
plusgrand(maListe);
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
typedef struct maillon_s {
|
||||||
|
struct maillon_s* next;
|
||||||
|
int value;
|
||||||
|
} maillon;
|
||||||
|
|
||||||
|
int Empty(maillon* first) {
|
||||||
|
if (first == NULL) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Push(int value, maillon* first) {
|
||||||
|
maillon* p = malloc(sizeof(maillon));
|
||||||
|
if (!Empty(first)) {
|
||||||
|
p->value = first->value;
|
||||||
|
p->next = first->next;
|
||||||
|
first->next = p;
|
||||||
|
first->value = value;
|
||||||
|
} else {
|
||||||
|
first->value = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int Pop(maillon* first) {
|
||||||
|
maillon* p;
|
||||||
|
int value;
|
||||||
|
if (Empty(first)) {
|
||||||
|
return 1000;
|
||||||
|
}
|
||||||
|
value = first->value;
|
||||||
|
if (first->next==NULL) {
|
||||||
|
first = NULL;
|
||||||
|
} else {
|
||||||
|
p = first->next;
|
||||||
|
first->value = p->value;
|
||||||
|
first->next = p->next;
|
||||||
|
free(p);
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void PrintList(maillon* first) {
|
||||||
|
maillon* p;
|
||||||
|
for (p=first ; p != NULL; p = p->next) {
|
||||||
|
printf("%d ", p->value);
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char const *argv[]) {
|
||||||
|
maillon* first = malloc(sizeof(maillon));
|
||||||
|
Push(45, first);
|
||||||
|
PrintList(first);
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}a pile, tandis que clear retire toutes les données de la pile et ne renvoie rien. Ces opérations peuvent être vues comme des combinaisons des opérations basiques, mais en leur donnant leur propre codage on peut en améliorer les performances.
|
||||||
|
|
||||||
|
Ajoutez au programme du premier exercice deux fonctions qui représentent ces opérations. Imaginez et réalisez de nouveaux ordres pour tester ces fonctions. a pile, tandis que clear retire toutes les données de la pile et ne renvoie rien. Ces opérations peuvent être vues comme des combinaisons des opérations basiques, mais en leur donnant leur propre codage on peut en améliorer les performances.
|
||||||
|
|
||||||
|
Ajoutez au programme du premier exercice deux fonctions qui représentent ces opérations. Imaginez et réalisez de nouveaux ordres pour tester ces fonctions. a pile, tandis que clear retire toutes les données de la pile et ne renvoie rien. Ces opérations peuvent être vues comme des combinaisons des opérations basiques, mais en leur donnant leur propre codage on peut en améliorer les performances.
|
||||||
|
|
||||||
|
Ajoutez au programme du premier exercice deux fonctions qui représentent ces opérations. Imaginez et réalisez de nouveaux ordres pour tester ces fonctions. a pile, tandis que clear retire toutes les données de la pile et ne renvoie rien. Ces opérations peuvent être vues comme des combinaisons des opérations basiques, mais en leur donnant leur propre codage on peut en améliorer les performances.
|
||||||
|
|
||||||
|
Ajoutez au programme du premier exercice deux fonctions qui représentent ces opérations. Imaginez et réalisez de nouveaux ordres pour tester ces fonctions. a pile, tandis que clear retire toutes les données de la pile et ne renvoie rien. Ces opérations peuvent être vues comme des combinaisons des opérations basiques, mais en leur donnant leur propre codage on peut en améliorer les performances.
|
||||||
|
|
||||||
|
Ajoutez au programme du premier exercice deux fonctions qui représentent ces opérations. Imaginez et réalisez de nouveaux ordres pour tester ces fonctions.
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
li:nth-child(2n){
|
||||||
|
list-style-type:none;
|
||||||
|
border-top:white;
|
||||||
|
border-bottom:white;
|
||||||
|
font-variant: small-caps;
|
||||||
|
background-color: lightgrey;
|
||||||
|
font-style: italic;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
li:nth-child(2n-1){
|
||||||
|
color : white;
|
||||||
|
border-top:white;
|
||||||
|
border-bottom:white;
|
||||||
|
font-variant: small-caps;
|
||||||
|
background-color: grey;
|
||||||
|
font-style: italic;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<link rel='stylesheet' href='Exercice1.css'
|
||||||
|
<h1>Mes films préférés de Clint Eastwood</h1>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
<li>Gran Torino (2008)</li>
|
||||||
|
<li>Impitoyable (1992)</li>
|
||||||
|
<li>Mystic River (2003)</li>
|
||||||
|
<li>Sur la route de Madison (1995)</li>
|
||||||
|
<li>Lettres d'Iwo Jima (2006)</li>
|
||||||
|
<li>L'Échange (2008)</li>
|
||||||
|
<li>Josey Wales hors-la-loi (1976)</li>
|
||||||
|
<li>Breezy (1973)</li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
header{
|
||||||
|
margin-right: 1480px;
|
||||||
|
padding: 200px;
|
||||||
|
border:solid red 10px;
|
||||||
|
border-radius: 20px;
|
||||||
|
background-color: yellow;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
}
|
||||||
|
section{
|
||||||
|
margin-right: 1580px;
|
||||||
|
margin-left: 80px;
|
||||||
|
margin-top: 400;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: red;
|
||||||
|
position: relative;
|
||||||
|
top : -150px;
|
||||||
|
}
|
||||||
|
aside {
|
||||||
|
margin-right: 1900px;
|
||||||
|
margin-left: 60px;
|
||||||
|
margin-top: 400;
|
||||||
|
padding: 40px;
|
||||||
|
border:solid red 10px;
|
||||||
|
border-radius: 90px;
|
||||||
|
background-color: red;
|
||||||
|
position: relative;
|
||||||
|
top : -400px;
|
||||||
|
|
||||||
|
}
|
||||||
|
footer{
|
||||||
|
margin-right: 1700px;
|
||||||
|
margin-left: 260px;
|
||||||
|
margin-top: 400;
|
||||||
|
padding: 40px;
|
||||||
|
border:solid red 10px;
|
||||||
|
border-radius: 90px;
|
||||||
|
background-color: red;
|
||||||
|
position: relative;
|
||||||
|
top : -500px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<link rel='stylesheet' href='Exercice2.css'>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Exercice 2</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header>
|
||||||
|
</header>
|
||||||
|
<section></section>
|
||||||
|
<aside></aside>
|
||||||
|
<footer></footer>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
li{
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
ul{
|
||||||
|
border: black 1px solid;
|
||||||
|
margin-right: 1500px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
a{
|
||||||
|
font-size: 0px;
|
||||||
|
}
|
||||||
|
a[href*="HTML"]{
|
||||||
|
display:inline-block;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
font-size: 0px;
|
||||||
|
background-image:url("html5-plain.svg");
|
||||||
|
}
|
||||||
|
a[href*="CSS"]{
|
||||||
|
display:inline-block;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
font-size: 0px;
|
||||||
|
background-image:url("css3-plain.svg");
|
||||||
|
}
|
||||||
|
a[href*="Javas"]{
|
||||||
|
display:inline-block;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
font-size: 0px;
|
||||||
|
background-image:url("javascript-plain.svg");
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<link rel='stylesheet' href='Exercice3.css'>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Exercice 3</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="https://developer.mozilla.org/docs/Web/HTML">HTML</a></li>
|
||||||
|
<li>
|
||||||
|
<a href="https://developer.mozilla.org/docs/Web/CSS">CSS</a></li>
|
||||||
|
<li>
|
||||||
|
<a href="https://developer.mozilla.org/docs/Web/Javascript">JS</a></li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
ul {
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
list-style-type: none;
|
||||||
|
list-style-position: inside;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 2em;
|
||||||
|
font-size : 2em;
|
||||||
|
}
|
||||||
|
li:last-child{
|
||||||
|
margin-right:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
article {
|
||||||
|
text-align: justify;
|
||||||
|
border : 1px solid grey;
|
||||||
|
padding : 1em;
|
||||||
|
}
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
ul{
|
||||||
|
font-size : 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<link rel='stylesheet' href='Exercice4.css'>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="initial-scale=1,witdh=device-width">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/">About</a></li>
|
||||||
|
<li><a href="/">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 1</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 2</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 3</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 3</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
ul {
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
list-style-type: none;
|
||||||
|
list-style-position: inside;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 2em;
|
||||||
|
font-size : 2em;
|
||||||
|
}
|
||||||
|
li:last-child{
|
||||||
|
margin-right:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
text-align: justify;
|
||||||
|
border : 1px solid grey;
|
||||||
|
padding : 1em;
|
||||||
|
}
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
ul{
|
||||||
|
font-size : 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<link rel='stylesheet' href='Exercice5.css'>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="initial-scale=1,witdh=device-width">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/">About</a></li>
|
||||||
|
<li><a href="/">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 1</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 2</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 3</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>Article title 3</h1>
|
||||||
|
</header>
|
||||||
|
<section>
|
||||||
|
<img src="https://picsum.photos/300/200" alt="">
|
||||||
|
<p>lorem ipsum</p>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="#1572B6" d="M8.76 1l10.055 112.883 45.118 12.58 45.244-12.626L119.24 1H8.76zm89.591 25.862l-3.347 37.605.01.203-.014.467v-.004l-2.378 26.294-.262 2.336L64 101.607v.001l-.022.019-28.311-7.888L33.75 72h13.883l.985 11.054 15.386 4.17-.004.008v-.002l15.443-4.229L81.075 65H48.792l-.277-3.043-.631-7.129L47.553 51h34.749l1.264-14H30.64l-.277-3.041-.63-7.131L29.401 23h69.281l-.331 3.862z"/></svg>
|
||||||
|
After Width: | Height: | Size: 465 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="#E44D26" d="M9.032 2l10.005 112.093 44.896 12.401 45.02-12.387L118.968 2H9.032zm89.126 26.539l-.627 7.172L97.255 39H44.59l1.257 14h50.156l-.336 3.471-3.233 36.119-.238 2.27L64 102.609v.002l-.034.018-28.177-7.423L33.876 74h13.815l.979 10.919L63.957 89H64v-.546l15.355-3.875L80.959 67H33.261l-3.383-38.117L29.549 25h68.939l-.33 3.539z"/></svg>
|
||||||
|
After Width: | Height: | Size: 415 B |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
|
#!/bin/bash
|
||||||
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
|
[[ $1 == "add" ]] || exit 0
|
||||||
|
[[ $2 ]] || exit 1
|
||||||
|
|
||||||
|
exec depmod -a "$2"
|
||||||
@@ -45,4 +45,11 @@ find . -amin +29
|
|||||||
II.3/
|
II.3/
|
||||||
find . -mindepth 6 -name "[[:upper:]]*" -type d -exec chmod 700 '{}' \;
|
find . -mindepth 6 -name "[[:upper:]]*" -type d -exec chmod 700 '{}' \;
|
||||||
II.4/
|
II.4/
|
||||||
find . -cmin +14
|
find . -cmin +14
|
||||||
|
|
||||||
|
Partie III
|
||||||
|
cp -R ../TREE ../TRee
|
||||||
|
III.1/
|
||||||
|
find / -name "*.h" -print -quit 2>/dev/null
|
||||||
|
III.2/
|
||||||
|
find ~ -newer ../TRee/lib/auth/transm.d -printf "%p -- %TD %TT\n" 2>/dev/null
|
||||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,10 @@
|
|||||||
|
#include<stdio.h>
|
||||||
|
#include<stdlib.h>
|
||||||
|
|
||||||
|
int main(int argc,char* argv[]){
|
||||||
|
while(1){
|
||||||
|
printf("%s",argv[1]);
|
||||||
|
fflush(stdout);
|
||||||
|
}
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Intro
|
||||||
|
|
||||||
|
ps -C bash
|
||||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,23 @@
|
|||||||
|
#include<stdio.h>
|
||||||
|
#include<stdlib.h>
|
||||||
|
#include<fcntl.h>
|
||||||
|
#define BUFSIZE 256
|
||||||
|
|
||||||
|
int main(int argc, char * argv[]){
|
||||||
|
int f,n;
|
||||||
|
char buf[BUFSIZE];
|
||||||
|
if(argc<2){
|
||||||
|
fprintf(stdin,"Usage: %s <file-to-read>\n",argv[0]);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
f=open(argv[1],O_RDONLY);
|
||||||
|
if(f==-1){
|
||||||
|
perror("Opening file failed !");
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
while((n=read(f,buf,BUFSIZE))!=0){// pas oublier les parentheses
|
||||||
|
write(1,buf,n);
|
||||||
|
close(f);
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
#include<stdio.h>
|
||||||
|
#include<stdlib.h>
|
||||||
|
#include<fcntl.h>
|
||||||
|
#define BUFSIZE 256
|
||||||
|
|
||||||
|
int main(int argc, char * argv[]){
|
||||||
|
int r,x,f,y,n;
|
||||||
|
char buf[BUFSIZE];
|
||||||
|
if(argc<2){
|
||||||
|
fprintf(stdin,"Usage: %s <file>\n",argv[0]);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
f=open(argv[1],O_WRONLY|O_CREAT|O_TRUNC,0600);
|
||||||
|
if(f==-1){
|
||||||
|
perror("Opening file failed !");
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
write(1,"Numb --> ",9);
|
||||||
|
while((n=read(0,buf,BUFSIZE))!=0){
|
||||||
|
r=write(f,buf,n);
|
||||||
|
if(r==-1){
|
||||||
|
perror("writing failed");
|
||||||
|
exit(3);
|
||||||
|
}
|
||||||
|
write(1,"Numb --> ",9);
|
||||||
|
}
|
||||||
|
close(f);
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
zebi
|
||||||
Reference in New Issue
Block a user