ssh-keygen -t rsaOnce you have entered the Gen Key command, you will get a few more questions:
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| mkvirtualenv datascience | |
| sudo apt-get install python-scipy libblas-dev liblapack-dev gfortran | |
| sudo apt-get install libffi-dev # for cryptography from scrapy | |
| sudo apt-get install libxslt-dev # for libxml from scrapy | |
| export BLAS=/usr/lib/libblas.so | |
| export LAPACK=/usr/lib/liblapack.so | |
| pip install numpy | |
| pip install scipy | |
| pip install scikit-learn | |
| pip install pandas |
| """Information Retrieval metrics | |
| Useful Resources: | |
| http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
| http://www.nii.ac.jp/TechReports/05-014E.pdf | |
| http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
| http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
| Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
| """ | |
| import numpy as np |
| 1. Two space soft indents (fake tabs) OR tabs... BUT NEVER BOTH - DO NOT MIX | |
| 2. Whitespace, Parens, Braces, Linebreaks | |
| if/else/for/while/try always have spaces, braces and multiple lines. | |
| -------------------------------------------------------------------- | |