소프트웨어

    [openGL] ubuntu에서 삼각형 출력하기

    [openGL] ubuntu에서 삼각형 출력하기

    1. 설치sudo apt-get install freeglut3-dev 2. 코드http://coden.tistory.com/38 3. 컴파일gcc -o out main.c -lglut -lGL 4. 실행

    [android] BufferedReader에 대해서

    https://developer.android.com/reference/java/io/BufferedReader.html public class BufferedReader extends Reader java.lang.Object ↳java.io.Reader ↳java.io.BufferedReader Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines. BufferedReader in = new BufferedReader(new FileReader("foo.in")); 이걸 사용하면 1byte씩 옮기지 않고 뭉텅..

    [android] StringBuffer에 대해서

    https://developer.android.com/reference/java/lang/StringBuffer.html A string buffer is like a String, but can be modified. At any point in time it contains some particular sequence of characters, but the length and content of the sequence can be changed through certain method calls. String과 비슷하지만 수정이 가능하다.길이는 가변적이다.

    [android] rest api 연습하기

    출처 : 조대협님의 블로그, http://bcho.tistory.com/1050 http://www.openweathermap.org/current openweathermap.org는 회원가입 후 api key를 발급받아야 한다.무료이고 key도 몇개든 발급받을 수 있다고 한다. key를 사용하는 방법은 아래와 같다.http://api.openweathermap.org/data/2.5/weather?lat=37&lon=127&APPID={api key}자세히보기

    [android] onCreate에서 external storage에 폴더 만들기

    [android] onCreate에서 external storage에 폴더 만들기 (install 과정에서 뭔가 할 수 없다.)(internal storage는 건들 수 없다.)(external storage는 외부 저장장소라는 의미로 sd카드를 의미하기도 하고 내부 메모리 일부를 의미하기도 한다.)가능하다고 한다. 찾아보자 1. install time에 internal storage에 folder만들기(search : when+install+app%2C+create+folder+on+android) install 과정에서 뭔가를 수행할 순 없고, 최초 실행시 사용되게 만들 순 있다.create-directory-when-application-installed 2. 파일을 공유하기 위한 폴더 만들기 1)..

    [android] android.view.inflateexception binary xml file line

    이 에러메세지를 만난다면, xml에서 오타가 있을 확률이 매우 높습니다. android.view.inflateexception binary xml file line

    [ubuntu] library path에 관해서

    Ubuntu library path를 총괄하는 부분은 하나의 파일에서 시작한다. /etc/ld.so.conf위 파일에서 부터 시작한다. 속의 내용은 아래와 같다.include /etc/ld.so.conf.d/*.conf /etc/ld.so.conf.d 여기에 있는 library file들을 참조하는데, library가 정의된 파일이 항상 존재한다.이름은 ld.so.conf로 되어 각 폴더별로 ld.so.conf를 연결시킨다. 위 방법대로 설정을 하지 않는다면,export LD_LIBRARY_PATH=[ lib path ] 참고 ; https://www.google.co.kr/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#safe=off&q=ld.so.conf

    [Synergy] 초기에 설정하는 방법!! qt_temp나 config못찾는 문제 해결방법

    에러 메세지 [2016-07-19T11:43:31] INFO: detected process not running, auto restarting[2016-07-19T11:43:32] INFO: starting server[2016-07-19T11:43:32] INFO: config file: /tmp/qt_temp.th1740[2016-07-19T11:43:32] INFO: log level: INFO[2016-07-19T11:43:32] ERROR: cannot read configuration "/tmp/qt_temp.Zb1740": read error: line 2: invalid character 0xffffffec 위의 에러 메세지거나 Synergy.conf를 못찾는다는 에러가 쭉쭉 1초에 한 ..