Skip to content

Instantly share code, notes, and snippets.

@gsora
Created March 26, 2014 11:57

Revisions

  1. Gianguido Sorà revised this gist Mar 26, 2014. 1 changed file with 2 additions and 7 deletions.
    9 changes: 2 additions & 7 deletions santi.sh
    Original file line number Diff line number Diff line change
    @@ -12,11 +12,6 @@
    #
    # 0. You just DO WHAT THE FUCK YOU WANT TO.

    # Y U NO USE SIMPLER SYNTAX?!

    curl -o santi.txt -s http://www.santodelgiorno.it

    sed -n '87p' santi.txt | awk '{print $4}' | sed 's/\"//'

    if [[ -f $HOME/santi.txt ]]; then
    rm $HOME/santi.txt
    fi
    curl -s http://www.santodelgiorno.it | sed -n '87p' | awk '{print $4}' | sed 's/\"//'
  2. smlb revised this gist Mar 26, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions mailto.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sh /home/user/auguri.sh | mutt -s "AUGURI!!1 " EMAILDIBUSO
  3. smlb revised this gist Mar 26, 2014. 1 changed file with 13 additions and 13 deletions.
    26 changes: 13 additions & 13 deletions santi.sh
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,16 @@
    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    Version 2, December 2004

    Copyright (C) 2014 Simone Lombardi <smlb at riseup dot net>

    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    0. You just DO WHAT THE FUCK YOU WANT TO.
    # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    # Version 2, December 2004
    #
    # Copyright (C) 2014 Simone Lombardi <smlb at riseup dot net>
    #
    # Everyone is permitted to copy and distribute verbatim or modified
    # copies of this license document, and changing it is allowed as long
    # as the name is changed.
    #
    # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    #
    # 0. You just DO WHAT THE FUCK YOU WANT TO.


    curl -o santi.txt -s http://www.santodelgiorno.it
  4. smlb revised this gist Mar 26, 2014. 1 changed file with 15 additions and 0 deletions.
    15 changes: 15 additions & 0 deletions santi.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,18 @@
    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    Version 2, December 2004

    Copyright (C) 2014 Simone Lombardi <smlb at riseup dot net>

    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    0. You just DO WHAT THE FUCK YOU WANT TO.


    curl -o santi.txt -s http://www.santodelgiorno.it

    sed -n '87p' santi.txt | awk '{print $4}' | sed 's/\"//'
  5. smlb created this gist Mar 26, 2014.
    7 changes: 7 additions & 0 deletions santi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    curl -o santi.txt -s http://www.santodelgiorno.it

    sed -n '87p' santi.txt | awk '{print $4}' | sed 's/\"//'

    if [[ -f $HOME/santi.txt ]]; then
    rm $HOME/santi.txt
    fi