그냥

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

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

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

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


[링크 : 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 구차니

-fflags nobuffer는 초기 속도에 영향을 안주는 것 같네..


probesize integer (input)

Set probing size in bytes, i.e. the size of the data to analyze to get stream information. A higher value will enable detecting more information in case it is dispersed into the stream, but will increase latency. Must be an integer not lesser than 32. It is 5000000 by default.

[링크 : https://www.ffmpeg.org/ffmpeg-formats.html#Format-Options]


-r[:stream_specifier] fps (input/output,per-stream)

Set frame rate (Hz value, fraction or abbreviation).


As an input option, ignore any timestamps stored in the file and instead generate timestamps assuming constant frame rate fps. This is not the same as the -framerate option used for some input formats like image2 or v4l2 (it used to be the same in older versions of FFmpeg). If in doubt use -framerate instead of the input option -r.


As an output option, duplicate or drop input frames to achieve constant output frame rate fps.

[링크 : https://ffmpeg.org/ffmpeg.html#Video-Options]


Also setting -probesize and -analyzeduration to low values may help your stream start up more quickly (it uses these to scan for "streams" in certain muxers, like ts, where some can appears "later", and also to estimate the duration, which, for live streams, the latter you don't need anyway). This should be unneeded by dshow input.


Reducing cacheing at the client side can help, too, for instance mplayer has a "-nocache" option, other players may similarly has some type of pre-playback buffering that is occurring. (The reality is mplayers -benchmark option has much more effect). 

[링크 : https://trac.ffmpeg.org/wiki/StreamingGuide#Latency]

    [링크 : https://stackoverflow.com/.../how-to-minimize-the-delay-in-a-live-streaming-with-ffmpeg]


+

2018.12.20

ffmpeg -h full | grep 'analyzeduration\|probesize'


-probesize         <int>        .D.... set probing size (from 32 to INT_MAX)

-analyzeduration   <int>        .D.... specify how many microseconds are analyzed to probe the input (from 0 to INT_MAX) 

[링크 : https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-March/014297.html]


고정적으로 5초 이상 잡히는건 이 녀석 때문이었던 듯?

analyzeduration integer (input)

Specify how many microseconds are analyzed to probe the input. A higher value will enable detecting more accurate information, but will increase latency. It defaults to 5,000,000 microseconds = 5 seconds. 

[링크 : https://www.ffmpeg.org/ffmpeg-all.html]


+

-probesize 32 -analyzeduration 0 

만세~!

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg h264 encoding 옵션  (0) 2019.02.22
ffmpeg으로 비디오 비트레이트 바꾸기  (0) 2019.02.22
ffmpeg / ffplay cli interactive interface  (0) 2018.11.30
ffmpeg concat  (0) 2018.11.05
ffmpeg concat  (0) 2018.10.10
Posted by 구차니