heiko-barth.de

// Sonntag

Aalto Talk with Linus Torvalds

Aalto Talk with Linus Torvalds, hosted by Aalto Center for Entrepreneurship (ACE) in Otaniemi on June 14, 2012. Linus was interviewed by Will Cardwell and followed with a Q&A session with the audience. Enjoy!

foo/bar


reggae.sh
#!/bin/bash
 
# Reggae / Pan-African colors
STARS=$(for i in $(seq 1 $(tput cols)); do echo -n '#';done);
for j in $(seq 1 3);do
        for k in $(seq 1 $(echo "scale=0;$(tput lines)/3-1"|bc -l));do
                if [ $j -eq 1 ];then
                        # red
                        echo -e "$(tput setaf 1)$STARS"
                elif [ $j -eq 2 ]; then
                        # yellow
                        echo -e "$(tput setaf 3)$STARS"
                else
                        # green
                        echo -e "$(tput setaf 2)$STARS"
                fi
        done
done
echo -e $(tput sgr0)

Leave a comment…



  __  __   ___   _____   __    __ __   ____  ____ 
 / / / /  / _ | / ___/  / /   / // /  / __/ / __ \
/ /_/ /  / __ |/ (_ /  / /__ / _  /  / _/  / /_/ /
\____/  /_/ |_|\___/  /____//_//_/  /___/  \___\_\
  • E-Mail address will not be published.
  • Formatting:
    //italic//  __underlined__
    **bold**  ''preformatted''
  • Links:
    [[http://example.com]]
    [[http://example.com|Link Text]]
  • Quotation:
    > This is a quote. Don't forget the space in front of the text: "> "
  • Code:
    <code>This is unspecific source code</code>
    <code [lang]>This is specifc [lang] code</code>
    <code php><?php echo 'example'; ?></code>
    Available: html, css, javascript, bash, cpp, …
  • Lists:
    Indent your text by two spaces and use a * for
    each unordered list item or a - for ordered ones.
Web 2.0



RSS   RSS abonieren

Github   Github
QR Code