xz -d 파일.xz

Posted by JinnyDown
,

 sudo vim /etc/samba/smb.conf


[name]

    comment = name

    path = /home/public/name

    read only = no

    writable = yes

    write ok = yes

    public = yes


sudo /etc/init.d/smbd restart


출처: 나

'<프로그래밍> > ___Unix/Linux' 카테고리의 다른 글

kernel에서 user layer에 파일 읽고 쓰기  (0) 2013.10.17
xz 압축 풀기  (0) 2013.10.17
ctags, cscope tag 한번에 만들기  (0) 2013.08.27
vim 잘라내기/복사 후 붙이기  (0) 2013.08.15
vim으로 개발하기  (0) 2013.08.14
Posted by JinnyDown
,

http://appleii.tistory.com/136

Posted by JinnyDown
,

import subprocess 


def get_build_version():

out = subprocess.Popen('ls -al', shell=True, stdout=subprocess.PIPE).stdout 

return out.readline()


출처: http://python.kr/viewtopic.php?t=25176





import popen2


def get_build_version():

r, w, e = popen2.popen3('adb devices')

return r.readlines()

'<프로그래밍> > ___Python' 카테고리의 다른 글

python 명령행 인자 받기  (0) 2013.10.29
python idle 테마 설정  (0) 2013.10.15
python float을 str로 치환  (0) 2013.10.11
python 시간 다루기  (0) 2013.10.11
python sleep  (0) 2013.10.10
Posted by JinnyDown
,

<str 변수 이름> = str(<floag 변수 이름>)


출처:http://stackoverflow.com/questions/1317558/python-converting-a-float-to-a-string-without-rounding-it

'<프로그래밍> > ___Python' 카테고리의 다른 글

python idle 테마 설정  (0) 2013.10.15
python 화면 출력 값을 문자열로 가져오기  (0) 2013.10.14
python 시간 다루기  (0) 2013.10.11
python sleep  (0) 2013.10.10
python 반복문  (0) 2013.10.10
Posted by JinnyDown
,