Bookmarks for 14 set 2009 through 16 set 2009

These are my links for 14 set 2009 through 16 set 2009:

  • Creare un proprio Tracker BitTorrent in pochi istanti e a costo zero su Google App Engine | Nothing2Hide – […]Normalmente un server tracker necessita di un elevato quantitativo di banda nonché di stabilità e scalabilità, caratteristiche che su un normale servizio di hosting avrebbero costi molto elevati. Esiste però un’alternativa assolutamente gratuita che mette a disposizione tutte queste caratteristiche: si tratta di Google App Engine[…]

    Un tracker in 4kb di codice python da far girare su google app engine… Fantastico

  • Returning Values from Bash Functions | Linux Journal – […]Bash functions, unlike functions in most programming languages do not allow you to return a value to the caller. When a bash function ends its return value is its status: zero for success, non-zero for failure. To return values, you can set a global variable with the result, or use command substitution, or you can pass in the name of a variable to use as the result variable. The examples below describe these different mechanisms.

    Although bash has a return statement, the only thing you can specify with it is the function's status, which is a numeric value like the value specified in an exit statement. The status value is stored in the $? variable. If a function does not contain a return statement, its status is set based on the status of the last statement executed in the function. To actually return arbitrary values to the caller you must use other mechanisms[…]
    E funziona anche con la korn!!!

  • Unix Sed Tutorial: Printing File Lines using Address and Patterns – Let us review how to print file lines using address and patterns in this first part of sed tutorial.

    We’ll be posting several awesome sed tutorials with examples in the upcoming weeks.