Posty

[Windows] Pip behind corpo proxy

Save your time http://www.legendu.net/en/blog/install-python-on-windows-behind-proxy/

Docker on Windows: remove all containers

FOR /f "tokens=*" %i IN ('docker ps -a -q') DO docker rm %i

NPM behind proxy

Well, npm and npm3 should take proxy from ENV (usually I'm using it with sudo -E). Old topic, but what if corporate proxy suddenly would change? NPM sometimes is smart, sometimes not. so: 1) remove old proxy: npm config rm proxy npm config rm https - proxy or npm3 config rm proxy npm3 config rm https - proxy 2) Set new: npm config set proxy http://proxy.company.com:8080 now should work

Pip install pycurl - No such file or directory: 'curl-config' (pip3) or "Missing dependencies for SOCKS support." (pip)

In first case: sudo apt-get install libcurl4-openssl-dev Second case: export all_proxy="https://<proxy>:<port>/"

Nokia Academy Wrocław

Obraz
Jeśli ktoś chce się dokształcić to polecam http://nokiawroclaw.pl/nasze-akcje/akademia/

CheetSheet - Will be updated

Removes nodejs from linux: sudo apt - get remove nodejs Install node.js on linux ubuntu: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04  Install nvm globally with wget -qO- https://raw.githubusercontent.com/xtuple/nvm/master/install.sh | sudo bash GIT: 1) Branch graph and commit history git log --pretty = format: "%h %s" --graph DOCKER: # Delete all containers docker rm $( docker ps -a -q ) # Delete all images docker rmi $( docker images -q )

Docker - removing containers cheat sheet

http://jimhoskins.com/2013/07/27/remove-untagged-docker-images.html