What I learned today

Work

  • I learned that in Docker, if you want to see the status of the last container you built, instead of doing docker ps -a (which lists all the containers, and thus can force you to scroll up to see the last one), you can do docker ps -l, whcih instead just lists the latest container.

    By the way, if you are playing with Docker (or to be more precise, fighting with it) and you have a loooong list of containers running, you can add this alias to your .bashrc to stop and remove all of them at once:

    alias dockerkill="sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm"
    

Life

  • Aphrodite, one of the goddesses of the Greek Pantheon, had a different origin than that of the other Olympian gods.

    Hesiod's Theogony

    While Zeus, Hades, and the other Olympians were descendants of the Titans Chronos and Gea, Aphrodite, the god of Love, was the grandaughter of Chaos. Which makes sense I guess.

  • 69% 0f U.S. Republican say they could not live with the minimum wage. 37% of U.S. Republicans support raising the minimum wage. That means that at least 32% of U.S. Republicans are assholes. via.

Show Comments