sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v
docker-compose -v ; sudo rm /usr/local/bin/docker-compose ; sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v
-
https://links.infomee.fr/?96fr1ASolution 1 (recommended)
Apple updated its Technical Notes to indicate that since 10.12.2, macOS includes version 7.3p1 of OpenSSH and its new behaviors.
In ~/.ssh create config file with the following content:
Host * (asterisk for all hosts or add specific host)
AddKeysToAgent yes
UseKeychain yes
IdentityFile <key> (e.g. ~/.ssh/userKey)
-
https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychaincela suffit
cela ne suffit pas
cela a suffi
cela n'a pas suffi
-
https://links.infomee.fr/?f7WQeAwhen you are bored doing docker exec -ti foo bash
-
https://github.com/arnaudmm/dotfiles/blob/master/eccCreate a new key shortcut
alt + shit + ;
send escape sequence + "."
-
https://superuser.com/questions/703911/iterm2-alt-dot-functionality-with-cmd-dot
-
https://github.com/zhiwehu/Python-programming-exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txtPour binder par defaut sur 127.0.0.1
/etc/docker/daemon.json → "ip": "127.0.0.1"
via Doo
-
https://links.infomee.fr/?bjo6gwfind . -printf "%T@ %Tc %p\n" | sort -n
printf arguments from man find:
%Tk: File's last modification time in the format specified by k.
@: seconds since Jan. 1, 1970, 00:00 GMT, with fractional part.
c: locale's date and time (Sat Nov 04 12:02:33 EST 1989).
%p: File's name.
-
https://superuser.com/questions/294161/unix-linux-find-and-sort-by-date-modifieddocker system df
docker system prune
docker system prune --all
docker volume prune
-
https://links.infomee.fr/?9wYw4w