노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

yahoo finance 활용(2), 미국 주식 현재가와 비교 하기



* 문제점 : yahoo finance를 통해 얻는 정보가 실시간이 아니다.


0. 사전 준비


- install python 2.7 

- install yahoo finance ( >pip install yahoo-finance )

- install code editor : IDLE(python GUI), JetBrain PyCharm, Sublime Text3



1. 전체 코드 Flow 절차


- 구입 가격 리스트를 읽기 

  : HTS등에서 엑셀로 복사하고, csv(utf-8)로 저장


- 리스트의 Symbol값으로 yahoo finance의 share(stock정보)값을 읽기


- 비교후에 결과 출력하기



2. 실행결과





* 소스코드


블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Heroku Node.js security update



1. Heroku 연결하기 ( with Heroku CLI )



설치가 되어 있지 않거나 PC에서 삭제가 된 경우는 아래 CLI를 설치해야 한다.


https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up



설치가 완료되면, 윈도우 명령어 창에서 


$ heroku login 


을 실행하고, ID/PWD를 입력해서 로그인을 한다.




2. 윈도우로 APP 가져오기


$ heroku git:clone -a [APP-NAME]

$ cd [APP-NAME]


* [APP-NAME]은 Heroku 대시보드에서 해당 이름을 확인 필요




3. 윈도우에서 파일 수정하기 : package.json



참조 : Specifying a Node.js Version




4. Heroku로 Deploy하기


$ git status  ## option

$ git add .

$ git status  ## option

$ git commit -m "Upgrade Node.js version"

$ git push heroku master







블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

yahoo finance 활용(1), 미국 저평가 주식 찾기 



아래 원문과 수정된 글에서 Yahoo Finance에서 제공하는 주식 정보를 통해서, 몇가지 저평가 기준을 적용하여, 결과를 얻는 프로그램으로, Python 프로그램 구조와 코딩 문법을 고려하여 재작성을 합니다.


Python코딩 문법은 80칼럼 넘는 부분, 함수간격 2줄, 파라미터 구분자, Indent등을 pep8online.com를 통해서 검사할 수 있습니다.


1. 입력 데이터 파일 만들기


리스트 다운로드는 http://www.nasdaq.com/screening/company-list.aspx


2. 조건식 설정(정의)

# share price is less than 1.5 x book value
PRICE_BOOK_LT = 2.0
# earnings per share is at least 2x bigger than dividend per share
EARN_DIV_GT = 1.5
# dividend yield is more than 3%
DIV_YIELD_RATIO = 3.0
# 5yr PEG is between 0 and 1.1 ( or < 2.0 )
PEG_GT = 0.0
PEG_LT = 2.0



3. 결과 파일 만들기



현재 기준으로 검색 결과는 아래와 같습니다.


아래 코드는 python 2 기준으로 작성되었으며, python 3에서 실행시는 print -> print()로 괄호를 추가 해야 합니다.



아래 형식에서 구분자를 ,를 사용하였으나, Company명에 ,를 사용하는 경우가 있으므로, 구분자의 대체가 필요 해 보입니다.

Symbol,Company,Price,Bookvalue,Dividend share,Dividend yield,EPS,PE ratio,PE growth ratio
AYR,Aircastle Limited,21.77,23.58,1.04,4.81,2.00,10.89,1.89
ABR,Arbor Realty Trust,8.31,9.79,0.72,8.80,1.11,7.46,0.93
CHS,Chico's FAS, Inc.,8.56,4.86,0.33,3.61,0.72,11.94,0.95
FNB,F.N.B. Corporation,14.09,13.22,0.48,3.35,0.73,19.25,1.22
FAF,First American Corporation (New,44.64,27.80,1.36,3.04,3.14,14.23,1.87
GME,Gamestop Corporation,21.15,22.40,1.52,7.27,3.36,6.30,0.83
HT,Hersha Hospitality Trust Class,18.17,20.14,1.12,6.20,2.91,6.25,0.33
IGT,International Game Technology O,18.27,17.80,0.80,4.42,1.23,14.82,1.17
IVZ,Invesco Ltd,36.11,18.83,1.16,3.30,2.20,16.43,1.02
KKR,KKR & Co. L.P. Common Units Rep,19.17,12.63,0.68,3.67,1.76,10.88,0.15
KSS,Kohl's Corporation,37.15,29.20,2.20,5.75,3.45,10.76,1.88
MFC,Manulife Financial Corporation,19.44,15.39,0.55,3.13,1.20,16.20,1.71
ORI,Old Republic International Corp,19.40,17.61,0.76,3.88,1.59,12.22,1.33
PK,Park Hotels & Resorts Inc.,27.00,28.03,1.72,6.41,11.45,2.36,0.51
PKX,POSCO,67.49,115.34,2.08,3.23,4.96,13.59,0.34
RWT,Redwood Trust, Inc.,17.21,15.13,1.12,6.58,1.76,9.78,1.45
SNY,Sanofi American Depositary Shar,49.0425,25.8810,1.6400,3.4300,4.1345,11.8618,1.5500
TGNA,TEGNA Inc,14.38,10.66,0.49,3.41,1.87,7.68,1.95
UMC,United Microelectronics Corpora,2.35,2.91,0.09,3.82,0.14,17.41,1.08
VLO,Valero Energy Corporation,68.03,44.33,2.80,4.11,4.57,14.88,0.77




수정문 : http://blog.naver.com/PostView.nhn?blogId=silvury&logNo=220933350426

원문 :  https://www.reddit.com/r/SecurityAnalysis/comments/4u969n/finding_undervalued_dividend_stocks_with_python/







또는 My Screeners 


Yahoo Finance내의 Screen 서비스를 이용해서, https://finance.yahoo.com/screener 내의 Undervalued Growth Stocks, Growth Technology Stocks, Day Gainers, Day Losers, Most Actives등에서 조건식을 변경하는 방법도 있다.


1. Undervalued Growth Stocks


- Trailling P/E (LTM) is (<0) (0-20) (20-50) (50-80) (>80)

- PEG Ration(5yr expected) is (<1) (1 to 2) ( 2 to 3 ) (>3)

- EPS Growth (LTM) is (<15%) (15% to 25%) (25% to 50%) (50% to 100%) (> 100%)

- Exchange is (NasdaqGS) (NYSE)


2. Growth Technology Stocks


- Quarterly Revenue Growth(yoy) is (<15%) (15% to 25%) (25% to 50%) (50% to 100%) (> 100%)

- EPS Growth (LTM) is (<15%) (15% to 25%) (25% to 50%) (50% to 100%) (> 100%)

- Sector is (Technology)

- Exchange is (NasdaqGS) (NYSE)


참고. developer yahho.com / yql / console


https://developer.yahoo.com/yql/console/#h=select+*+from+pm.finance+where+symbol%3D%22SKT%22

블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.
토렌트 다운로드중에 영화 시청

1. 준비물

- uTorrent 
- VLC media Player


2. 스트리밍 주소

- uTorrent에서 주소복사 하기
- VLC media Player에서 주소 열기


 


블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

케이뱅크 APP 다운로드 (해외에서)


APP을 설치를 해야 가입이 되지만, 해외에서 APP를 다운로드 할 수가 없는 경우가 있다.







1. APK Download 사이트 방문



https://apkpure.com/

https://apps.evozi.com/apk-downloader/


* 잘 찾아 주는 사이트는 해외별로 다른것으로 보임



2. 검색창에 패키지명을 입력 한다.


com.kbankwith.smartbank



3. 다운로드 


apk를 다운로드 후에 phone에 업로드하고 apk 설치를 한다.







* 다운로드 사이트별로 양호/불량으로 나누어 지는 경우가 있으므로, 잘 찾아 봐야 한다.




블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Udacity.com Nanodegree(미세 전공) 학위



컴퓨터 전공자와 독학 개발자, 누굴 채용할까? 라는 제목에서 비교를 하고 있지만, 그 보다는

코세라(Coursera), 유다시티(Udacity), 칸아카데미(Kahn Academy)등이 제공하는 MOOCs(Massively Open Online Courses)가 새로운 프로그래밍 언어의 개발자가 되려는 사람들에게 중요한 역할을 하고 있을을 알 수 있다.



그리고, 컴퓨터 공학을 전공하려면 대학 등록금만 1년에 수만달러가 들겠지만, 이들 MOOC를 통해서 저렴한 비용으로 자격증을 취득할 수 있다. 유다시티는 Nono Degree를 월199달러 러에 제공하고 1년이 소요되면, 비용의 절반을 환급하고, 졸업후에 6개월내에 직장을 구하지 못하면, 전액 또는 일부를 돌려준다. ( MOOC를 통해 인생역전 메이저는 전공학위, 마이너는 부전공 학위, 나노는 미세전공 학위쯤...)



Nanodegree, 2017년 7월 현재


- React ( nd019 )

- Intro to Programming

- VR Developer

- Robotics

- Digital Marketing

- Deep Learning Foundations

- Artificial Intelligence

- Self-Driving Car Engineer

- Business Analyst

- Android Basics

- Machine Learning Engineer

- Fron-End Web Developer

- Full Stack Web Developer( nd04)  , 글쓴이가 취득한 학위 -  아마 4번째로 생긴것 같다 

- Android Developer

- Become an iOS Developer

- Data Analyst ( nd02 )



Full Stack Web Developer Nanodegree


CO-CREATED BY : AWS(Amazon Web Service), GitHub, AT&T, Google

TIMELINE : 6 Months

SKILL LEVEL : 중급 ( Intermediate ) 

BASE SALARY : FULL STACK DEVELOPER $40.4K TO $162K ( from PAYSA )



커리큘럼 ( 5 PARTS, 7 PROJECTS )


1. Programming Fundamentals and the Web ( 26개 단원, 2개 프로젝트 )


2. Web Applications and Development ( 8개 단원, 1개 프로젝트 )


3. The Backend : Databases & Applications ( 14개 단원, 2개 프로젝트 )


4. The Frontend: JavaScript & AJAX ( 9개 단원, 1개 프로젝트 )


5. Deploying to Linux Servers ( 6개 단원, 1개 프로젝트 )




진행 방식


각 단원은 1시간~10여 시간이 소요된다.


매주 10시간의 수업을 청취해야 하며, 이를 토대로 3-6개월 정도를 산정한것으로 보인다.


중간 또는 말미에 프로젝트를 완성하고 제출하면, 미흡한 부분등을 알려주면서 보완해서 다시 제출하도록 안내를 한다. 


모든 프로젝트를 통과를 하게 되면, 1개 PART를 완료 처리를 해준다. 


각 프로젝트는 대체로 수일정도가 소요되는것으로 생각이 된다.






블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

vaddin 뉴스 - Vaadin Board for Java is now available





Hello ???,

After releasing Vaadin Board with an HTML API in May, we received a ton of questions on when it will be available with a Java API for Vaadin Framework users. The answer is: NOW, as we are pleased to announce the release of Vaadin Board for Java


Vaadin Board can be used to create dashboards, intro screens, image galleries, or just to build application layouts, so that they will look great on different devices. Responsive behaviour comes built-in and it just works, no need to write any CSS. A total breeze for Java developers. Vaadin Board is commercially licensed and is included in the Pro and Prime subscriptions.

Go check it out right away and give it a spin!

Kind regards, 

Vaadin Team

블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Tomcat에 SSL(HTTPS)추가 하기





1. 위치 

: $CATALINA_HOME/conf


2. 파일 

: server.xml 


3. 수정할 부분 



1) 원본


<!-- 

    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

               maxThreads="150" scheme="https" secure="true"

               clientAuth="false" sslProtocol="TLS"/>

-->



2. 수정


  <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

               maxThreads="150" scheme="https" secure="true"

               clientAuth="false" sslProtocol="TLS"

keystorePass=""xxxx" keystoreFile="${user.home}/.keystore"/>



* keytool -genkey

"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA
  -keystore \path\to\my\keystore



4. Servers에서 재등록시 SSL확인






원문

https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html


참조 

http://blog.daum.net/overpassion1/16


블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Python Lists , 리스트


원문에서 제공하는 예제는 실제 실행시에, 예약어등의 사용으로 warning과 error가 발생하므로 수정해서 실행을 해야 한다. 이 실행 결과를 정리한다.



##

## Python Lists , 리스트 기본

##


# Lists work similarly to strings - use the len() function and square brackets[] 

# to access data, with the first element at index 0

colors = ['blue', 'blue', 'green']


print (colors[0]) ## blue

print (colors[2]) ## green

print (len(colors)) ## 3


# Assignment with an = on lists doest not make a copy. 복사 금지

# Instead, assignment makes the two variables point to the one list in memory

b = colors ## Does not copy the list


print(b) ## ['blue', 'blue', 'green']


empty_list = [] ## is just an empty pair of brackets []


yield_list = [1,2] + [3, 4] ## The '+' works to append two lists

print(yield_list) ## [1, 2, 3, 4]



##

## FOR and IN , 생성자 For

##


# Python's *for* and *in* constructs are extremely useful, 

# and the first use of them we'll see is with lists.

squares = [1, 4, 9, 16]

total_value = 0

# The *for* construct - for var in list 

#    is an easy way to look at each element in a list.

#    Do not add or remove from the list during iteration.

for num in squares:

  total_value += num

print( total_value ) ##30


# The *in* construct on ite own is an easy way to test if an element appears

# in a list(or other collection) - value in collection - tests if the value is

# in the collection, returning True/False

name_list = ['larry', 'curly', 'moe']

if 'curly' in name_list:

  print('yay')


# test_strings = 'abcd'

# for ch in test_strings:

#   print(ch) ## a b c d


##

## Range , 범위 ( 0 ~ n-1 ) 

##


# The range(n) function yields the numbers 0,1, ... n-1 and range(a,b) returns

# a, a+1, ... b-1 up to but not including the last number.

# for i in range(100):

#   print(i)


##

## While Loop, 반복 While

##


# Python also has the standard while-loop, and the *break* and *continue* statements work

# as in C++ and Java, altering the course of the innermost loop.

i = 1

a = 'abc'

while i < len(a):

  print (a[i]) ## b

  i = i + 3



##

## List Methods , 함수들

##


# Here are some other common list methods.

# list.append(elem) : adds a single element to the end of the list

# list.insert(index, elem) : inserts the element at the given index

# list.extend(list2) : adds the elements in list2 to the end of the list

# list.index(elem) : searches for the given element from the start of the list and returns its index

# list.remove(elem) : searches for the first instance of the given element and removes it

# list.sort() : sorts the list in place(does not return it)

# list.reverse() : reverses the list in place(does not return it)

# list.pop(index) : removes and returns the element at the given index

str_list = ['larry', 'curly', 'moe']

str_list.append('shemp')

str_list.insert(0,'xxx')

str_list.extend(['yyy', 'zzz'])

print(str_list) ## ['xxx', 'larry', 'curly', 'moe', 'shemp', 'yyy', 'zzz']

print(str_list.index('curly')) ## 2


str_list.pop(1)

print(str_list) ## ['xxx', 'curly', 'moe', 'shemp', 'yyy', 'zzz']


# common error 

# : note that the above methods do not *return* the modified list

#   they just modify the original list

num_list = [1, 2, 3]

print(num_list.append(4)) ## None

num_list.append(4)

print(num_list) ## [1, 2, 3, 4, 4]


##

## List Build up, 생성하기

##


# One common pattern is to start a list a the empty list[],

# then use append() or extend() to add elements to it

empty_list = []

empty_list.append('a')

empty_list.append('b')

print(empty_list) ## ['a', 'b']


##

## List Slices, 자르기 [start:end:step]

##


# Slices work on lists just as with strings, and can also be used to change

# sub-parts of the list


char_list = ['a', 'b', 'c', 'd']

print(char_list[1:-1]) ## ['b', 'c']

print(char_list[:]) ## ['a', 'b', 'c', 'd']

print(char_list[1:2]) ## ['b']

char_list[0:2] = 'z'

print(char_list) # ['z', 'c', 'd']



원본 

https://developers.google.com/edu/python/lists















블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,

Python 예제

Web Tech./Python 2017. 7. 4. 18:42
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Python 예제



## Comments


# This is a one-line Python comment - code blocks are so useful !

""" This type of comment is used to document the purpose of funtions and classes."""


## Declaration/Initialization


# Remember values, not variables, have data types.

# A variable can be reassigned to containe a different data type.

answer = 42

answer_some = "The answer is 42."


## Data Types


boolean = True

number = 1.1

string = "Strings can be declared with single or double quotes."

list_some = ["Lists can have", 1, 2, 3, 4, "or more types together!"]

tuple_some = ("Tuples", "can have", "more than", 2, "elements!")

dictionary = {'one': 1, 'two': 2, 'three': 3}

variable_with_zero_data = None


print(list_some)

print(tuple_some)

print(dictionary)


## Simple Logging


print ("Printed!")


## Conditionals


def test_func(cake):

  if cake == "delicious":

    return "Yes, please!"

  elif cake == "okay":

    return "I'll have a small piece."

  else:

    return "No, thank you."


## Loops


for item in list_some:

  print (item)


def is_big(total, max_val, values):

  i = 0

  while (total < max_val):

    total += values[i]

    i += 2

  return total

  

## Functions


def divide(dividend, divisor):

  quotient = dividend / divisor

  remainder = dividend % divisor

  return quotient, remainder



def caculate_stuff(x, y):

  (q, r) = divide(x, y)

  print (q, r)


## classes

class person(object):


  def __init__(self, name, age):

    self.name = name

    self.age = age

    

  def birthday(self):

    self.age += 1

    



블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.


Python, Web 보안 (기초)



1. SQL Injection


  - string format 쿼리

    : 사용자의 조작된 입력값으로 공격을 받게 되는 부분을 차단

    cur = db.cursor()
    query = "SELECT * FROM user_table where user = %s" % user_id
    c.execute(query)


2. XSS ( Cross-site Scripting )


  - html코드를 string format를 통해서 escape처리

    : 의도하지 않는 사용자의 조작된 코드를 방지

return "<'h1>hello, %s! <'/h1>" % user


3. XRF( Cross-site request forgery )


  - flask패키지를 통해서 입력폼을 검증

<form method="POST" action="/"> {{ form.csrf_token }} {{ form.name.label }} {{ form.name(size=20) }} <input type="submit" value="Go"> </form>





* 참조 


https://swalloow.github.io/flask-security , python


https://www.google.co.id/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwiTvfvjh-_UAhUDp48KHdanCqcQFggzMAI&url=https%3A%2F%2Fwww.cs.utexas.edu%2F~shmat%2Fcourses%2Fcs380s_fall09%2F10webappsecurity.ppt&usg=AFQjCNGMlgsoxIp_n-fNUf_Y_XrWg6Inig , Security of Web Applications



http://flask.pocoo.org/docs/0.12/security/, flask


http://nisam.tistory.com/8 , PHP


http://code1018.tistory.com/89, PHP

'Web Tech. > Python' 카테고리의 다른 글

Python Lists 강좌 ( 원문, google.com )  (0) 2017.07.05
Python 예제  (0) 2017.07.04
vagrant up, Authentication failure. Retrying 발생시  (0) 2017.05.16
빅데이타와 Python  (0) 2017.02.07
Eclipse(이클립스), Python Editor 설치  (0) 2016.11.16
블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

Iterative(점증적) 개발 방법론 




1. 반복 점증적 개발



- 많은 사람들은 자연스럽게 프로젝트에서 지칠때까지 가능한 많은 코드를 만드는 부분부터 시작을 한다. 이런 방법은 빠른것 처럼 느껴지지만, 마무리는 버그를 찾거나 코드를 검사하는 부분에 더 많은 시간을 소비하게 된다.


- 다른 옵션은 코드를 작은 조각들로 만들고, 이쪽은 한개의 페이지로 작업하고, 저쪽은 다른 기능들로 모아서 다함께 합친다. 이것은 조금 더 체계적이지만, 모든 코드를 통합할떄, 몇가지 버그를 발견할 것이다. 또한, 전체 프로젝트가 마무리 되기까지는 작업중인 시험제품을 갖기를 원하지 않는다.


- 그리나, 다른 접근 방법을 취하면, 시작할때는 아주 단순하게 그리고, 진행하면서 점점 복잡하게 만들면 어떨까요? 이전 기능이 마무리 되지 전까지는 새로운 기능을 추가하지 않는다.

각 기능에서 멈추고, 테스트, 디버그 그리고 공유를 통해 만들고 있는 어플케이션을 확인을 받는다. 심지어 초기 단계의 아주 간단한 것이라도.


이 방법으로 누구나 프로젝트를 만드는 단계에 참여하고, 고객이나 매니저나 팀원들까지, 항상 프로젝트의 단계를 알계되고, 어떤 개선사항이 추가되어야 하는지 알게 된다.


이런 방식은 점진적 개발 방법이라 부르고, 이 방법이 애자일 방식안에서 개발자가 코딩을 하도록 만들어 준다.



2. 복잡한 프로젝트 개발에서



- 훌륭한 웹 어플리케이션을 만드는 방법은 훌륭한 계획을 갖는 것이다. 각 단계를 마치면, 시제품의 갖추여야 할 것을 정의 한다.


브레인 스토밍을 통해서 원하는 산출물의 checklist를 만들 수 있다. 프로젝트를 작은 단위로 나누고, 미니 프로젝트들을 관리하는 것이 쉬워지고, 이런 각 개발의 반복들로 완성품을 얻게  된다.



단계 1) Mock-ups


: WireFrame을 작성




단계 2) Adding Routes 


:  보여주는 메시지는 각 페이지에서 보여줄 내용으로 작성 


예) 이 페이지는 모든 레스트랑을 보여 줍니다. ( This page will show all restaurants. )




단계 3) Templates & Forms


:  보여줄 화면을 기본 html로 작성하거나 css까지 마무리 ( 이떄, template 엔진을 사용 ) 



블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.


Tangent 기울기







* delta x = cos(theta)

* delta y = sin(theta)


블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.

github에 업로드 하기 ( from Window )



* github에 저장소 만들기


1. github에 신규 저장소 생성 ( Create a new repository )




* 로컬 저장소(PC 또는 작업 디렉토리)


2. Open Git Bash ( 작업 디렉토리에서 )


3. Git 저장소를 초기화 ( 작업 디렉토리에서 )


$ git init



4. 로컬 저장소에 변경된 부분을 추가


$ git add .  (또는 git status로 변경된 부분을 확인후 개별 등록 가능 )



5. Commit (변경된 부분에 대한 주석 추가)


$ git commit -m "First commit"



* 6-7은 fork하는 원본 저장소의 변경 사항을 가져올떄만...


6. Copy link the remote repository URL ( Copy URL )


7. 로컬 저장소에 remote repository를 추가


$ git remote add origin [remote repository URL]



8. Push the changes to GitHub ( 업로드 등록 )


$ git push origin master




참조 : https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/




* git pull 과 fetch 차이


- fetch는 merge없이 다운로드

- pull은 merge하고 다운로드


http://silvernine.me/wp/?p=309

'Web Tech. > PHP, Web' 카테고리의 다른 글

checkbox로 <div>를 감추거나 보여주거나  (0) 2017.11.24
sqlmap - a penetration testing tool  (0) 2017.11.20
Chrome, Inspect  (0) 2017.04.05
Bootstrap 시작 하기  (0) 2017.02.07
3. OctoberCMS , Creating Themes  (0) 2017.01.20
블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,
노출되는 이미지가 불편하시겠지만 양해를 구합니다. 노출, 클릭등에 관한 자료로 활용 중입니다.


vagrant up시에 Authentication failure. Retrying...가 반복될때



Oracle VM VirtualBox(4.3.2사용)를 통해서 실행시에,


오른쪽과 같이 에러가 발생하면,


==> default: Waiting for machine to boot. This may take a few minutes...

    default: SSH address: 127.0.0.1:2222

    default: SSH username: vagrant

    default: SSH auth method: private key

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...

    default: Warning: Authentication failure. Retrying...


1. vagrant ssh-config로 IdentityFile 위치를 확인하고,

2. insecure_private_key.pub의 내용을 복사한다.


3. 다른 bash에서 vagrant ssh를 실행하고, password는 vagrant입력하고 접속한다.

4. 접속후에 .ssh/authorized_keys파일에 복사한 내용을 붙여넣기 한다.



5. 4번이 완료되면, 오른쪽 창이 다음 단계로 넘어간다.



* 명령어 


vagrant up , https://www.vagrantup.com/docs/cli/up.html 

vagrant ssh , https://www.vagrantup.com/docs/cli/ssh.html



'Web Tech. > Python' 카테고리의 다른 글

Python 예제  (0) 2017.07.04
Python, Web 보안 (기초)  (0) 2017.07.04
빅데이타와 Python  (0) 2017.02.07
Eclipse(이클립스), Python Editor 설치  (0) 2016.11.16
Python/파이썬 설치  (0) 2016.11.16
블로그 이미지

StartGuide

I want to share the basic to programming of each category and how to solve the error. This basic instruction can be extended further. And I have been worked in southeast Asia more than 3 years. And I want to have the chance to work another country.

,