Archive: 2016/8

Android Vector Image

Android 5.0 (Lollipop) 부터 지원합니다. Android Studio > File > New > Vector Asset 으로 Vector Asset Studio를 실행할 수 있다. 이미 그려둔 SVG이미지가 있다면 그것을 로딩하면 되고, Material Icon을 SVG로 변환할 수 있다. 아무거나 골라서 Next >

MediaRecorder

https://developer.android.com/guide/topics/media/audio-capture.html 의 내용입니다. Audio CaptureAndroid multimedia framework은 다양한 오디오 형식의 획득(capture) 및 인코딩을 지원하여 application 작성 시 쉽게 사용할 수 있다. 이 때 MediaReco

[JavaScript] Uh... Converter

Document Word Parser Use : http://lazyrodi.github.io/misc/UhConverter.html Repository : https://github.com/lazyrodi/misc/tree/master/UhConverter Usage Select Input Data Type. Input code. You can inpu

GIT Troubleshooting

Gerrit admin을 잃어버렸을 때개인적으로 사용하는 gerrit에서만 사용하고 회사에서는 이런 방법으로 해서는 안될듯. 그런데 다른 방법을 모르겠음… gerrit/etc/gerrit.conf 파일을 다음과 같이 수정한다. 이 상태일 때는 아무나 로그인하여 권한을 변경할 수 있으니 매우 주의하고 작업시간을 최소화할 것. [auth] type =

Gerrit 사용

다른 포스트에서 이어집니다. GIT Server Installation Gitweb 사용 Gerrit 설치 프로젝트의 추가프로젝트를 추가하는 방법에는 기본적으로 세 가지가 있다고 한다. https://gerrit-documentation.storage.googleapis.com/Documentation/2.12.3/project-configurati

MySQL Troubleshooting

ERROR 1045 (28000): Access Denied for user ‘root’@’localhost’ (using password: NO) $ sudo mysql -p 명령으로 비밀번호를 따로 입력하면 OK. could not connect to mysql can’t connect to mysql server on ‘127.0.0.1’ (1006

Gerrit 설치

다른 포스트에서 이어집니다. GIT Server Installation Gitweb 사용 이전 포스트에서 삽질했던 GIT 저장소에 대한 내용을 gerrit에서 직접적으로 사용하진 않습니다. 설치 설치 가이드: https://gerrit-documentation.storage.googleapis.com/Documentation/2.12.3/install

Gitweb 사용

GIT Server Installation에서 설치한 내용을 GitWeb 을 통해 보는 방법이다.GitWeb은 말 그대로 GIT의 변경사항을 Web에서 편하게 볼 수 있게 도와주는 툴이다. 예시로는 https://android.googlesource.com/ 를 보는 것이 적절할 수 있다. GIT에서 기본적으로 지원해주는 내용이라 한 번에 써둘까 했는데,

GIT server installation

Ubuntu에서 GIT server를 구축해 보았다. Server side새 Project를 위한 계정 생성$ sudo adduser project-a git 설치위에서 생성한 project-a 계정으로 로그인한 후, $ sudo apt-get install git .git 저장소 생성임의의 디렉토리 ~/project-a.git를 생성한다. $ mkdir

Big-O Complexity

Big-O 분석법 (Big-O analysis)입력 값의 개수에 따라 알고리즘이 수행되는데 걸리는 시간을 바탕으로 알고리즘의 효율성을 평가하는 실행 시간 분석법. Big-O 분석의 적용 입력 값이 무엇인지 확인하고 어떤 것을 n으로 놓아야 할지 결정한다. 알고리즘에서 수행해야 할 연산 횟수를 n의 식으로 표현한다. 차수가 제일 높은 항만 남긴다. 모든 상수