diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6bb8a29 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file diff --git a/README.md b/README.md index be8e998..eec1ba9 100644 --- a/README.md +++ b/README.md @@ -36,21 +36,25 @@ __Enjoy!__ # FAQ +## License? + +[Do what you want with it](./LICENSE) license. + ## Will it run under _whatever-OS_? -Only Linux and Unix flavors. +Only GNU/Linux and Unix flavors. ## What OS are you using? -OSX 10.11.3 "El Capitan" +Ubuntu 17.10. ## What about your terminal emulator? -[iTerm2](https://iterm2.com/) +[Tilix](https://gnunn1.github.io/tilix-web/) ## And your color palette? -[Dracula](https://zenorocha.github.io/dracula-theme/iterm/) +Custom, based on Atom's "One Dark" theme. ## Contributors diff --git a/screenshot.png b/screenshot.png index c1d9c6b..4c05329 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/tree-EN.sh b/tree-EN.sh index b4b139c..54f1186 100755 --- a/tree-EN.sh +++ b/tree-EN.sh @@ -9,7 +9,7 @@ est=$((c-2)) color=0 tput setaf 2; tput bold -# Arbolito +# Tree for ((i=1; i<20; i+=2)) { tput cup $lin $col @@ -23,7 +23,7 @@ for ((i=1; i<20; i+=2)) tput sgr0; tput setaf 3 -# Tronco +# Trunk for ((i=1; i<=2; i++)) { tput cup $((lin++)) $c @@ -37,27 +37,26 @@ tput cup $((lin + 1)) $((c - 10)); echo And lots of CODE in $new_year let c++ k=1 -# Lucecitas y bolitas +# Lights and decorations while true; do for ((i=1; i<=35; i++)) { - # Apagar luces + # Turn off the lights [ $k -gt 1 ] && { tput setaf 2; tput bold - tput cup ${linea[$[k-1]$i]} ${columna[$[k-1]$i]}; echo \* - unset linea[$[k-1]$i]; unset columna[$[k-1]$i] # Limpiar el array + tput cup ${line[$[k-1]$i]} ${column[$[k-1]$i]}; echo \* + unset line[$[k-1]$i]; unset column[$[k-1]$i] # Array cleanup } li=$((RANDOM % 9 + 3)) - inicio=$((c-li+2)) - fin=$((c+li+2)) - co=$((RANDOM % (li-2) * 2 + 1 + inicio)) - tput setaf $color; tput bold # cambiar colorcitos + start=$((c-li+2)) + co=$((RANDOM % (li-2) * 2 + 1 + start)) + tput setaf $color; tput bold # Switch colors tput cup $li $co echo o - linea[$k$i]=$li - columna[$k$i]=$co + line[$k$i]=$li + column[$k$i]=$co color=$(((color+1)%8)) - # Texto flashero + # Flashing text sh=1 for l in C O D E do diff --git a/tree-ES.sh b/tree-ES.sh index 9fd36be..21f2fe0 100755 --- a/tree-ES.sh +++ b/tree-ES.sh @@ -9,7 +9,7 @@ est=$((c-2)) color=0 tput setaf 2; tput bold -# Arbolito +# Tree for ((i=1; i<20; i+=2)) { tput cup $lin $col @@ -23,42 +23,40 @@ for ((i=1; i<20; i+=2)) tput sgr0; tput setaf 3 -# Tronco +# Trunk for ((i=1; i<=2; i++)) { tput cup $((lin++)) $c echo 'mWm' } -ano_nuevo=$(date +'%Y') -let ano_nuevo++ +new_year=$(date +'%Y') +let new_year++ tput setaf 1; tput bold tput cup $lin $((c - 6)); echo FELICES FIESTAS - -tput cup $((lin + 1)) $((c - 9)); echo Y mucho CODIGO en $ano_nuevo +tput cup $((lin + 1)) $((c - 9)); echo Y mucho CODIGO en $new_year let c++ k=1 -# Lucecitas y bolitas +# Lights and decorations while true; do for ((i=1; i<=35; i++)) { - # Apagar luces + # Turn off the lights [ $k -gt 1 ] && { tput setaf 2; tput bold - tput cup ${linea[$[k-1]$i]} ${columna[$[k-1]$i]}; echo \* - unset linea[$[k-1]$i]; unset columna[$[k-1]$i] # Limpiar el array + tput cup ${line[$[k-1]$i]} ${column[$[k-1]$i]}; echo \* + unset line[$[k-1]$i]; unset column[$[k-1]$i] # Array cleanup } li=$((RANDOM % 9 + 3)) - inicio=$((c-li+2)) - fin=$((c+li+2)) - co=$((RANDOM % (li-2) * 2 + 1 + inicio)) - tput setaf $color; tput bold # cambiar colorcitos + start=$((c-li+2)) + co=$((RANDOM % (li-2) * 2 + 1 + start)) + tput setaf $color; tput bold # Switch colors tput cup $li $co echo o - linea[$k$i]=$li - columna[$k$i]=$co + line[$k$i]=$li + column[$k$i]=$co color=$(((color+1)%8)) - # Texto flashero + # Flashing text sh=1 for l in C O D I G O do