create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
class wordle: | |
def __init__(self, input_data_path): | |
self.input_data_path = input_data_path | |
def get_path(self): | |
print(self.input_data_path) | |
def get_words_by_len(self, word_length): | |
""" | |
filter words of specific length |
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' |
import mechanicalsoup | |
user_agent_string = 'Mozilla/5.0 (X11; CrOS x86_64 8172.45.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.64 Safari/537.36' | |
browser = mechanicalsoup.StatefulBrowser(user_agent=user_agent_string, ) | |
browser.open('https://ebootcamp.dev') | |
headings_list = browser.get_current_page().find_all('h3') | |
for heading in headings_list: | |
print(heading.text) |
Let say you have a coding problem in hand and you can think of two different ways to solve (code) that problem.
You want to identify which way is better. To do this comparison what we will do is to calculate Big O of both of these methods and compare them.
So in a sense Big O is a way to measure the resource requirements for different methods.
Resource could be
python manage.py collectstatic --no-input |
git branch -d -r origin/mohit |
from django.utils.encoding import smart_str, smart_unicode | |
a = u'\xa1' | |
print smart_str(a) |
find . -name '*.java' | xargs git add |