목록전체보기 (248)
메모장 입니다2

https://jsfiddle.net/ Create a new fiddle - JSFiddle jsfiddle.net 1.Box 모델 2.화면포시 모델 3.position:fixed 스크롤 내려도 항상 그 위치에 존재 -조잡한 기사의 ad같은 느낌(스크롤 내려도 따라오는 광고) 4.플로팅(한쪽에 붙이기) : 스크롤바 옮겨도 붙은 상태로 계속 있음(fixed랑 비슷) 5.가운데 정렬
보호되어 있는 글입니다.
#without ljust size = 입력값 크기 payload = data... payload += '\x00'*(size - len(payload)) #using ljust, rjust payload = data... size = 입력값 크기 payload = payload.ljust(size, '\x00')

1.git blame [파일명] : 해당 파일의 변경기록을 확인할 수 있음 root@goorm:/work/git/report-card(master)# git blame report_card.c dc0304ed (woounnan 2019-07-18 14:47:42 +0000 1) #include dc0304ed (woounnan 2019-07-18 14:47:42 +0000 2) dc0304ed (woounnan 2019-07-18 14:47:42 +0000 3) int main() dc0304ed (woounnan 2019-07-18 14:47:42 +0000 4) { 2c95666b (woounnan 2019-07-19 13:21:25 +0000 5) int kor, eng, math; 2c95666b..

1.pull request 보내기 - 다른 사람 project에 내 commit을 제출한다. - 방법 1)대상 프로젝트를 fork 해서 내 저장소로 가져옴 2)가져온 프로젝트를 git clone [URL] 로 로컬 시스템에 가져옴 3)git checkout -b develop 으로 새로운 branch 만들어줌.(branch는 윈도우 사용자 계정같은 feel) *learn the branch 4)폴더, 파일 수정한 뒤, 해당 폴더를 commit (add 해주고, commit -m "~~~" 해주고) 5)마지막 내 git 저장소에 해당 branch(develop)를 push 해줌 `git push origin(저장소 name) develop(branch name)` 6)git 원격저장소에서 develop b..
wiki python https://wiki.python.org/moin/DebuggingWithGdb DebuggingWithGdb - Python Wiki There are types of bugs that are difficult to debug from within Python: segfaults (not uncaught Python exceptions) hung processes (in cases where you can't get a Python traceback or debug with pdb) out of control daemon processes In these cases, you can tr wiki.python.org
bin_yes_ur = """ 55 48 89 E5 48 83 EC 20 64 48 8B 04 25 28 00 00 00 48 89 45 F8 31 C0 48 B8 74 61 74 61 74 61 74 """.replace('\n', '') print bin_yes_ur list_temp = bin_yes_ur.split(' ') bin_yes_ur = '' list_temp = filter(None, list_temp) for x in list_temp: print 'x: ' + x bin_yes_ur += chr(int(x, 16)) print bin_yes_ur

1.변경된 파일 commit 1)파일(report_card.c) 바뀐 상태에서 git status root@goorm:/work/git/report-card(master)# git status On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: report_card.c Untracked files: (use "git add ..." to include in what will be committed) work/ no changes added ..