create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| import os | |
| import cv2 | |
| import pandas as pd | |
| from sklearn.cross_validation import train_test_split | |
| from keras.models import Sequential | |
| from keras.layers.core import Dense, Dropout, Activation, Flatten | |
| from keras.layers.convolutional import Convolution2D |
| import numpy as np | |
| from keras import backend as K | |
| from keras.models import Sequential | |
| from keras.layers.core import Dense, Dropout, Activation, Flatten | |
| from keras.layers.convolutional import Convolution2D, MaxPooling2D | |
| from keras.preprocessing.image import ImageDataGenerator | |
| from sklearn.metrics import classification_report, confusion_matrix | |
| #Start | |
| train_data_path = 'F://data//Train' |
| # -*- coding: utf-8 -*- | |
| from flask import Flask, request, render_template, current_app | |
| from flask_wtf import Form | |
| from wtforms.validators import DataRequired | |
| from wtforms import SelectField, SelectMultipleField, SubmitField | |
| app = Flask(__name__) |
| #!/bin/bash | |
| ### USAGE | |
| ### | |
| ### ./ElasticSearch.sh 1.7 will install Elasticsearch 1.7 | |
| ### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
| ### | |
| ### CLI options Contributed by @janpieper | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch |
| """ This is an implementation of the paper found here: http://www.cs.cmu.edu/~htong/pdf/ICME04_tong.pdf """ | |
| import Image | |
| import numpy | |
| import pywt | |
| import sys | |
| thresh = 35 | |
| MinZero = 0.05 |
| import os | |
| import sys | |
| from getpass import getpass | |
| import gdata.docs.service | |
| import gdata.spreadsheet.service | |
| ''' | |
| get user information from the command line argument and |
| import os | |
| import sys | |
| from getpass import getpass | |
| import gdata.docs.service | |
| import gdata.spreadsheet.service | |
| ''' | |
| get user information from the command line argument and |
| """ This is an implementation of the paper found here: http://www.cs.cmu.edu/~htong/pdf/ICME04_tong.pdf """ | |
| import Image | |
| import numpy | |
| import pywt | |
| import sys | |
| thresh = 35 | |
| MinZero = 0.05 |
| from PIL import Image | |
| from PIL.ExifTags import TAGS, GPSTAGS | |
| def get_exif_data(image): | |
| """Returns a dictionary from the exif data of an PIL Image item. Also converts the GPS Tags""" | |
| exif_data = {} | |
| info = image._getexif() | |
| if info: | |
| for tag, value in info.items(): | |
| decoded = TAGS.get(tag, tag) |