Skip to content

Instantly share code, notes, and snippets.

Mahmoud Jalajel mjalajel

Block or report user

Report or block mjalajel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ssh-config-basic
# 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
mjalajel / export-pip-dependencies.sh
Created Feb 28, 2017
export/import pip dependencies (with versions)
View export-pip-dependencies.sh
#Export (machine A)
source {$venv_path}/bin/activate
pip freeze --local > requirements.txt
You can’t perform that action at this time.