ubuntu

    [curl] curl_easy_getinfo (1)

    왠지 느낌이 여기서 데이터들을 갖고 오는 것 같은데..ㅋ 데이터들을 갖고 오면 좋은 점은 이 파일의 URL이 유효한지와 데이터의 크기 등 여러가지를 알 수 있겠죠~ㅋ 아마도요...ㅋ 자, hint를 찾았으니 갖고 놀아 봅시다~~ ㅎㅎ NAME curl_easy_getinfo - extract information from a curl handle SYNOPSIS #include CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ... ); DESCRIPTION Request internal information from the curl session with this function. The third argument MUST be a pointer to a..

    [c++] file path 설정

    이번 포스트는 fopen을 하였을 때, file의 path를 설정하는 부분입니다. #include int main(void) { /* where to write */ const char filepath[] = "/var/streaming/playlists/chunkcombined/chunkcombined.playlist"; /* what to write */ const char output_lines[] = "\"/usr/local/movies//chunk0.mp4\" 1\n" "\"/usr/local/movies//chunk1.mp4\" 1\n" "\"/usr/local/movies//chunk2.mp4\" 1\n" "\"/usr/local/movies//chunk3.mp4\" 5\n" "\"/usr/..

    [ubuntu] install curl

    $ sudo apt-get install curl$ usdo apt-get udpate && sudo apt-get upgrade

    [ubuntu] install zlib

    sudo apt-get install zlib1g-dev zlib manual http://www.zlib.net/manual.html

    [ubuntu] T440P NVIDIA 드라이버 잡는 방법(bumblebee)

    환경 : ubuntu 13.10 64bit 무엇이든 설치하거나 동작을 한 후에는 sudo apt-get update && sudo apt-get upgrade를 하는게 좋다.(16. 09. 19 : 만약 개발자이고 프로젝트를 진행중인 pc라면 upgrade를 함부로 하지 않는게 좋다. 하더라도 일일이 다 읽어보고 걸러야한다.) 1.터미널에서 범블비를 설치한다. https://wiki.ubuntu.com/Bumblebee 2. 홈페이지에서 nvidia 드라이버를 다운받는다. http://www.nvidia.co.kr/download/driverResults.aspx/69526/kr 3. 응급화면(ctrl + alt + F1)에서 serverX를 종료시킨 후 nvidia를 설치한다. 다운받은 실행파일에 권한..

    [ubuntu] oracle java install 설치

    환경 : ubuntu 13.10 64bit java 7 버전$ sudo add-apt-repository ppa:webupd8team/java$ sudo apt-get update$ sudo apt-get install oracle-java7-installer java 8 버전$ sudo add-apt-repository ppa:webupd8team/java$ sudo apt-get update$ sudo apt-get install oracle-java8-installer java 삭제는$ sudo apt-get purge open[blabla]

    [ubuntu] 13.10 java install step

    환경 : ubuntu 13.10 64bit Install Steps $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java7-installer $ java -version Setting Java environment variables $ sudo apt-get install oracle-java7-set-default Removing Oracle Java 7 $ sudo apt-get remove oracle-java7-installer from. http://shared.tistory.com/143

    [ubuntu] apt-get 속도 높이는 방법

    속도는 빠른 데신에 없는 데이터가 있습니다.optimus bumblebee 설치하는데 파일이 없다네요..그래도 간단한건 빨라요ㅎㅎ 미러 서버 주소가 있는 곳/etc/apt/sources.list( $ sudo vim /etc/apt/sources.list ) " kr.archive.ubuntu.com "을" ftp.daum.net "으로 vim 명령어 : %s/kr.archive.ubuntu.com/ftp.daum.net/g http://www.cmsfactory.net/node/10035