본문 바로가기

전체 글

(224)
Tortoise SVN 에서 폴더별 권한을 주는(설정) 방법 Tortoise SVN 관리자가 각 폴더별로 권한을 설정하는 방법을 알아본다. 권한 설정 방법은 ~conf/authoz 파일에서 설정을 하고 실질적인 작업은 Repository에서 진행되기 때문에 권한 설정 변경시 정상 적용을 확인하기 어려운 부분이 있다. Repository browser와 authoz 파일을 비교하면서 설명을 진행한다. 1. 구분할 경로(폴더) 명을 확인 2. 그룹이나 사용자를 설정 3. 각 폴더 별 권한 설정 1. 구분할 경로(폴더) 명을 확인 admin에서 확인해보면 Proj, test가 최상위 폴더임을 확인할 수 있다. 2. 그룹이나 사용자를 설정 [groups] adminGroup = admin, myName develop = hana, jang UI = tester 상기 코드..
git 업로드 하기 1. github repository 생성(wep) 2. git init(PC) 3. git add(PC) 4. git 커밋하기 5. git 푸쉬하기 6. github 확인하기 1. github repository 생성(wep) *절대 'Initialize this repository with a README'를 체크하지 말자(차라리 나중에 add 하면되니 그냥 넘어가자) 2. git init(PC) 적당한 폴더 위치를 잡고 진행한다. (빈 폴더에서 시작) $ git config --global user.name "닉네임" $ git config --global user.email "이메일" **초기만 수행** $ git init $ git status 3. git add(PC) $ git add * $..
파이선 속성! 4 패키지 모듈 # from animal import dog # from animal import cat # d = dog.Dog() # d.hi() # c = cat.Cat() # c.hi() from animal import * d = Dog() c = Cat() d.hi() c.hi()
파이선 속성! 3 class Person: var sampleVar def __init__(self, name, age): self.name = name self.age = age def say_hello(self, to_name) print("hello! " +to_name + "I am" + self.name) def introduce(self): print("my name is" + self.name + "and I am " + str(self.age) + "years old") class Teacher(Person) def teach(self, to_teach): print("I am teaching" + to_teach) sam = Teacher("jenny", 28) sam.introduce() sam.teac..
파이선 속성! 2 클래스 class Person: var sampleVar def __init__(self, name, age): self.name = name self.age = age def say_hello(self, to_name) print("hello! " +to_name + "I am" + self.name) def introduce(self): print("my name is" + self.name + "and I am " + str(self.age) + "years old") Elsa = Person("엘사", 18) Elsa.introduce() self.name #python에서 생성자는 __init__(self) 이다. 자바는 public Person(){}과 같이 사용한다. #java에서 사용되는 ..
Python 속성! 조건문 if a < 10: print("apple") elif a = 10: print("banana") else: print("pineapple") 함수 def 함수명(매개변수): 내용 def chat(name1, name2, age): print("%s : hi, how old are you?" % name1) print("%s : hello, I`m %d years old" % (name2, age)) return 'wow' print(chat("수호", "성호", 20)) 반복문 for 반복문 0부터 시작 for i in rangle(10): print("repeat 10 times") c++ for(int i =0; i< 10 ; i++) while 반복문 while i
Nodejs 사용한 NaverAPI 적용해보기 Naver Open API를 Nodejs로 사용해 보자. Node.js 설치 https://nodejs.org/ko/download/current/ 다운로드 | Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org Node.js 를 다운로드 받아 설치해야한다. LTS를 다운로드 받는것을 추천 npm을 설치해 줘야한다. Naver API에서 셈플로 제공되는 소스를 실행해 본다. var resmsg; var request = require('request'); var client_id = '8QZzmH60Wp6YMM4CEILM'; var client_secret = 'gzilIdUQ6E'; var ..
리눅스 Shell Script 생성하기 cmd 기반의 리눅스 환경에서 작업을 진행할 때 지속적으로 작업해야 하는 명령어들을 한 번에 모아서 실행하고 싶을 때가 있다. 이때 쓰기 쉬운방법이 Shell script를 사용하는 것이다. test.sh 파일 예제를 들어 설명해 보도록 하겠다. $vi test.sh "키입력 i"
Ubuntu 16.4 LTS 에서 Ubuntu 18.4 LTS 변경시 유의 기존 YOCTO 프로젝트를 Ubuntu 16.4 LTS에서 개발하다가 AP 사용을 위해 Ubuntu 18.4 LTS를 사용해야 할 때 기존 방법으로 18.4 LTS에 YOCTO 프로젝트를 빌드하면 아래와 같은 에러가 발생한다. Log.do_install 파일 내 Traceback (most recent call last): File "../../../bind-9.10.6/bin/python/setup.py", line 17, in from distutils.core import setup ModuleNotFoundError: No module named 'distutils.core' Makefile:465: recipe for target 'install' failed make[2]: *** [insta..
Fritzing 프로그램 설치 프로그래밍에 관심이 많아지는 요즘 쉽게 접할 수 있는 Arduino를 사용해 프로그래밍을 입문하는 사람이 늘어나고 있다. 개발을 공부하는 것만큼 개발한 내용을 정리하는 것도 중요하다. 오늘 설명할 도구는 아두이노 프로젝트 개발 시에 유용한 도면을 그리는 프로그램이다. 일전에는 무료로 사용할 수 있었으나 현재는 유로화로 돌아선 것으로 보인다. 하지만 이번장에서는 무료로 사용할 수 있는 방법을 설명한다. Fritzing 공식 홈페이지는 하기와 같다 http://fritzing.org/projects/circuit-sketch Fritzing Fritzing is an open-source hardware initiative that makes electronics accessible as a creative..

반응형