Pour les amoureux de la montagne... 
En famille, exclues les grandes randonnées alpines. Une altitude de plus de 1'500m semble déconseillée pour un enfant en bas âge (mais je pense que l'on peut pousser quand même jusqu'à 2'000m, nom d'une pipe).

Dans la jungle des cabanes du CAS, je cherchais un guide pour m'indiquer des cabanes adéquates pour les familles. Après quelque temps, je l'ai trouvé et l'ai posé ici.

Bonne journée.

[ add comment ]   |  permalink  |   ( 2.7 / 467 )
What does "> /dev/null 2>&1" mean? 
Here's an example command:
wibble > /dev/null 2>&1
Output redirection

The greater-thans (>) in commands like these redirect the program's output somewhere. In this case, something is being redirected into /dev/null, and something is being redirected into &1.

Standard in, out, and error

There are three standard sources of input and output for a program. Standard input usually comes from the keyboard if it's an interactive program, or from another program if it's processing the other program's output. The program usually prints to standard output, and sometimes prints to standard error. These three file descriptors (you can think of them as "data pipes") are often called STDIN, STDOUT, and STDERR.

Sometimes they're not named, they're numbered! The built-in numberings for them are 0, 1, and 2, in that order. By default, if you don't name or number one explicitly, you're talking about STDOUT.

Given that context, you can see the command above is redirecting standard output into /dev/null, which is a place you can dump anything you don't want (often called the bit-bucket), then redirecting standard error into standard output (you have to put an & in front of the destination when you do this).

The short explanation, therefore, is "all output from this command should be shoved into a black hole." That’s one good way to make a program be really quiet!

[ add comment ]   |  permalink  |  related link  |   ( 2.9 / 497 )
Did you know? 
Quirks mode refers to a technique used by some web browsers to maintain backwards compatibility with web pages designed for older browsers.

[ add comment ]   |  permalink  |   ( 2.9 / 493 )
CWS - Say no to dirt! 
I just discovered that CWS has a really great sense of humor. Another way to say no to the drugs is here.

[ add comment ]   |  permalink  |   ( 2.9 / 432 )
stop-piracy.ch 
Seit einigen Tagen ist die erste Sensibilisierungskampagne von stop-piracy.ch zu sehen. Zum Beispiel, am Badischen Bahnhof, ist folgendes Plakat zu sehen:



Ich finde es lächerlich. Alle diese Kommerzkünstler sind stinkreich. Ich weine fast, weil sie ein paar Millionen weniger verdienen. Zum selben Thema hat mir ein Freund dieses Video zugeschickt (auf Französisch). Es stellt genau dar, was ich hier sagen möchte.

Long life to piracy und Tomaten für stop-piracy.ch. Mit solchen Slogans überzeugen sie das Volk nicht.

[ add comment ]   |  permalink  |   ( 3 / 360 )

Back Next