목록Study/Programming (86)
메모장 입니다2

https://jsfiddle.net/ Create a new fiddle - JSFiddle jsfiddle.net 1.Box 모델 2.화면포시 모델 3.position:fixed 스크롤 내려도 항상 그 위치에 존재 -조잡한 기사의 ad같은 느낌(스크롤 내려도 따라오는 광고) 4.플로팅(한쪽에 붙이기) : 스크롤바 옮겨도 붙은 상태로 계속 있음(fixed랑 비슷) 5.가운데 정렬

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..
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 ..

*.파일 -예제파일 -강의 파일 1.초기설정 root@goorm:/workspace/myserver# git config --global --unset credential.helper root@goorm:/workspace/myserver# git config --system --unset credential.helper root@goorm:/workspace/myserver# git config --global user.email woounnan@gmail.com root@goorm:/workspace/myserver# git config --global user.name "woounnan" 2.동작 과정 3.git add / git show / git commit -m 'message' 1) pdf ..

1.형 변환 package main import "fmt" func main() { var num1, num2, num3 int fmt.Scanln(&num1, &num2, &num3) new1 := float32(num1) new2 := uint(num2) new3 := int64(num3) fmt.Printf("%T, %f\n", new1, new1) fmt.Printf("%T, %d\n", new2, new2) fmt.Printf("%T, %d\n", new3, new3) } 2.입력 package main import "fmt" func main() { var i, j int fmt.Print("주민등록번호를 -를 이용해 입력하세요 :") fmt.Scanf("%d-%d", &i, &j) fmt.P..
1.print fmt.Print Println Printf - format 2.사용하지 않는 값들이 있을 경우 컴파일 에러 발생 3.변수 -선언 var a int = 1 var b string = "Hello" var c //형에 따른 Zero value(0, false, '') 자동설정됨 c := 1 d := 'hello' //형 지정 안해도 됨, 지역변수만 사용가능 4.함수 -익명함수 add = func(nums ...int) (count int, list []string) { ... return } var nums = []int{10, 12, 13} fmt.Print(add(nums)) add = func(nums ...int) (count int, list []string) { ... return..