From d2da0a640f5b3f456834e28b8353ddd95013580e Mon Sep 17 00:00:00 2001 From: Timo Schmidt Date: Tue, 14 Mar 2023 23:58:32 +0100 Subject: [PATCH] All? --- ex00/z | 1 + ex01/testShell00.tar | Bin 0 -> 10240 bytes ex02/exo2.tar | Bin 0 -> 10240 bytes ex03/id_rsa_pub | 1 + ex04/midLS | 1 + ex05/git_commit.sh | 6 ++++++ ex06/git_ignore.sh | 7 +++++++ ex07/b | 11 +++++++++++ ex08/clean | 3 +++ ex09/ft_magic | 1 + 10 files changed, 31 insertions(+) create mode 100644 ex00/z create mode 100644 ex01/testShell00.tar create mode 100644 ex02/exo2.tar create mode 100644 ex03/id_rsa_pub create mode 100644 ex04/midLS create mode 100755 ex05/git_commit.sh create mode 100755 ex06/git_ignore.sh create mode 100644 ex07/b create mode 100755 ex08/clean create mode 100644 ex09/ft_magic diff --git a/ex00/z b/ex00/z new file mode 100644 index 0000000..e900b1c --- /dev/null +++ b/ex00/z @@ -0,0 +1 @@ +Z diff --git a/ex01/testShell00.tar b/ex01/testShell00.tar new file mode 100644 index 0000000000000000000000000000000000000000..a380a65934a47d938d838baedf2949d1aba5dc4a GIT binary patch literal 10240 zcmeIvI}XAy5JgefS%sJICbr2!SO9`xDUkw2V)l;13N1!E#HF<7-wLcMxhQ9)K%7)ch}pHO-{9A&zFuMsb)4QmPvgf@&O}KL zZ^z5mcwYMCKfbR`e|9e1R4%M5`s-Z(wiiMq=elm;cdox_(*rYdY?FZbKXvH;nb!PI zbN{!)0R6wmjxqhkIg#}kUDcoG`b$pe|IV`9!lU{3puF82=6`iA&-_1VoBJ2%|8(zv z%zw_R{DjB!*9G%tlbHX#@7a&f|M~nUV)uXUF`VrD{%42>=iO=g7yI9{*#GbK&k|y? s;=Bixo$K!`J;H+k2!H?xfB*=900@8p2!H?xfB*=900@8p2t1L%H>}H=Pyhe` literal 0 HcmV?d00001 diff --git a/ex03/id_rsa_pub b/ex03/id_rsa_pub new file mode 100644 index 0000000..51869ae --- /dev/null +++ b/ex03/id_rsa_pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIGc5/qkzVb7JiymOQD6QZDX4e27qtYk+d0lvm78/maK tischmid@student.42berlin.de -> vogsphere v2 diff --git a/ex04/midLS b/ex04/midLS new file mode 100644 index 0000000..fe98bed --- /dev/null +++ b/ex04/midLS @@ -0,0 +1 @@ +ls -tmp diff --git a/ex05/git_commit.sh b/ex05/git_commit.sh new file mode 100755 index 0000000..0a63ea7 --- /dev/null +++ b/ex05/git_commit.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# git log --format=%H + +# More robust +git rev-list --max-count=5 HEAD diff --git a/ex06/git_ignore.sh b/ex06/git_ignore.sh new file mode 100755 index 0000000..69b2b9a --- /dev/null +++ b/ex06/git_ignore.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +repo_root="$(git rev-parse --show-toplevel)" + +cd "${repo_root}" + +git ls-files --others --ignore --exclude-standard diff --git a/ex07/b b/ex07/b new file mode 100644 index 0000000..c2dab24 --- /dev/null +++ b/ex07/b @@ -0,0 +1,11 @@ +Episode V, A NEW H0PE It is a period of civil war +Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire. +During the battle, Rebel spies managed to steal secret plans to the Empire's ultimate weapon, the STAR DEATH, an armored space station with enough power to destroy an entire planet. + + +Pursued by the Empire's sinister agents, +Princess Mehdi races home aboard her starship, custodian of the stolen plans that can save her people and restore the dictatorship to the galaxie.. + + + + diff --git a/ex08/clean b/ex08/clean new file mode 100755 index 0000000..2f899e9 --- /dev/null +++ b/ex08/clean @@ -0,0 +1,3 @@ +#!/bin/sh + +find . -type f \( -name "*~" -o -name "#*#" \) -print -delete diff --git a/ex09/ft_magic b/ex09/ft_magic new file mode 100644 index 0000000..42b581f --- /dev/null +++ b/ex09/ft_magic @@ -0,0 +1 @@ +41 string 42 42 file