Video stream url for VLC/DVR:
- rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100
Telnet access
- telnet 192.168.1.10 23
- Localhost login: root
- Password: xmhdipc
| /* | |
| * Copyright 2017 Mohsen Mesgarpour | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
GitHub Gist๋ GitHub๊ณผ๋ ๋ฌ๋ฆฌ, private๋ ๋ฌด๋ฃ์ ๋๋ค. ์ ๋ ์ฃผ๋ก ์ฝ๋์กฐ๊ฐ(Code Snippet), ๋ก๊ทธ, ๋ฉ๋ชจ ๋ฑ์ ๋จ๊ธฐ๋๋ฐ ์ฌ์ฉํฉ๋๋ค.
์์ด์ง๋ง, ์กฐ๊ธ ๋ ์์ธํ๊ฒ ๋งํฌ๋ค์ด ์ฌ์ฉ๋ฒ์ ์๋ดํ๊ณ ์๋
"Markdown Guide (https://www.markdownguide.org/)" ๋ฅผ ๋ณด์๋ ๊ฒ์ ์ถ์ฒํฉ๋๋ค. ^^
์, ๊ทธ๋ฆฌ๊ณ ๋งํฌ๋ค์ด๋ง์ผ๋ก ํํ์ด ๋ถ์กฑํ๋ค๊ณ ๋๋ผ์ ๋ค๋ฉด, HTML ํ๊ทธ๋ฅผ ํ์ฉํ์๋ ๊ฒ๋ ์ข์ต๋๋ค.
| #include <curl/curl.h> | |
| #include <string> | |
| size_t writeFunction(void *ptr, size_t size, size_t nmemb, std::string* data) { | |
| data->append((char*) ptr, size * nmemb); | |
| return size * nmemb; | |
| } | |
| int main(int argc, char** argv) { | |
| auto curl = curl_easy_init(); |
| 1) In your terminal, open the file using vim: | |
| vim file_name | |
| 2) Remove all BOM characters: | |
| :set nobomb | |
| 3) Save the file: | |
| :wq |
| #!/usr/bin/env python | |
| """ | |
| - ae(v): context-adaptive arithmetic entropy-coded syntax element. The parsing process for this descriptor is | |
| specified in clause 9.3. | |
| - b(8): byte having any pattern of bit string (8 bits). The parsing process | |
| for this descriptor is specified by the return value of the function | |
| read_bits( 8 ). | |
| - f(n): fixed-pattern bit string using n bits written (from left to right) |
| #Prefix is Ctrl-a | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| unbind C-b | |
| set -sg escape-time 1 | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 | |
| #Mouse works as expected |