Instantly share code, notes, and snippets.
Full-stack data scientists.Vice President of@jordanopensource
- Berlin, Germany
- http://jalajel.me/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| # Example ssh config file. Usually located in ~/.ssh/config (user) or /etc/ssh/ssh_config (system) | |
| # This works on both linux and MacOS | |
| # Basic ssh commands converted to ssh/config file format | |
| # Simplest format | |
| # Run with: "ssh blog" => (equivalent to: "ssh ubuntu@example.com" and "ssh -i ~/.ssh/id_rsa -p 22 ubuntu@example.com") | |
| Host blog |
mjalajel /export-pip-dependencies.sh
CreatedFebruary 28, 2017 08:30
export/import pip dependencies (with versions) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| #Export (machine A) | |
| source {$venv_path}/bin/activate | |
| pip freeze --local> requirements.txt |