Programming/web 관련2018. 8. 21. 10:36

웹 퍼블리싱 관련 이것저것 보다 보니 보여서 검색


일단 semantic은 "의미적"이라는 뜻인데

기존의 <b>와 같이 bold로 굵게 하라는 행동 기반이 아닌

<strong>이라는 강하게 표현하고 표현 방식은 뒤로 맡기는 그런 류의 접근 방식으로 보인다.


가장 많이 보는 걸로는

<header>

<nav>

<section>

<footer> 등이 있다고 하면 간단하게 이해 될 듯


HTML구성 요소로서 어떠한 보여주는게 아닌

어떠한 문맥을 의도를 보여주는 meta 데이터로서의 tag 라고 하면 되려나?


[링크 : https://www.w3schools.com/html/html5_semantic_elements.asp]

[링크 : http://west849.tistory.com/4]

[링크 : http://coderap.tistory.com/499]

'Programming > web 관련' 카테고리의 다른 글

table border-spacing  (0) 2018.08.27
웹페이지 탭메뉴 만들기  (0) 2018.08.22
sketch 플러그인  (0) 2018.08.13
jquey dom  (0) 2018.08.10
eclipse php sftp  (0) 2017.10.03
Posted by 구차니
Microsoft/Windows2018. 8. 21. 09:49

관리자 권한으로 하지 않으면 enable은 되어도 disable은 작동하지 않고

"No Matching Devices" 에러만 뱉어낸다.

그리고 @를 붙여줘야 인스턴스 아이디로 인식을 한다.


devcon.exe disable "@<instace ID>" 

[링크 : https://stackoverflow.com/questions/27737232/devcon-disable-cannot-disable-device-not-found]


---


머야 왜 안돼 ㅠㅠ

C:\>devcon help

Device Console Help:

devcon [-r] [-m:\\<machine>] <command> [<arg>...]

-r           Reboots the system only when a restart or reboot is required.

<machine>    Specifies a remote computer.

<command>    Specifies a Devcon command (see command list below).

<arg>...     One or more arguments that modify a command.

For help with a specific command, type: devcon help <command>

classfilter          Add, delete, and reorder class filters.

classes              List all device setup classes.

disable              Disable devices.

driverfiles          List installed driver files for devices.

drivernodes          List driver nodes of devices.

enable               Enable devices.

find                 Find devices.

findall              Find devices, including those that are not currently attached.

help                 Display Devcon help.

hwids                List hardware IDs of devices.

install              Install a device manually.

listclass            List all devices in a setup class.

reboot               Reboot the local computer.

remove               Remove devices.

rescan               Scan for new hardware.

resources            List hardware resources for devices.

restart              Restart devices.

sethwid              Modify Hardware ID's of listed root-enumerated devices.

stack                List expected driver stack for devices.

status               List running status of devices.

update               Update a device manually.

updateni             Manually update a device (non interactive).

dp_add               Adds (installs) a third-party (OEM) driver package.

dp_delete            Deletes a third-party (OEM) driver package.

dp_enum              Lists the third-party (OEM) driver packages installed on this machine. 


요즘에는 배터리 갈아주고 나니 별 문제 없어 진 느낌이지만 아무튼 하려던건 해봐야 하니!

끄고 싶은 "HID 규격 터치 스크린"의 장치 경로는 아래와 같은데


devcon findall *을 통해서 검색을 하면 아래처럼 HID 라는 이름만 나온다.. 어떻게 해야하려나..

C:\>devcon findall *

HID\NTRG0001&COL04\5&63F74D3&1&0003                         : HID

BTHENUM\{00001200-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&07A2\7&3A48118&0&281878619480_C00000000:

HID\NTRG0001&COL03\5&63F74D3&1&0002                         : HID

HID\NTRG0001&COL02\5&63F74D3&1&0001                         : HID

HID\NTRG0001&COL01\5&63F74D3&1&0000                         : HID

174 matching device(s) found. 


VID PID 나온거라던가

여러가지 해보는데 영 안됨...

Disable filed No matching devices found.


혹시 devcon 프로그램이 한글 명칭은 인식 못하는 건가?

[링크 : https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-disable]

[링크 : https://www.makeuseof.com/tag/toggle-touchscreen-windows-10/]

Posted by 구차니

tortoiseGIT으로 하면 알아서 add + commit 하는건진 모르겠지만

파일을 수정하고 git bash에서 commit 하려고 하니 아래와 같은 에러가 발생한다.

$ git commit

On branch master

Your branch is up to date with 'origin/master'.


Changes not staged for commit:

        modified:   web/pagelet/login.html


no changes added to commit 


아무튼.. add 하고 하면 M의 위치가 서로 달라지는데 stage의 의미를 아직 이해 못해서 그런걸지도...

$ git st

 M login.html 

$ git add login.html

$ git st

M  login.html


[링크 : https://blog.outsider.ne.kr/1247]


staging을 좀 더 봐야겠다.. ㅠㅠ

[링크 : https://blog.npcode.com/2012/10/23/git의-staging-area는-어떤-점이-유용한가/]

[링크 : http://resoneit.blogspot.com/2013/10/git-stage-area.html]



지금 다시 보니 조금 이해가 되네.. 일단 modified 하고 나서도 staged 상태로 가지 않으면 commit이 되지 않는다.

svn에서는 수정하면 modified = staged 개념이었는데

git 에서는 modifed 되었다고 하더라도 개인 수정을 인정하고 무조건 업데이트 안하는 구조라 그런건가?

[링크 : https://git-scm.com/book/ko/v1/Git의-기초-수정하고-저장소에-저장하기]

'프로그램 사용 > Version Control' 카테고리의 다른 글

git branch  (0) 2018.08.22
git add / reset / checkout  (0) 2018.08.22
git st (alias 사용하기)  (0) 2018.08.14
git status -s  (0) 2018.08.14
git mv 와 log  (0) 2018.08.14
Posted by 구차니
Programming/css2018. 8. 20. 13:22

모든 것의 원흉은 이녀석이었나..

단순하게 div를 왼쪽부터 딱딱딱 원하는 순서로 쌓는용도로만 생각을 했는데

말그대로 float 하게 하는거라 내가 의도하는 것과는 전혀 다른 형태로 작동해서 멘붕중


정 안되면

style="clear:both;" 와

style="overflow:hidden;" 을 해주면 내가 쓰려는 용도로는 충분하네..


[링크 : http://naradesign.net/wp/2008/05/27/144/]

[링크 : http://blog.wystan.net/2008/09/11/css-overflow-clearing-float]


overflow:hidden은 float로 하면 구성요소에서 빠져나가

상위 div의 높이 계산이 갱신되지 않는데, overflow:hidden을 해주면 float로 된 div를 포함하여 높이를 계산한다.

'Programming > css' 카테고리의 다른 글

css selector  (0) 2018.08.21
css BEM( Block Element Modifier)  (0) 2018.08.21
css 우선순위  (0) 2018.08.09
css 문법 - id / class  (0) 2016.01.11
html css 적용 방법  (0) 2016.01.11
Posted by 구차니
개소리 왈왈/컴퓨터2018. 8. 19. 22:18

우클릭 드래그 해서 선택하고 축소하는데 너무 버벅거려서 미쳐버린 1인


1. Surface Pro 2를 지른다(응?) 유일한 와콤펜 사용

2. 걍 마음을 비우고 Pro 3로 돌아온다(무거운 어댑터와 함께)

3. 미친척 펜만 들고가서 하이마트에서 Pro 4를 써보고 고민한다(사줭!!!!)

4. 공책이 최고이니라~ (그럴순없지!)



그나저나 웹 브라우저는 잘 도는데 성능 차이 많이 나는게..

부동소수점 때문이려나? 라는 생각이 든다.


원노트에서 선택영역 내에 그어진 선이 포함되냐 안되냐 연산을 해야 하는데

글 쓰고 하는건 별 문제 없고 선택만 그런걸 봐서는...?


+

win10용 원노트를 써보니 상당히 가볍게 잘 작동한다.

멀티터치로 줌인/아웃도 되고.. 결론은.. office 365 구매해서 연동해서 쓰는건가?

흐음...

Posted by 구차니
개소리 왈왈/컴퓨터2018. 8. 18. 19:36

데스크탑용 어플 깔고하니 편하네


일단 백업은 필요없고

Google 드라이브 동기화로

특정 폴더 하나를 구글 드라이브에 만들고

그것만 동기화 하니 완전 편함


(처음에 내 컴퓨터라고 해서 백업인지 모르고 하다가 이상한데 저장되고 동기화 잘 안되서 고민했음..)

Posted by 구차니
Programming/node.js2018. 8. 17. 19:31

node.js에서 소스 건드리면 빌드하고

자동으로 웹 브라우저 리프레시 하는데 그게 신기해서 검색


[링크 : https://www.npmjs.com/package/browser-refresh]

[링크 : http://2ality.com/2012/08/jsreload.html]


+ 2018.09.04

전에 한걸 보니 node.js가 아니라 angular 였고, 

순수 node.js에서는 서버 재시작이나 브라우저 갱신이 지원되지 않는다.


그래도 위의 browser-refresh가 더 인기가 좋은 듯

[링크 : https://www.npmjs.com/package/reload]


+ 2018.09.06

[링크 : https://medium.com/engineering-on-the-incline/reloading-current-route-on-click-angular-5-1a1bfc740ab2]

'Programming > node.js' 카테고리의 다른 글

node.js와 웹소켓  (0) 2018.09.03
node.js 와 v8  (0) 2018.08.29
node.js odroid  (0) 2018.08.29
html5 / css3 / jquey ajax / angularJS  (0) 2018.08.08
typescript - ts  (2) 2018.08.07
Posted by 구차니
개소리 왈왈/컴퓨터2018. 8. 17. 18:26

1280x800 해상도에 500ANSI(최대)

스펙상 3만 시간 LED 조명


[링크 : http://www.10x10.co.kr/shopping/category_prd.asp?itemid=1151455]



회사에 굴러 다니는게 있어서 제품명 검색해보니 탐나네..

나중에 중고로 사서 집에다가 설치하고

누워서 천장에다 볼까? ㅋㅋ

Posted by 구차니
Microsoft/Windows2018. 8. 17. 12:25

윈10에 포함된 무료 버전(?) onenote는 구 버전의 onenote 어플리케이션과 호환되지 않는다.

기존의 .one 파일을 onedrive에 올려도, onenote를 통해서 뜨지 않는다 -_-


사용하려면

1. 구글 드라이브로 동기화 + 구버전 onenote 사용

2. onedrive + onenote(구버전)

3. 신버전 onenote에 전부 새로 작성

이런 방법이 떠오르는데 어떤게 나으려나...



+

그나저나.. 핸드폰이 노트2인데 킷캣 이라 그런건가..

안드로이드 킷캣용 onenote에서 작성했던 내용은 win10용 onenote에 뜨지 않는다. 



+

web으로 공유하기 해주어야 하는건가?

[링크 : https://www.tenforums.com/.../50065-import-onenote-2010-into-windows-10-onenote.html]


해보니 지원하지 않는지 빈 파일만 생성되고 내용이 웹으로 올라가지 않는다

그리고 office365 쓰지 않으면 웹상에서 편집은 가능해도 파일로 내려받기는 안되는 거 같기도 하고..

(onedrive정책 문제인 것 같기도 한데, onedrive에서 올릴순 있어도 파일로 받을수가 없으면 무슨 의미야..)


+

결국은 1번으로 해서 구글 드라이브로 다른 컴퓨터간의 동기화 진행하고

구버전 원노트 쓰는걸로 결론..

Posted by 구차니

출근길 교차로

찌는 듯한 햇살을 피할데가 없어서 표지판 기둥에 숨었다.



'개소리 왈왈 > 사진과 수다' 카테고리의 다른 글

php  (2) 2018.10.04
eos r  (2) 2018.09.19
옥수수, 그리고 무궁화  (0) 2018.08.04
먹방 느낌의 사진  (2) 2018.08.04
영월 밤하늘 은하수  (0) 2018.08.03
Posted by 구차니