'잡동사니'에 해당되는 글 13451건

  1. 2018.12.19 dfrobot ph meter
  2. 2018.12.19 촉법소년 기준을 낮출 필요있나?
  3. 2018.12.19 ubuntu test page 위치
  4. 2018.12.18 epson 프린터 유틸리티 관련
  5. 2018.12.18 lpstat
  6. 2018.12.18 lp lpr
  7. 2018.12.18 localstorage sessionStorage
  8. 2018.12.18 cups / lp로 출력하기
  9. 2018.12.17 네이버 지도 API - 열지도(가시화)
  10. 2018.12.17 출장.. 2
embeded/arduino(genuino)2018. 12. 19. 18:19

한동안 가지고 놀게 될(?) 부품

[링크 : https://www.dfrobot.com/wiki/index.php/PH_meter(SKU:_SEN0161)]

[링크 : https://www.dfrobot.com/wiki/index.php/Analog_pH_Meter_Pro_SKU:SEN0169]

[링크 : https://www.dfrobot.com/wiki/index.php/PH_meter_V1.1_SKU:SEN0161]


+

Reads the value from the specified analog pin. The Arduino board contains a 6 channel (7 channels on MKR boards, 8 on the Mini and Nano, 16 on the Mega), 10-bit analog to digital converter. This means that it will map input voltages between 0 and 5 volts into integer values between 0 and 1023. This yields a resolution between readings of: 5 volts / 1024 units or, .0049 volts (4.9 mV) per unit. The input range and resolution can be changed using analogReference().

It takes about 100 microseconds (0.0001 s) to read an analog input, so the maximum reading rate is about 10,000 times a second. 

[링크 : https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/]

[링크 : https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/]

[링크 : https://forum.arduino.cc/index.php?topic=16585.0]


+

회로도 및 부품 데이터시트

[링크 : http://image.dfrobot.com/image/data/SEN0161/pH%20meter%20V1.0%20SCH.pdf]

[링크 : http://ww1.microchip.com/downloads/en/DeviceDoc/20001358D.pdf]

[링크 : https://pdf1.alldatasheet.co.kr/datasheet-pdf/view/177131/TI/TL081BCDG4.html]

Posted by 구차니

그냥

촉법소년으로 보호받지 못하는 강력범죄를 규정짓고

일반적인 범죄는(?) 보호해주고

일반적인 인식으로 선을 넘어서는 강력범죄에 대해서 예외로

촉법소년으로 보호해주지 않으면 간단하지 않을까?


[링크 : https://news.v.daum.net/v/20181219162419083]

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

길빵이 늘어난 이유가..  (0) 2019.01.26
빠른생일인 사람은 좋은줄 아나보네  (2) 2019.01.02
12월 12일  (2) 2018.12.12
일본놈들은 애니라도 있지  (7) 2018.11.11
이틀 늦은 출근일기  (2) 2018.10.06
Posted by 구차니
Linux/Ubuntu2018. 12. 19. 11:04

ubuntu 16.04

/usr/share/cups/data/testpage

/usr/share/cups/data/default-testpage.pdf

[링크 : https://askubuntu.com/questions/47815/where-can-i-find-the-default-printing-test-page]



+

centos 7 에서 확인

[root@localhost data]# ll

합계 48

-rw-r--r-- 1 root root 39852  8월  3  2017 default-testpage.pdf

-rw-r--r-- 1 root root   845  8월  3  2017 default.pdf

-rw-r--r-- 1 root root   234  8월  3  2017 testprint


[root@localhost data]# file *

default-testpage.pdf: PDF document, version 1.5

default.pdf:          PDF document, version 1.5

testprint:            ASCII text 


[root@localhost data]# cat testprint

#PDF-BANNER

Template default-testpage.pdf

Show printer-name printer-info printer-location printer-make-and-model printer-driver-name printer-driver-version paper-size imageable-area job-id options time-at-creation time-at-processing


[링크: https://forums.opensuse.org/showthread.php/478727-CUPS-test-page]

'Linux > Ubuntu' 카테고리의 다른 글

우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
ubuntu 18.04 kvm 설치하기  (0) 2019.04.30
epson 프린터 유틸리티 관련  (0) 2018.12.18
lpstat  (0) 2018.12.18
lp lpr  (0) 2018.12.18
Posted by 구차니
Linux/Ubuntu2018. 12. 18. 19:17

드라이버 안깔고는 안해봤네..

Epson L805 가지고 노는중


[링크 : https://epson.com/Support/wa00821]

[링크 : http://download.ebz.epson.net/faq/linux/inkjetprinter.html]

[링크 : http://download.ebz.epson.net/man/linux/]


제조사 제공은 아님

[링크 : https://linux.die.net/man/1/escputil]


-r /dev/usb/lp0 식으로 쓴다면 -P로 명칭을 쓸 수 있다는데

L805에 맞는 적당한 명칭을 찾지 못하겠다...

그리고 -P로는 잉크청소라던가 여러가지 기능은 못쓰게 제한 되는 듯?

$ escputil -P Stylus-C45 -m C45 -u -c 

[링크 : https://enggaraguilera.wordpress.com/2008/01/02/my-lovely-escputil/]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 18.04 kvm 설치하기  (0) 2019.04.30
ubuntu test page 위치  (0) 2018.12.19
lpstat  (0) 2018.12.18
lp lpr  (0) 2018.12.18
ubuntu desktop shortcut  (0) 2018.12.06
Posted by 구차니
Linux/Ubuntu2018. 12. 18. 19:12

lp lpr lpadmin lpstat 등등

line printer 관련 명령어들인데 lpstat은 queue 관련을 볼 수 있는 듯?

[링크 : https://en.wikipedia.org/wiki/Line_printer]

[링크 : https://askubuntu.com/questions/37247/is-there-an-easy-way-to-view-the-print-queue]

[링크 : https://www.cups.org/doc/man-lpstat.html]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu test page 위치  (0) 2018.12.19
epson 프린터 유틸리티 관련  (0) 2018.12.18
lp lpr  (0) 2018.12.18
ubuntu desktop shortcut  (0) 2018.12.06
do-release-upgrade와 apt-get dist-upgrade  (0) 2018.09.28
Posted by 구차니
Linux/Ubuntu2018. 12. 18. 19:10

'Linux > Ubuntu' 카테고리의 다른 글

epson 프린터 유틸리티 관련  (0) 2018.12.18
lpstat  (0) 2018.12.18
ubuntu desktop shortcut  (0) 2018.12.06
do-release-upgrade와 apt-get dist-upgrade  (0) 2018.09.28
tmux  (0) 2018.08.13
Posted by 구차니


웹 스트로지 생명주기와 범위

로컬 스토리지와 세션 스토리지는 저장된 데이터의 생명주기와 범위에 차이가 있다. 로컬 스토리지를 통해 저장된 데이터는 만료기한이 없고, 웹 애플리케이션이 삭제되기 전이나 사용자가 브라우저의 특정 인터페이스를 통해 삭제하기전까지는 사용자의 컴퓨터에 존재하므로 영구적으로 저장된다고 할 수 있다.

[링크 : http://iamawebdeveloper.tistory.com/97]


+

localstorage 저장, 읽기는

setItem()

getItem()을 통해 이루어지고

크롬에서 항목이 없을시 null을 리턴한다.

[링크 : https://stackoverflow.com/questions/2010892/storing-objects-in-html5-localstorage]


+

2018.12.26

삭제시에는 removeitem()을 이용한다.

[링크 : https://developer.mozilla.org/ko/docs/Web/API/Storage/removeItem]

'Programming > javascript & HTML' 카테고리의 다른 글

img vertical-align  (0) 2018.12.28
css text-indent  (0) 2018.12.28
ajax success 콜백 사용하기  (0) 2018.12.15
js __proto__  (0) 2018.12.14
canvas dataURL to Formdata(file)  (0) 2018.12.07
Posted by 구차니
프로그램 사용/CUPS2018. 12. 18. 15:54

lp 파일명

lp 파일명 -o page-top=400 -o page-bottom=400


아래처럼 하니 사진이 무지 작게 나온다. 단위가 멀까?


-o page-bottom=N

-o page-left=N

-o page-right=N

-o page-top=N

Sets the page margins when printing text files. The values are in points - there are 72 points to the inch. 

[링크 : http://www.it.uu.se/datordrift/maskinpark/skrivare/cups/man-lp.html]


+

400/72=5.5 인치(?)

5.5 * 2.54 = 14.097 cm

A4 사이즈가 210mm*297mm 니까 

세로로 찍을때 bottom / top 지정해주면

297 - 140*2 = 17mm 정도 크기로 출력하게 될듯?

Posted by 구차니

열지도 처럼 가중치 줘서 출력 가능하고

출력하는 색상을 바꿀수 있는 듯.

(안개 출력하기 좋으려나?)


[링크 : https://navermaps.github.io/maps.js/docs/data/earthquake_weight.json

[링크 : https://navermaps.github.io/maps.js/docs/tutorial-Visualization.html]

[링크 : https://navermaps.github.io/maps.js/docs/tutorial-5-visualization-dotmap-w.example.html]

Posted by 구차니

아침 5시 반에 일어나서

10시에 업체 도착해서 5:30분까지 시달리다 오니 완전 지치네.. ㅠㅠ


그 와중에 내가 가져간 법카로 회식해야 한다고

회식이라고 강제 소환당한건 안 유머

Posted by 구차니