Merry Xmas & Happy New Year rel.2

Merry Xmas & Happy New Year

Last year I prepared a virtual tree for the dba, so now it’s time to replicate this year for the systems engineers with best wishes for a merry Xmas and happy new year.

bash

[ecairo@localhost ~]$ cat ./tree.sh
#!/bin/bash

RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NOCOLOR='\033[0m'
ROWS=11
COLUMNS=21

blanks() {
    for ((k=0; k<${1}; k++)) ; do
        printf " "
    done
}

printf "\n"; blanks $(((COLUMNS-1)/2)); printf "${YELLOW}X\v\b|\n"

for (( i=1; i <= ${ROWS}; i++ )); do
    BLANKS=$(( ( ( (COLUMNS-1) * (i-1) / (ROWS-1) + 1 ) / 2 ) * 2 + 1 ))
    blanks $(( (COLUMNS-BLANKS) / 2 ))

    for ((j=0; j<${BLANKS}; j++)) ; do
        printf "${GREEN}*"
    done

    printf "\n"
done

blanks $(( (COLUMNS-3)  / 2 )); printf "${RED}mMm\n"
blanks $(( (COLUMNS-3)  / 2 )); printf "${RED}mMm\n\n"
blanks $(( (COLUMNS-8)  / 2 )); printf "${YELLOW}Marry Xmas\n"
blanks $(( (COLUMNS-16) / 2 )); printf "${YELLOW}and Happy New $(( $(date +'%Y') + 1 ))\n\n${NOCOLOR}"
[ecairo@localhost ~]$

Here you are the result (of course it’s better with a dark background).

[ecairo@localhost ~]$ ./tree.sh

          X
          |
          *
         ***
        *****
       *******
      *********
     ***********
    *************
   ***************
  *****************
 *******************
*********************
         mMm
         mMm

      Marry Xmas
  and Happy New 2019

[ecairo@localhost ~]$
dicembre 20, 2018

Tag:
  • Pingback: Adult dating site
  • Pingback: deltasone function
  • Pingback: tab stromectol
  • Pingback: ivermectin tablet
  • Pingback: flccc ivermectin
  • Pingback: Anonimo
  • Pingback: flcc.net
  • Pingback: buy ivermectin nz
  • Pingback: ivermectin goodrx
  • Pingback: ivermectin 1
  • Pingback: Anonimo
  • Pingback: ivermectin tablets
  • Pingback: ivermectin
  • Pingback: order ivermectin
  • Pingback: ivermectin generic
  • Pingback: ivermectin cost
  • Pingback: cialis generic
  • Pingback: cialis generic
  • Pingback: levitra vs cialis
  • Pingback: ivermectin nahdi
  • Pingback: buy prednisone vet
  • Pingback: cialis tubs
  • Pingback: cialis kopen
  • Pingback: cialis goodrx
  • Pingback: how to get viagra
  • Pingback: cialis price
  • Pingback: black viagra pill
  • Pingback: buy cialis online
  • Pingback: cialis cost 20mg
  • Pingback: ivermectin 8 mg
  • Pingback: ivermectin syrup
  • Pingback: sildenafil actavis
  • Pingback: cialis dosis
  • Pingback: ivermectin bnf
  • Pingback: cialis generic
  • Pingback: tadalafil prix
  • Pingback: ivermectin fda
  • Pingback: lasix 20 mg tablet
  • Pingback: madridbet
  • Pingback: furosemide 45 mg
  • Pingback: ielexusbet
  • Pingback: meritroyalbet
  • Pingback: eurocasino
  • Pingback: mectin ivermectin
  • Pingback: ivermectin studies
  • Pingback: madridbet
  • Pingback: viagra and cialis
  • Pingback: online drug store
  • Pingback: cost of stromectol
  • Pingback: iver mectin
  • Pingback: canada rx
  • Pingback: WordPress Hosting
  • Pingback: ivermectin fda
  • Pingback: child porn
  • Pingback: buy cialis germany
  • Pingback: filmfilmfilmes
  • Pingback: gRh9UPV
  • Pingback: deiun.flazio.com
  • Pingback: pharmacy
  • Pingback: 9-05-2022
  • Pingback: kinoteatrzarya.ru
  • Pingback: TopGun2022
  • Pingback: Xvideos
  • Pingback: XVIDEOSCOM Videos
  • Pingback: ivanesva
  • Pingback: canada drug
  • Pingback: drugs for sale
  • Pingback: dkyubn.bizwebs.com
  • Pingback: pharmacy canada
  • Pingback: sudocrem
  • Pingback: Netflix
  • Pingback: FILM
  • Pingback: designchita.ru
  • Pingback: YA-krasneyu
  • Pingback: design-human.ru
  • Pingback: designmsu.ru
  • Pingback: vkl-design.ru
  • Pingback: irida-design.ru
  • Pingback: projectio
  • Pingback: psy online
  • Pingback: uels ukrain
  • Pingback: Buy This Domain
  • Pingback: pharmacy canada
  • Pingback: bahis siteleri
  • Pingback: DPTPtNqS
  • Pingback: qQ8KZZE6
  • Pingback: D6tuzANh
  • Pingback: SHKALA TONOV
  • Pingback: chelovek-iz-90-h
  • Pingback: pharmacy
  • Pingback: canada drug
  • Pingback: classic books
  • Pingback: 3Hk12Bl
  • Pingback: 3NOZC44
  • Pingback: 01211
  • Pingback: tor-lyubov-i-grom
  • Pingback: film-tor-2022
  • Pingback: hd-tor-2022
  • Pingback: hdorg2.ru
  • Pingback: atmosphere models
  • Pingback: promo models
  • Pingback: Psikholog
  • Pingback: netstate.ru
  • Pingback: 2nightingale
  • Pingback: mango juul pod
  • Pingback: raw gardens carts
  • Pingback: Japanese Whisky
  • Pingback: 2opposite
  • Pingback: Link
  • Pingback: Buy This Domain
  • Pingback: cdc ivermectin
  • Pingback: canada pharmacy
  • Pingback: online pharmacy
  • Pingback: canadian drugs
  • Pingback: สล็อตpg
  • Pingback: Hp Printer
  • Pingback: Infinix Phones
  • Pingback: psy
  • Pingback: bit.ly
  • Pingback: canadian cialis
  • Pingback: cleantalkorg2.ru
  • Pingback: russian books
  • Pingback: rabota
  • Pingback: modern art poster
  • Pingback: bucha killings
  • Pingback: War in Ukraine
  • Pingback: Ukraine
  • Pingback: vintage posters
  • Pingback: Bitcoin investment
  • Pingback: stromectol 12 mg
  • Pingback: site
  • Pingback: cialis.iwopop.com
  • Pingback: stats
  • Pingback: speed test type
  • Pingback: slayer sneakers
  • Pingback: slayer sneakers
  • Pingback: desatascos elda
  • Pingback: poceros elda
  • Pingback: desatascos elda
  • Pingback: machines for sale
  • Pingback: Ukraine-war
  • Pingback: movies
  • Pingback: gidonline
  • Pingback: joker123 apk
  • Pingback: lowe's tile
  • Pingback: fiona tile
  • Pingback: Cocaine for Sale
  • Pingback: Buy MDMA Online
  • Pingback: Where to get Dmt
  • Pingback: 4-Aco-Dmt
  • Pingback: web
  • Pingback: film.8filmov.ru
  • Pingback: spa machines
  • Pingback: sports news
  • Pingback: Viral videos
  • Pingback: breaking news
  • Pingback: India news
  • Pingback: Health news
  • Pingback: Act
  • Pingback: Entertainment
  • Pingback: video
  • Pingback: kaswes.proweb.cz
  • Pingback: kvqtig.zombeek.cz
  • Pingback: buy viagra now
  • Pingback: canadian drugs
  • Pingback: cialis from canada
  • Pingback: canadian cialis
  • Pingback: forex forum
  • Pingback: Forex articles
  • Pingback: Forex Education
  • Pingback: 3d model archive
  • Pingback: kawerc.proweb.cz
  • Pingback: pedrew.zombeek.cz
  • Pingback: fermser.flazio.com
  • Pingback: Trending news
  • Pingback: Policy
  • Pingback: mobiles
  • Pingback: Business news
  • Pingback: videos
  • Pingback: filmgoda.ru
  • Pingback: rodnoe-kino-ru
  • Pingback: alewrt.flazio.com
  • Pingback: stat.netstate.ru
  • Pingback: Best IPTV Service
  • Pingback: Best IPTV Service
  • Pingback: Best IPTV Service
  • Pingback: linked here
  • Pingback: owzpkg.zombeek.cz
  • Pingback: Click Here
  • Pingback: click for info
  • Pingback: sY5am
  • Pingback: buy whiskey
  • Pingback: Surveillance
  • Pingback: kwenzx.nethouse.ru
  • Pingback: buy viagra cheap
  • Pingback: Dom drakona
  • Pingback: JGXldbkj
  • Pingback: aOuSjapt
  • Pingback: ìûøëåíèå
  • Pingback: psikholog moskva
  • Pingback: Repze LLC
  • Pingback: A片
  • Pingback: Repze LLC
  • Pingback: Repze LLC
  • Pingback: Dim Drakona 2022
  • Pingback: TwnE4zl6
  • Pingback: buy viagra cheap
  • Pingback: psy 3CtwvjS
  • Pingback: زواج
  • Pingback: lalochesia
  • Pingback: buy viagra delhi
  • Pingback: film onlinee
  • Pingback: wm
  • Pingback: stromectol scabies
  • Pingback: dexedrine for adhd
  • Pingback: focalin xr price
  • Pingback: sbobet
  • Pingback: 3qAIwwN
  • Pingback: video-2
  • Pingback: stromectol india
  • Pingback: sezons.store
  • Pingback: Glock 17 for Sale
  • Pingback: 9mm Ammo
  • Pingback: Guns on Sale
  • Pingback: Colt 1911 for Sale
  • Pingback: SpyToStyle
  • Pingback: SpytoStyle.Com
  • Pingback: SpytoStyle.Com
  • Pingback: spytostyle.com
  • Pingback: spytostyle.com
  • Pingback: psy-news.ru
  • Pingback: lmhmod
  • Pingback: bet789
  • Pingback: ban ca h5
  • Pingback: 88vin.shop
  • Pingback: emupedia
  • Pingback: phim so em xui
  • Pingback: Game bài
  • Pingback: canadian drugstore
  • Pingback: 000-1
  • Pingback: 3SoTS32
  • Pingback: 3DGofO7
  • Pingback: buy viagra 25mg
  • Pingback: Sangithas Kitchen
  • Pingback: Sangitha's Kitchen
  • Pingback: 22 Hornet Ammo
  • Pingback: 45 ACP Ammo
  • Pingback: yacht rental miami
  • Pingback: buy viagra now
  • Pingback: stromectol rosacea
  • Lascia un commento