Initial commit

- Doesn't work in this setup!
This commit is contained in:
Oliver Rümpelein 2014-12-27 19:59:42 +01:00
commit 32f44594fd
3 changed files with 92 additions and 0 deletions

17
assets/heart Normal file
View file

@ -0,0 +1,17 @@
_____ _____
,ad8PPPP88b, ,d88PPPP8ba,
d8P" "Y8b, ,d8P" "Y8b
dP' "8a8" `Yd
8( " )8
I8 8I
Yb, ,dP
"8a, ,a8"
"8a, ,a8"
"Yba adP"
`Y8a a8P'
`88, ,88'
"8b d8"
"8b d8"
`888'
"

43
assets/pizza Normal file
View file

@ -0,0 +1,43 @@
__..---'"""""""`---..__
_.-'' ____......____ ``-._
_.-' _.--'" _ `""-.._ `-._
_,' _.-' * _.-"_` ~ .-. , `-._ `._
,' .' ~ `.-' " : : ~ `-. `.
,' .' " " ____ ._. /. ' `. `.
,' .- .--. * || , ." `. " // " `. `.
,' .' : .' || """| |"' ~ _ // , * `. `.
/ .' ~ : ,'`, ~ |' " '-' * (C) ."". " `. \
/ ' ` `' * ~ . " * : . ~ . \
/ ' // * , ,-. ~ _ , .',' ' " `.' (0) . \
/ . // (c) : : (o) .'.' , ~ \\ * *. \
/ . , // , `.__, " ' .--. \\ ~ ===== " . \
/ ' " ____ , " * `. ` }) _ " ~ . . \
. ' " , ~ _ * ----' ~ , .'`, ; (O) . ,-. " .
' ' _ . (o) ~ * " (D) `" ` " * ___| |___ . .
j . (c) * `.`. " .- . ~ , * . '._ .' | |
| | " `.' " // .' : " ' ~ // `""" *| |
| | " . // ~ ' , ~ , ====" (c) // ~ . " | |
| | ~ ,' .-. ~ , _ `...' (@) ~ ` * (C) | |
| |* || __| |___ " (0) " __ ,""-. .--. " _ ' | |
| | , || '. ,' ~ __..--"' , ' .' " ' . ()) \\ ~ | |
| | ~ `""" __,..--'"' , '_,'`. * `--" . " \\ | |
' ` " __...--'' __ * `.' ~ " .--. , \\ ' |
`..`--''' __..---'' .' /___.. " . * `. ` . . '
__,..--''' _ " , / ---"" ~ . `.`. ~ .'`, ; " . .
__..---'' , " (O) , / . (Q) `.`. `" ` * . ,
,..--''' . * ~ || * ~ / " * , ~ ` ~ , (O) ' .
| | , (@) " " || .-. ' / _ ~ " || . * " ' .
' ' " ~ . .--. |j : : / /~ (O) || " . _ * /. " ' ,
. ` _____ `. ` .__,/ / .-. || ,--. (@) // . /
` `. ----- * .'`, ; " / / " : : ' .' // . ,'
`. . ~ `" ` * ~ / /, ~ .__, , : ,'` " .' /
. ` , (c) ' . / / * ~ ' `' * _.' ,'
`. . * . (C) / / " (o) \\ , * ~ _.-" ,'
. `. " // . / ,._ , \\ (O) * _.-" _.'
`. `. , // / , ``-.._ * ` " __.-"' _.-'
`._ `. . " / `._ "`--....--"" _,.-'
`. `-._ / `--..___ ___..--'
`-._ ` , `'"""""''
`-.'

32
src/pizza Normal file
View file

@ -0,0 +1,32 @@
#!/bin/bash
help() {
echo "pizza - sent small ASCII-Icons by Mail"
echo "--------------------------------------"
echo "Usage: -p | --pizza Sent a pizza"
echo " -l | --love Sent a heart"
echo " -h | --help Print this help-message"
}
if [ ! "$2" ]; then
mail -s "$(whoami) sent you a Pizza on srv.r.f3l.de!" $1 < /usr/local/share/pizza/pizza.txt
exit 0
else
case "$1" in
"-p" | "--pizza")
mail -s "$(whoami) sent you a Pizza on srv.r.f3l.de" $2 < /usr/local/share/pizza/pizza.txt
;;
"-l" | "--heart")
mail -s "$(whoami) sent you a Heart on srv.r.f3l.de" $2 < /usr/local/share/pizza/heart.txt
;;
"-h" | "--help")
help
;;
*)
echo "Unknown Argument!"
help
exit 100
;;
esac
fi
exit 0