Buon Natale e felice anno nuovo v.2

Buon Natale e felice anno nuovo

L’anno passato ho preparato un albero di Natale virtuale per i dba, quindi mi pare giusto replicare quest’anno per i sistemisti.

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 ~]$

Ecco il risultato (rende sicuramente meglio con sfondo scuro).

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

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

      Marry Xmas
  and Happy New 2019

[ecairo@localhost ~]$
dicembre 20, 2018

  • Pingback: viagra boner mom
  • Pingback: accidental viagra
  • Pingback: vardenafil generic
  • Pingback: cialis daily
  • Pingback: viagra creampie
  • Pingback: sildenafil 50 mg
  • Pingback: cialis dose
  • Pingback: herbal viagra gnc
  • Pingback: roman viagra
  • Pingback: too much viagra
  • Pingback: cheap levitra
  • Pingback: viagra vs cialis
  • Pingback: viagra sex
  • Pingback: cialis and alcohol
  • Pingback: cialis from canada
  • Pingback: viagra problem
  • Pingback: buy essay cheap
  • Pingback: cialis by mail
  • Pingback: cialis generic
  • Pingback: viagra free sample
  • Pingback: viagra falls porn
  • Pingback: viagra tolerance
  • Pingback: celebrex dosing
  • Pingback: keflex drug type
  • Pingback: duloxetine mg
  • Pingback: cheap viagra 200mg
  • Pingback: viagra 20mg price
  • Pingback: viagra 50mg pill
  • Pingback: Avana
  • Pingback: cialis black brand
  • Pingback: cialis supr active
  • Pingback: rx pharmacy viagra
  • Pingback: cialis cost
  • Pingback: lady viagra
  • Pingback: 10mg cialis cost
  • Pingback: viagra overnight
  • Pingback: pof dating site
  • Pingback: cialis 500mg
  • Pingback: cost cialis 5mg
  • Pingback: levitra westview
  • Pingback: homemade viagra
  • Pingback: lipitor 40 mg
  • Pingback: biker dating sites
  • Pingback: cytotmeds.com
  • Pingback: losartan
  • Pingback: viagra generic
  • Pingback: cialis 10mg dosage
  • Pingback: cymbalta 60 mg
  • Pingback: Keto diet
  • Pingback: wellbutrin reviews
  • Pingback: what is buspar
  • Pingback: citalopram
  • Pingback: what is tizanidine
  • Pingback: ketorecipesnew.com
  • Pingback: bupropion
  • Pingback: cialis ebay
  • Pingback: levitra sales
  • Pingback: black priligy
  • Pingback: acyclovir dosing
  • Pingback: donepezil hcl
  • Pingback: cephalexin for uti
  • Pingback: clindamycin dose
  • Pingback: erythromycin
  • Pingback: cialis 50mg
  • Pingback: sildenafil online
  • Pingback: price of albuterol
  • Pingback: cialis black brand
  • Pingback: viagra meaning
  • Pingback: 40 mg sildenafil
  • Pingback: viagra precautions
  • Pingback: 20 mg sildenafil
  • Pingback: amlodipine norvasc
  • Pingback: levitra purchase
  • Pingback: cialis 20mg usa
  • Pingback: lasix 80 mg
  • Pingback: xenical pills uk
  • Pingback: priligy dapoxetine
  • Pingback: careprost vs bimat
  • Pingback: clomid cyst
  • Pingback: motilium pdf
  • Pingback: valtrex dose
  • Pingback: cialis 20mg sale
  • Pingback: viagra 100 mg
  • Pingback: how viagra works
  • Pingback: okins zovirax tome
  • Pingback: stromectol buy now
  • Pingback: norvasc 5mg tab
  • Pingback: sertraline dosage
  • Pingback: who makes lyrica
  • Pingback: viagra pills
  • Pingback: cheapest viagra
  • Pingback: 20mg cialis daily
  • Pingback: cialis 20mg daily
  • Pingback: free cialis
  • Pingback: cialis 10mg
  • Pingback: sildenafil citrate
  • Pingback: buy cialis online
  • Pingback: viagra connect
  • Pingback: viagra in canada
  • Pingback: 1
  • Pingback: discount viagra
  • Pingback: get cialis
  • Pingback: buy viagra
  • Pingback: viagra on sale
  • Pingback: discount cialis
  • Pingback: cialis works
  • Pingback: cialis 5mg
  • Pingback: viagra otc
  • Pingback: sildenafil 50 mg
  • Pingback: viagra cheap
  • Pingback: z pack otc
  • Pingback: viagra sale amazon
  • Pingback: sildenafilo
  • Pingback: herbal viagra
  • Pingback: amoxicillin online
  • Pingback: amoxicillin 500
  • Pingback: quineprox 800 mg
  • Pingback: quineprox
  • Pingback: prednisone 5 mg
  • Pingback: viagra kopen
  • Pingback: avana australia
  • Pingback: purchase modafinil
  • Pingback: ivermectin usa
  • Pingback: ivermectin generic
  • Pingback: ventolin tabs
  • Pingback: ventolin
  • Pingback: azithromycin
  • Pingback: viagra vs.levitra
  • Pingback: viagra homme
  • Pingback: viagra dosage
  • Pingback: cialis trial
  • Pingback: walmart viagra
  • Pingback: sildenafil 1000 mg
  • Pingback: viagra prices
  • Pingback: viagra sildenafil
  • Pingback: cialis or viagra
  • Pingback: viagra pill
  • Pingback: buy ivermectin uk
  • Pingback: meritkiing
  • Pingback: elexusbet
  • Pingback: Eurocasino
  • Pingback: madridbet
  • Pingback: meritroyalbet
  • Pingback: eurocasino
  • Pingback: eurocasino
  • Pingback: meritking
  • Pingback: meritroyalbet
  • Pingback: azithromycin dose
  • Pingback: meritroyalbet
  • Pingback: generique cialis
  • Pingback: cialis dosis
  • Pingback: cheap sildenafil
  • Pingback: ivermectin 400 mg
  • Pingback: discount tadalafil
  • Pingback: flccc ivermectin
  • Pingback: flccc ivermectin
  • Pingback: lumigan eyelash
  • Pingback: otc zanaflex
  • Pingback: what is lumigan
  • Pingback: nolvadex-d
  • Pingback: monupiravir
  • Pingback: Anonimo
  • Pingback: molnupiravir uk
  • Pingback: tadalafil rankings
  • Pingback: buy ivermectin nz
  • Pingback: Anonimo
  • Pingback: ivermectin 9mg
  • Pingback: ivermectin 250ml
  • Pingback: stromectol order
  • Pingback: Anonimo
  • Pingback: ivermectin ontario
  • Pingback: ivermectin ontario
  • Pingback: buy online
  • Pingback: ivermectin 0.08
  • Pingback: viagra from canada
  • Pingback: viagra precio
  • Pingback: ivermectin monash
  • Pingback: mylan tadalafil
  • Pingback: cialis goodrx
  • Pingback: cialis tablet
  • Pingback: 1furlough
  • Pingback: 2dedication
  • Pingback: ceallias
  • Pingback: cialis tablets
  • Pingback: tadalafila
  • Pingback: prednisone
  • Pingback: cialis best price
  • Pingback: generic cialis
  • Pingback: ivermectin bnf
  • Pingback: zithromax 1g
  • Pingback: cialis generic
  • Pingback: cialis price
  • Pingback: azithromycin sr
  • Pingback: cephalexin disage
  • Pingback: ivermectin gold
  • Pingback: stromectol cvs
  • Pingback: stromectol tablets
  • Pingback: ivermectin ebay
  • Pingback: erythromycin oino
  • Pingback: buy ivermectin
  • Pingback: zithromax generic
  • Pingback: stromectol cheap
  • Pingback: ivermectin brand
  • Pingback: celebrex for bph
  • Pingback: ivermectin amazon
  • Pingback: meritroyalbet
  • Pingback: meritking
  • Pingback: trcasino
  • Pingback: stromectol sales
  • Pingback: ivermectin 18mg
  • Pingback: eurocasino
  • Pingback: ivermectin human
  • Pingback: madridbet
  • Pingback: lucky land
  • Pingback: ivermectin cream
  • Pingback: ivermectin buy
  • Pingback: canadian pharmacys
  • Pingback: cialis otc
  • Pingback: online pharmacies
  • Pingback: child porn
  • Pingback: ivermectin 2
  • Pingback: cialis otc
  • Pingback: canadian drug
  • Pingback: deiun.flazio.com
  • Pingback: ivermectin covid
  • Pingback: canada pharmacies
  • Pingback: aonubs.website2.me
  • Pingback: cialis dapoxetine
  • Pingback: pharmacy canada
  • Pingback: meritroyalbet
  • Pingback: Gz92uNNH
  • Pingback: do-posle-psihologa
  • Pingback: madridbet
  • Pingback: canada drug
  • Pingback: bahis siteleri
  • Pingback: DPTPtNqS
  • Pingback: qQ8KZZE6
  • Pingback: D6tuzANh
  • Pingback: SHKALA TONOV
  • Pingback: chelovek-iz-90-h
  • Pingback: kwsde.zombeek.cz
  • Pingback: 3Hk12Bl
  • Pingback: 3NOZC44
  • Pingback: 01211
  • Pingback: tor-lyubov-i-grom
  • Pingback: film-tor-2022
  • Pingback: hd-tor-2022
  • Pingback: hdorg2.ru
  • Pingback: canada viagra
  • Pingback: JXNhGmmt
  • Pingback: Psikholog
  • Pingback: netstate.ru
  • Pingback: meritroyalbet
  • Pingback: Link
  • Pingback: psy
  • Pingback: bit.ly
  • Pingback: meritking
  • Pingback: herbsd.iwopop.com
  • Pingback: cleantalkorg2.ru
  • Pingback: bucha killings
  • Pingback: War in Ukraine
  • Pingback: Ukraine
  • Pingback: viagra
  • Pingback: site
  • Pingback: sildenafil citrate
  • Pingback: canadian cialis
  • Pingback: stats
  • Pingback: lsdevs.iwopop.com
  • Pingback: canadianpharmacy
  • Pingback: revatio
  • Pingback: Ukraine-war
  • Pingback: movies
  • Pingback: gidonline
  • Pingback: web
  • Pingback: film.8filmov.ru
  • Pingback: video
  • Pingback: film
  • Pingback: canada pharmacies
  • Pingback: online pharmacy
  • Pingback: hkwerf.micro.blog
  • Pingback: canadian drug
  • Pingback: cialis commercial
  • Pingback: kawers.micro.blog
  • Pingback: filmgoda.ru
  • Pingback: rodnoe-kino-ru
  • Pingback: buy cialis usa
  • Pingback: alewrt.flazio.com
  • Pingback: confeitofilm
  • Pingback: stat.netstate.ru
  • Pingback: owzpkg.zombeek.cz
  • Pingback: lasweb.iwopop.com
  • Pingback: cialis
  • Pingback: sY5am
  • Pingback: kwenzx.nethouse.ru
  • Pingback: Dom drakona
  • Pingback: JGXldbkj
  • Pingback: aOuSjapt
  • Pingback: ìûøëåíèå
  • Pingback: psikholog moskva
  • Pingback: A片
  • Pingback: Dim Drakona 2022
  • Pingback: buy viagra delhi
  • Pingback: TwnE4zl6
  • Pingback: buy viagra delhi
  • Pingback: psy 3CtwvjS
  • Pingback: meriking
  • Pingback: buy viagra pills
  • Pingback: lalochesia
  • Pingback: buy viagra pills
  • Pingback: buy viagra usa
  • Pingback: buy viagra 25mg
  • Pingback: film onlinee
  • Pingback: canada pharmacy
  • Pingback: ivermectin online
  • Pingback: online pharmacies
  • Pingback: 3qAIwwN
  • Pingback: mgfmail
  • Pingback: video-2
  • Pingback: stromectol cream
  • Pingback: sezons.store
  • Pingback: psy-news.ru
  • Pingback: 000-1
  • Pingback: 3SoTS32
  • Pingback: 3DGofO7
  • Pingback: buy viagra usa
  • Pingback: pharmacy
  • Pingback: canada drug
  • Pingback: buy viagra
  • Pingback: buy generic viagra
  • Pingback: dose of stromectol
  • Lascia un commento