diff --git a/config.toml b/config.toml index 3b2cee9..1e3c282 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,7 @@ pygmentsUseClasses = false theme = "mainroad" rssLimit = 10 paginate = 10 -enableRobotsTXT = true + [taxonomies] category = "categories" tag = "tags" diff --git a/content/installations/1-LDAP/index.md b/content/installations/1-LDAP/index.md index 6385f30..53961c6 100644 --- a/content/installations/1-LDAP/index.md +++ b/content/installations/1-LDAP/index.md @@ -2,7 +2,7 @@ title: Les annuaires LDAP date: 2018-09-06 tags: ["annuaire", "LDAP", "LDIG"] -categories: ["Installation", "Cours"] +categories: ["Installations", "Cours"] --- **LDAP** pour *Lightweight Directory Access Protocol* est à l'origine un diff --git a/content/installations/TDM_1-OpenLDAP/index.md b/content/installations/TDM_1-OpenLDAP/index.md index 050ffe0..f777d1a 100644 --- a/content/installations/TDM_1-OpenLDAP/index.md +++ b/content/installations/TDM_1-OpenLDAP/index.md @@ -2,7 +2,7 @@ title: TDM1 OpenLDAP - notes d'installation date: 2018-09-13 lastmod: 2018-08-27 -categorie: ["Installations", "TD machines"] +category: Installations tags: ['OpenLDAP', 'Apache Directory Studio', 'PAM'] --- diff --git a/content/installations/TDM_2-Postfix/index.md b/content/installations/TDM_2-Postfix/index.md index a553af9..4fbf109 100644 --- a/content/installations/TDM_2-Postfix/index.md +++ b/content/installations/TDM_2-Postfix/index.md @@ -1,7 +1,7 @@ --- title: "Installation : Postfix + LDAP" -categories: ["Installation", "TD machine"] -tags: ["Postfix", "LDAP", "maildir"] +categories: ["Installation", "tdm"] +tags: ["Postfix", "LDAP", "maildir] date: 2018-09-13 modify: 2018-10-18 --- @@ -62,7 +62,7 @@ permettra à LDAP d'aller chercher les utilisateurs dans l'annuaire LDAP. C'est en quelque sorte la requête pour aller checrher les informations dans l'annuaire. -```conf +```cf server_host = ldap://ldapsrv.u-bordeaux.fr search_base = dmdName=users,dc=u-bordeaux,dc=fr bind = yes diff --git a/content/progsys/TDM_1-appels_systemes/index.md b/content/progsys/TDM_1-appels_systemes/index.md index c6883cc..f4458fd 100644 --- a/content/progsys/TDM_1-appels_systemes/index.md +++ b/content/progsys/TDM_1-appels_systemes/index.md @@ -1,10 +1,9 @@ --- -title: "TDM : Les appels système" +title: Programmation systeme TDM 1 date: 2018-09-05 -categories: ['Programmation système', 'TD machine'] +categorie: ['Programmation système', 'TDM'] tags : ['appels', 'systèmes', 'Python', 'C'] --- - #Différence entre les strace C et Python Le strace python est plus volumineux, ce aui semble normal puisque le code est diff --git a/content/progsys/TDM_2-fichiers/index.md b/content/progsys/TDM_2-fichiers/index.md index 130f024..fc5b69a 100644 --- a/content/progsys/TDM_2-fichiers/index.md +++ b/content/progsys/TDM_2-fichiers/index.md @@ -1,7 +1,7 @@ --- title: "TDM : Les fichiers" date: 2018-09-11 -categories : ['Programmation système', 'TD machine'] +categories : ['Programmation système', 'TDM'] --- Pas encore de contenu diff --git a/content/progsys/TDM_3-processus/index.md b/content/progsys/TDM_3-processus/index.md index f211f55..4d25308 100644 --- a/content/progsys/TDM_3-processus/index.md +++ b/content/progsys/TDM_3-processus/index.md @@ -1,7 +1,7 @@ --- Title: "TDM : Les Processus" Date: 2018-09-18 -Categories: ["Programmation système", "TD machine"] +Category: Programmation système tags: ['TD Machine', 'programmation', 'C', 'processus'] --- diff --git a/content/progsys/TDM_5-threads/index.md b/content/progsys/TDM_5-threads/index.md index 5c815ee..06ecff6 100644 --- a/content/progsys/TDM_5-threads/index.md +++ b/content/progsys/TDM_5-threads/index.md @@ -1,6 +1,6 @@ --- title : "TDM : Les processus légers" -categories: ["Programmation système", "TD machine"] +category: Programmation système date: 2018-09-25 --- [télécharger les questions](./files/tdm5.pdf) diff --git a/content/progsys/TDM_6-tubes/index.md b/content/progsys/TDM_6-tubes/index.md index e938e50..4c9e8ab 100644 --- a/content/progsys/TDM_6-tubes/index.md +++ b/content/progsys/TDM_6-tubes/index.md @@ -1,11 +1,6 @@ --- title: "TDM6 : les tubes" -categories: ["Programmation système", "TD machine"] date: 2018-10-09 --- -[télécharger]( files/tdm6.pdf ) -## Question 1 - -[Voir]( src/q1.c ) mon code C diff --git a/content/progsys/TDM_7-attributs_fichiers/files/tdm7.pdf b/content/progsys/TDM_7-attributs_fichiers/files/tdm7.pdf deleted file mode 100644 index c35bb3c..0000000 Binary files a/content/progsys/TDM_7-attributs_fichiers/files/tdm7.pdf and /dev/null differ diff --git a/content/progsys/TDM_7-attributs_fichiers/index.md b/content/progsys/TDM_7-attributs_fichiers/index.md deleted file mode 100644 index 57512c5..0000000 --- a/content/progsys/TDM_7-attributs_fichiers/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "TDM7 : les attibuts de fichiers" -date: 2018-10-16 -categories: ["Programmation système", "TD machine"] ---- - -[Télécharger]( files/tdm7.pdf ) les questions. - -## Question 1 - -[Voir]( src/myls.c ) mon code C - -J'ai choisi d'utiliser l'operateur ternaire pour afficher les différents -éléments. S'il y a des cas ou il peut complexifier la lecture du code, je le -trouve très adapté à la situation. diff --git a/content/progsys/TDM_7-attributs_fichiers/src/myls.c b/content/progsys/TDM_7-attributs_fichiers/src/myls.c deleted file mode 100644 index eb31fcd..0000000 --- a/content/progsys/TDM_7-attributs_fichiers/src/myls.c +++ /dev/null @@ -1,41 +0,0 @@ -#include -#include -#include -#include - -int main (int argc, char **argv){ - int i; - struct stat statbuf; - for (i = 1; i < argc; i++) { - if (stat(argv[i], &statbuf) < 0) { - perror("Unable to get stats"); - continue; - } - printf("%s", S_ISDIR(statbuf.st_mode) ? "d" : (S_ISLNK(statbuf.st_mode) ? "l" : "_")); - printf("%s", (statbuf.st_mode & S_IRUSR) ? "r" : "-"); - printf("%s", (statbuf.st_mode & S_IWUSR) ? "w" : "-"); - printf("%s", (statbuf.st_mode & S_IXUSR) ? "x" : "-"); - - printf("%s", (statbuf.st_mode & S_IRGRP) ? "r" : "-"); - printf("%s", (statbuf.st_mode & S_IWGRP) ? "w" : "-"); - printf("%s", (statbuf.st_mode & S_IXGRP) ? "x" : "-"); - - printf("%s", (statbuf.st_mode & S_IROTH) ? "r" : "-"); - printf("%s", (statbuf.st_mode & S_IWOTH) ? "w" : "-"); - printf("%s", (statbuf.st_mode & S_IXOTH) ? "x" : "-"); - - printf("\t"); - - printf("%ld\t", statbuf.st_nlink); - - printf("%d ", statbuf.st_uid); - printf("%d ", statbuf.st_gid); - - printf("\t"); - printf("%ld", statbuf.st_size); - - printf("\t"); - printf("%s", argv[i]); - printf("\n"); - } -} diff --git a/layouts/robots.txt b/layouts/robots.txt deleted file mode 100644 index da6affc..0000000 --- a/layouts/robots.txt +++ /dev/null @@ -1,4 +0,0 @@ -User-agent: * - -{{range .Pages}} -Disallow: {{.RelPermalink}} {{end}}