'프로그램 사용'에 해당되는 글 2258건

  1. 2018.12.13 네이버 지도 겹침마커 처리
  2. 2018.12.07 git tag
  3. 2018.12.05 네이버 지도 흑백으로 바꾸기 2
  4. 2018.12.04 네이버 지도 원 그리기 단위
  5. 2018.11.30 http vlc protocol
  6. 2018.11.30 ffmpeg / ffplay cli interactive interface
  7. 2018.11.27 sqlite dateime
  8. 2018.11.23 docker howto 4
  9. 2018.11.23 docker static ip
  10. 2018.11.22 ncloud 가입 그리고 지도 API v3

의외로(?) 마커의 mouse over 스타일 지정하는걸 발견..

그나저나 예제 코드 드럽게 기네..


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

Posted by 구차니

svn 이랑은 또 개념이 달라서 한참을 봐야 할듯..

걍 branch랑은 다르게 편하게 좀 쓸 수 있을것 같기도 하고..


[링크 : https://git-scm.com/book/ko/v1/Git의-기초-태그]

Posted by 구차니

결론 : 디자이너를 주깁시다 -_-


css 에서는 아래와 같이 filter를 하나 선언해주고

.grayscale {

filter: grayscale( 100% );


jquery를 이용해서 ontile?.map.naver.net 으로 나오는 녀석들이 지도 이미지니까

아래와 같이 해주면 1회에 한해서 흑백으로 나오게 된다.

$('img[draggable][src*="map.naver.net"]').addClass("grayscale") 


[링크 : https://stackoverflow.com/questions/4498177/find-image-src-that-contains]

[링크 : https://stackoverflow.com/questions/835378/jquery-how-to-find-an-image-by-its-src/835472]

[링크 : http://api.jquery.com/attribute-contains-selector/]

Posted by 구차니

당연한거 같긴한데...


단위가 m 란다..

(다른건 위도 경도라서 단위가 멀까 했는데..)


 radius number <optional> 0 도형의 반경입니다. 단위는 미터입니다.

[링크 : https://navermaps.github.io/maps.js/docs/naver.maps.Circle.html]


+

fillOpacity number <optional> 1 도형 영역을 채울 색상의 불투명도입니다. 값의 범위는 0~1입니다. 


투명도 지정하면 원하는걸 적당히 그릴수 있을 듯?

Posted by 구차니
프로그램 사용/VLC2018. 11. 30. 19:34

유튜브 처럼 재생 가능한 비디오 프록시를 찾으려는데 영 쉽지 않네

자체 제작이려나...



seek to <val>:

 ?command=seek&val=<val>
 Allowed values are of the form:
   [+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
   or [+ or -]<int>%
   (value between [ ] are optional, value between < > are mandatory)
 examples:
   1000 -> seek to the 1000th second
   +1H:2M -> seek 1 hour and 2 minutes forward
   -10% -> seek 10% back

[링크 : https://wiki.videolan.org/VLC_HTTP_requests/]

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

vlc 간편 녹화  (0) 2022.08.01
vlc for windows / ascii art ㅋㅋㅋ  (0) 2016.11.22
vlc 옵션 -vvv  (0) 2015.09.15
dash with VLC  (0) 2015.09.11
VLC dshow(캡쳐장비) 해상도 설정  (0) 2015.05.23
Posted by 구차니

ffmpeg를 실행하고 ?를 누르고 엔터치면 아래처럼 무언가 도움말이 나온다.

key    function

?      show this help

+      increase verbosity

-      decrease verbosity

c      Send command to first matching filter supporting it

C      Send/Queue command to all matching filters

D      cycle through available debug modes

h      dump packets/hex press to cycle through the 3 states

q      quit

s      Show QP histogram


c 누르고 하면 먼가 이상한게 뜨는데.. 찾아도 잘 안나온다.

Enter command: <target>|all <time>|-1 <command>[ <argument>]  


찾아보니.. 필터별로 명령어를 보내는 거라고..

libavcodec 쪽으로도 명령어 보내서 네비게이션 가능하려나?

[링크 : https://stackoverflow.com/questions/48635380/ffmpeg-interactive-mode-help-options]

[링크 : https://ffmpeg.org/ffmpeg-filters.html#sendcmd_002c-asendcmd]

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


+

요건 ffplay

while playing

       q, ESC

           Quit.


       f   Toggle full screen.


       p, SPC

           Pause.


       m   Toggle mute.


       9, 0

           Decrease and increase volume respectively.


       /, *

           Decrease and increase volume respectively.


       a   Cycle audio channel in the current program.


       v   Cycle video channel.


       t   Cycle subtitle channel in the current program.


       c   Cycle program.


       w   Cycle video filters or show modes.


       s   Step to the next frame.


           Pause if the stream is not already paused, step to the next video frame, and pause.


       left/right

           Seek backward/forward 10 seconds.


       down/up

           Seek backward/forward 1 minute.


       page down/page up

           Seek to the previous/next chapter.  or if there are no chapters Seek backward/forward

           10 minutes.


       right mouse click

           Seek to percentage in file corresponding to fraction of width.


       left mouse double-click

           Toggle full screen.


[링크 : http://manpages.ubuntu.com/manpages/cosmic/man1/ffplay.1.html]

[링크 : http://www.herongyang.com/Flash/Video-Stream-FFmpeg-ffplay-Interactive-Command.html]

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

ffmpeg으로 비디오 비트레이트 바꾸기  (0) 2019.02.22
ffmpeg 레이턴시 관련 옵션 조사  (0) 2018.12.16
ffmpeg concat  (0) 2018.11.05
ffmpeg concat  (0) 2018.10.10
ffmpeg huffyuv  (0) 2017.02.28
Posted by 구차니
프로그램 사용/sqlite2018. 11. 27. 12:43

datetime()을 통해 적절하게(?) 소수점 이하 날릴수 있다.

그렇게 해서 비교하면 되는 듯..


[링크 : https://code.i-harness.com/ko-kr/q/1e25b9]

[링크 : https://www.tutorialspoint.com/sqlite/sqlite_date_time.htm]

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

sqlite memory cache  (0) 2019.05.21
sqlite primary key  (0) 2019.03.12
sqlite3 도움말  (0) 2017.04.02
라즈베리 sqlite 버전  (0) 2017.04.02
sqlite 브라우저 / 윈도우용  (0) 2017.03.23
Posted by 구차니
프로그램 사용/docker2018. 11. 23. 08:57

docker 사용법

docker는 container 기반으로

콘솔창에서 attach해서 사용할 수 도

내부의 특정 프로그램을 실행해서 접속할 수 도

SSH를 통해서 접속할 수 도 있다.


[링크 : http://pyrasis.com/Docker/Docker-HOWTO]

[링크 : https://docs.docker.com/get-started/]


+

centos 7에 docker 깔기

[링크 : https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7]



헐.. 별별 이름의 도커 컨테이너가 다 있네 ㄷㄷ

# docker run hello-world

Unable to find image 'hello-world:latest' locally

latest: Pulling from library/hello-world

d1725b59e92d: Pull complete

Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788

Status: Downloaded newer image for hello-world:latest


Hello from Docker!

This message shows that your installation appears to be working correctly.


To generate this message, Docker took the following steps:

 1. The Docker client contacted the Docker daemon.

 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.

    (amd64)

 3. The Docker daemon created a new container from that image which runs the

    executable that produces the output you are currently reading.

 4. The Docker daemon streamed that output to the Docker client, which sent it

    to your terminal.


To try something more ambitious, you can run an Ubuntu container with:

 $ docker run -it ubuntu bash


Share images, automate workflows, and more with a free Docker ID:

 https://hub.docker.com/


For more examples and ideas, visit:

 https://docs.docker.com/get-started/ 


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

docker 개념 다시 조사..  (0) 2019.02.01
docker 설명..  (0) 2019.02.01
docker run = create + start  (0) 2019.02.01
docker static ip  (0) 2018.11.23
freebsd jail / docker  (0) 2015.07.27
Posted by 구차니
프로그램 사용/docker2018. 11. 23. 08:47

해보니 해당 인스턴스(?)에 대해서는 정상적으로 ip 가 잡혀서 실행되긴 한다.

그러니까.. 네트워크 인터페이스 자체를 network create를 통해서 만들어주고

그 이후에 해당 이미지를 아이피를 주어서 실행한다.. 인가?


Easy with Docker version 1.10.1, build 9e83765.

First you need to create you own docker network (mynet123)


docker network create --subnet=172.18.0.0/16 mynet123


than simply run the image (I'll take ubuntu as example)


docker run --net mynet123 --ip 172.18.0.22 -it ubuntu bash 


[링크 : https://stackoverflow.com/questions/27937185/assign-static-ip-to-docker-container]

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

docker 개념 다시 조사..  (0) 2019.02.01
docker 설명..  (0) 2019.02.01
docker run = create + start  (0) 2019.02.01
docker howto  (4) 2018.11.23
freebsd jail / docker  (0) 2015.07.27
Posted by 구차니

겁 먹었었는데.. 가입이 되어 있었나?

그냥 네이버 아이디로 로그인 하니 문제없이 로그인 된다..


[링크 : https://www.ncloud.com/]

[링크 : https://www.ncloud.com/product/applicationService/maps]


독특하게(?) AI.Naver API 라고

AI Service와 Application Service가 합쳐져 있다.

Application Service에 Maps가 포함되고

AI Service에 Clova와 Papago가 포함된다.



[링크 : https://console.ncloud.com/mc/solution/naverService/application]



하단에 Applicaton 등록 누르고 동의 한다음

Application 이름 등록하고 쓸 서비스, 그리고 사용할 서비스 도메인을 등록한다.


그러면 아래와 같이 사용량 통계 나오고


인증정보를 누르면 아래와 같이 클라이언트 ID가 나온다.


가입하고 보니 친절한 설명이 나오네 ㅋㅋㅋ

[링크 : http://docs.ncloud.com/ko/naveropenapi_v3/application.html]

[링크 : https://navermaps.github.io/maps.js.ncp/]


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <title>간단한 지도 표시하기</title>
    <script type="text/javascript" src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=YOUR_CLIENT_ID"></script>
</head>
<body>
<div id="map" style="width:100%;height:400px;"></div>

<script>
var mapOptions = {
    center: new naver.maps.LatLng(37.3595704, 127.105399),
    zoom: 10
};

var map = new naver.maps.Map('map', mapOptions);
</script>
</body> 

</html> 


[링크 : https://navermaps.github.io/maps.js.ncp/tutorial-2-Getting-Started.html]



+

버전은 둘다 v3이고 clientId 식별자가 다른 키로 바뀌었다.


구버전

<script src="https://openapi.map.naver.com/openapi/v3/maps.js?clientId=USER_CLIENT_KEY"></script>


신버전

<script src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=USER_CLIENT_KEY"></script>

Posted by 구차니