From 92a5102bebe2afafeae6cd72361ff6c6b341e2a9 Mon Sep 17 00:00:00 2001 From: Madmaurice Date: Wed, 29 Jul 2015 01:47:48 +0200 Subject: [PATCH 1/7] =?UTF-8?q?gitignore=20f=C3=BCr=20tprint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tprint/.gitignore | 1 + tprint/tprint | Bin 8808 -> 0 bytes 2 files changed, 1 insertion(+) create mode 100644 tprint/.gitignore delete mode 100755 tprint/tprint diff --git a/tprint/.gitignore b/tprint/.gitignore new file mode 100644 index 0000000..33a97c9 --- /dev/null +++ b/tprint/.gitignore @@ -0,0 +1 @@ +tprint diff --git a/tprint/tprint b/tprint/tprint deleted file mode 100755 index fb9ae59cdb781e0ac6e32b2104a242c6d8458123..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8808 zcmcIpeQaCR6~DHd#7z@BDHK9m##3pxv?3-AZ5K*upOZL!L1~+oq`)A3aqZ{W;Mku1 zTvE1*Y$*tSfnXqwQZeQ2txZM3d}8aDNhFae4*P$M*$P0AJ;Rv}iJopawk z@p~_}#QxZ|-aGgF&d0s?+>dwf^^<|#Zl}Y+C^^|qhTKq%%pv2=SYb711=h~oOlIF; zYgjcPRq)7Mg4DQN|<= zpdHqAO30_`hB!`iOw{8P)koMNi*^NJR}gkYr_eDZqSQWY8$N4=zqL*oIOJs{tc$-( zl*a~p<{6?}444rmyZvB?_58Z2K`7oCj~(8&<<5AxB_2y;M_WeQ zx3z5B;>#p`ZM^=dhfUnQcYs?^JS5<->>J_1zC?N3{(ING{%Y-L@%L?S{B`P&J3s#M zu36Ogz(euJ{upyKaLfz%##^6VJ3J7i>HuO*w*tG;3UO|01-!WeerE-|vjYA|1stPL zu09FCC3x%!yRn@9%@y#z3OM>G=clIvz60<^b_?tC4ndB=d^OTKAczmya0cTbgx$W4 zMI!NRCd#zYn9d@}l$Kzrte#;RJsg8;062yz&6sd8#kr_p!f{?u znls@vXH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+T%f$gT%K870o330kPUg9vrQ_k6(6^5_F9gI< zW;|>Fd?m)YR_2!U9o!1I#1ZRjKj7u=MKrFzbX=tXFL&?qL*a++4KR+FehPR4Yg)W# zFi^%`<$jjV)1O!Hf4TzxmkRg?74W$VxEBJ2^|a3;yss?R-d4aRYK)2Q0=&`L#1z|n z>_r@IQfU2ICTt$&{$U*x{iO-~F^-!Yi|mttH^96|+58_TKVp8-UiO60$K$U#y(IMU zyp4(PQGve7aSmBtzXn{gAOKn?8ef?69*puEK@%+#)j_WJkqbb^*i!fzLuy1RE@hrd_d*WG=8pkM9x zck~9(9lwAKWwN}oOzr94qn0Amzo!%9(vOERahWO0<~vE;&KQ@K{3_Hc>sPyi<>nQ7G?P@L!9*CEuJ-JMR>Cc> zn$2hs=Tg)#&f;F!=1xn1qKLf;8$OZex4iuF*rtEq5%qu=ke%^hCIh1puZpc&c=c>W zR24dj1_$;Y4Pi^)@$n#Tpsn_0CeHr`;rS1iQuua@N>AK{sk z>}g;Ag0Po_W|g3%NAxkk@eE5m?cdMX?Ctdz?${HMK~=J+eg3qtSA-&!Z*Tu`Vc#M2 z=o~Hy13I@OTL+Kb{&~PKCRjgAbZ_yX0PH(lQ7uCm-WXrA{aCfkWn;pAhI6GC{jWk4 z_nT(>p&FSh4~dI}G Date: Fri, 31 Jul 2015 09:06:49 +0200 Subject: [PATCH 2/7] Test --- skull | 1 + 1 file changed, 1 insertion(+) diff --git a/skull b/skull index a7d769d..d839e70 100755 --- a/skull +++ b/skull @@ -1,5 +1,6 @@ #!/bin/bash + echo -e "\033[32m" cat < Date: Fri, 31 Jul 2015 23:40:15 +0200 Subject: [PATCH 3/7] Test --- skull | 1 + 1 file changed, 1 insertion(+) diff --git a/skull b/skull index a7d769d..d839e70 100755 --- a/skull +++ b/skull @@ -1,5 +1,6 @@ #!/bin/bash + echo -e "\033[32m" cat < Date: Tue, 8 Sep 2015 06:02:17 +0200 Subject: [PATCH 4/7] New color script --- colors.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 colors.sh diff --git a/colors.sh b/colors.sh new file mode 100755 index 0000000..b2d7464 --- /dev/null +++ b/colors.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +clear + +WIDTH=$(tput cols) +HEIGHT=$(tput lines) +NUMBARS=8 +BARWIDTH=$(expr $WIDTH / $NUMBARS) + +for (( y = 0; y < $HEIGHT; y++ )); do + for (( n = 0; n < $NUMBARS; n++ )); do + for (( x = 0; x < $BARWIDTH; x++ )); do + echo -en "\e[3"$n"m█" + done + done + echo +done From 316fa0375994846e2f92a1a204dc3a6cc78ae425 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 8 Sep 2015 06:02:33 +0200 Subject: [PATCH 5/7] Space invadurs yay --- spaceINVADERS.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 spaceINVADERS.sh diff --git a/spaceINVADERS.sh b/spaceINVADERS.sh new file mode 100755 index 0000000..8821110 --- /dev/null +++ b/spaceINVADERS.sh @@ -0,0 +1,39 @@ +#!/bin/bash +# +# ANSI color scheme script featuring Space Invaders +# +# Original: http://crunchbanglinux.org/forums/post/126921/#p126921 +# Modified by lolilolicon +# + +f=3 b=4 +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done +bld=$'\e[1m' +rst=$'\e[0m' + +cat << EOF + + $f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst + $f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst + $f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst + $f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst + + $bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst + $bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst + $bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst + $bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst + + + $f7▌$rst + + $f7▌$rst + + $f7 ▄█▄ $rst + $f7▄█████████▄$rst + $f7▀▀▀▀▀▀▀▀▀▀▀$rst + +EOF From 09342b21ef5b8d3d14a9c7e052c4e226c9510c29 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 2 Nov 2015 22:30:37 +0100 Subject: [PATCH 6/7] Added README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f04326 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +### Dieses Projekt hat eine README. From 16ce2b4be44f5ec47dc6d3495503d841fae996ef Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 10 Nov 2015 23:32:14 +0100 Subject: [PATCH 7/7] dos2unix --- pacman.sh | 106 +++++++++++++++++++++++++++--------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/pacman.sh b/pacman.sh index bcd3b4b..90bbf09 100755 --- a/pacman.sh +++ b/pacman.sh @@ -1,53 +1,53 @@ -#!/bin/sh -# Original Posted at http://crunchbang.org/forums/viewtopic.php?pid=126921%23p126921#p126921 -# [ESC] character in original post removed here. - -# ANSI Color -- use these variables to easily have different color -# and format output. Make sure to output the reset sequence after -# colors (f = foreground, b = background), and use the 'off' -# feature for anything you turn on. - -initializeANSI() -{ - esc="$(echo -en '\e')" - - blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m" - yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m" - cyanf="${esc}[36m"; whitef="${esc}[37m" - - blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m" - yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m" - cyanb="${esc}[46m"; whiteb="${esc}[47m" - - boldon="${esc}[1m"; boldoff="${esc}[22m" - italicson="${esc}[3m"; italicsoff="${esc}[23m" - ulon="${esc}[4m"; uloff="${esc}[24m" - invon="${esc}[7m"; invoff="${esc}[27m" - - reset="${esc}[0m" -} - -# note in this first use that switching colors doesn't require a reset -# first - the new color overrides the old one. - -#clear - -initializeANSI - -cat << EOF - - ${yellowf} ▄███████▄${reset} ${redf} ▄██████▄${reset} ${greenf} ▄██████▄${reset} ${bluef} ▄██████▄${reset} ${purplef} ▄██████▄${reset} ${cyanf} ▄██████▄${reset} - ${yellowf}▄█████████▀▀${reset} ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄${reset} ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄${reset} ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄${reset} ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄${reset} ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset} - ${yellowf}███████▀${reset} ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███${reset} ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███${reset} ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███${reset} ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███${reset} ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset} - ${yellowf}███████▄${reset} ${redf}████████████${reset} ${greenf}████████████${reset} ${bluef}████████████${reset} ${purplef}████████████${reset} ${cyanf}████████████${reset} - ${yellowf}▀█████████▄▄${reset} ${redf}██▀██▀▀██▀██${reset} ${greenf}██▀██▀▀██▀██${reset} ${bluef}██▀██▀▀██▀██${reset} ${purplef}██▀██▀▀██▀██${reset} ${cyanf}██▀██▀▀██▀██${reset} - ${yellowf} ▀███████▀${reset} ${redf}▀ ▀ ▀ ▀${reset} ${greenf}▀ ▀ ▀ ▀${reset} ${bluef}▀ ▀ ▀ ▀${reset} ${purplef}▀ ▀ ▀ ▀${reset} ${cyanf}▀ ▀ ▀ ▀${reset} - - ${boldon}${yellowf} ▄███████▄ ${redf} ▄██████▄ ${greenf} ▄██████▄ ${bluef} ▄██████▄ ${purplef} ▄██████▄ ${cyanf} ▄██████▄${reset} - ${boldon}${yellowf}▄█████████▀▀ ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄ ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄ ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄ ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄ ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset} - ${boldon}${yellowf}███████▀ ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███ ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███ ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███ ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███ ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset} - ${boldon}${yellowf}███████▄ ${redf}████████████ ${greenf}████████████ ${bluef}████████████ ${purplef}████████████ ${cyanf}████████████${reset} - ${boldon}${yellowf}▀█████████▄▄ ${redf}██▀██▀▀██▀██ ${greenf}██▀██▀▀██▀██ ${bluef}██▀██▀▀██▀██ ${purplef}██▀██▀▀██▀██ ${cyanf}██▀██▀▀██▀██${reset} - ${boldon}${yellowf} ▀███████▀ ${redf}▀ ▀ ▀ ▀ ${greenf}▀ ▀ ▀ ▀ ${bluef}▀ ▀ ▀ ▀ ${purplef}▀ ▀ ▀ ▀ ${cyanf}▀ ▀ ▀ ▀${reset} - -EOF \ No newline at end of file +#!/bin/sh +# Original Posted at http://crunchbang.org/forums/viewtopic.php?pid=126921%23p126921#p126921 +# [ESC] character in original post removed here. + +# ANSI Color -- use these variables to easily have different color +# and format output. Make sure to output the reset sequence after +# colors (f = foreground, b = background), and use the 'off' +# feature for anything you turn on. + +initializeANSI() +{ + esc="$(echo -en '\e')" + + blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m" + yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m" + cyanf="${esc}[36m"; whitef="${esc}[37m" + + blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m" + yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m" + cyanb="${esc}[46m"; whiteb="${esc}[47m" + + boldon="${esc}[1m"; boldoff="${esc}[22m" + italicson="${esc}[3m"; italicsoff="${esc}[23m" + ulon="${esc}[4m"; uloff="${esc}[24m" + invon="${esc}[7m"; invoff="${esc}[27m" + + reset="${esc}[0m" +} + +# note in this first use that switching colors doesn't require a reset +# first - the new color overrides the old one. + +#clear + +initializeANSI + +cat << EOF + + ${yellowf} ▄███████▄${reset} ${redf} ▄██████▄${reset} ${greenf} ▄██████▄${reset} ${bluef} ▄██████▄${reset} ${purplef} ▄██████▄${reset} ${cyanf} ▄██████▄${reset} + ${yellowf}▄█████████▀▀${reset} ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄${reset} ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄${reset} ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄${reset} ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄${reset} ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset} + ${yellowf}███████▀${reset} ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███${reset} ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███${reset} ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███${reset} ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███${reset} ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset} + ${yellowf}███████▄${reset} ${redf}████████████${reset} ${greenf}████████████${reset} ${bluef}████████████${reset} ${purplef}████████████${reset} ${cyanf}████████████${reset} + ${yellowf}▀█████████▄▄${reset} ${redf}██▀██▀▀██▀██${reset} ${greenf}██▀██▀▀██▀██${reset} ${bluef}██▀██▀▀██▀██${reset} ${purplef}██▀██▀▀██▀██${reset} ${cyanf}██▀██▀▀██▀██${reset} + ${yellowf} ▀███████▀${reset} ${redf}▀ ▀ ▀ ▀${reset} ${greenf}▀ ▀ ▀ ▀${reset} ${bluef}▀ ▀ ▀ ▀${reset} ${purplef}▀ ▀ ▀ ▀${reset} ${cyanf}▀ ▀ ▀ ▀${reset} + + ${boldon}${yellowf} ▄███████▄ ${redf} ▄██████▄ ${greenf} ▄██████▄ ${bluef} ▄██████▄ ${purplef} ▄██████▄ ${cyanf} ▄██████▄${reset} + ${boldon}${yellowf}▄█████████▀▀ ${redf}▄${whitef}█▀█${redf}██${whitef}█▀█${redf}██▄ ${greenf}▄${whitef}█▀█${greenf}██${whitef}█▀█${greenf}██▄ ${bluef}▄${whitef}█▀█${bluef}██${whitef}█▀█${bluef}██▄ ${purplef}▄${whitef}█▀█${purplef}██${whitef}█▀█${purplef}██▄ ${cyanf}▄${whitef}█▀█${cyanf}██${whitef}█▀█${cyanf}██▄${reset} + ${boldon}${yellowf}███████▀ ${redf}█${whitef}▄▄█${redf}██${whitef}▄▄█${redf}███ ${greenf}█${whitef}▄▄█${greenf}██${whitef}▄▄█${greenf}███ ${bluef}█${whitef}▄▄█${bluef}██${whitef}▄▄█${bluef}███ ${purplef}█${whitef}▄▄█${purplef}██${whitef}▄▄█${purplef}███ ${cyanf}█${whitef}▄▄█${cyanf}██${whitef}▄▄█${cyanf}███${reset} + ${boldon}${yellowf}███████▄ ${redf}████████████ ${greenf}████████████ ${bluef}████████████ ${purplef}████████████ ${cyanf}████████████${reset} + ${boldon}${yellowf}▀█████████▄▄ ${redf}██▀██▀▀██▀██ ${greenf}██▀██▀▀██▀██ ${bluef}██▀██▀▀██▀██ ${purplef}██▀██▀▀██▀██ ${cyanf}██▀██▀▀██▀██${reset} + ${boldon}${yellowf} ▀███████▀ ${redf}▀ ▀ ▀ ▀ ${greenf}▀ ▀ ▀ ▀ ${bluef}▀ ▀ ▀ ▀ ${purplef}▀ ▀ ▀ ▀ ${cyanf}▀ ▀ ▀ ▀${reset} + +EOF