본문 바로가기

Develop

git 관련 궁금한 내용. Git 관련 질문 merge vs rebase commit message 에서 동사의 권장 형태 init 이후, 처음 push -u 의 의미 git remote 연산 시작시에, 패스워드 계속 물어보는 경우 git log 의 결과에서 [index] 이후에 나타나는 코드의 의미 rede-review branch가 best practice가 아니라면, 대안은? history 에 들어 있는 author 변경하기 $ git rebase -i [기준 commit] $ git commit --amend --author="Author Name " $ git rebase --continue https://stackoverflow.com/a/3042512/1118583 더보기
android app 재시작하기 android app 재시작하기http://www.android.pk/blog/general/launch-app-through-adb-shell/format$ adb shell am force-stop $ adb shell am start -a example$ adb shell am force-stop com.ionicframework.hellomaptab2968152 $ adb shell am start -a android.intent.action.MAIN -n com.ionicframework.hellomaptab2968152/.helloMapTab2 더보기
avd 생성하기 AVD 생성하기# target 조회 하기( 어떤 형식의 target을 기본으로 하여 avd를 만들지 판단) $ android list targets 예)---------- id: 5 or "Google Inc.:Google APIs:19" Name: Google APIs Type: Add-On Vendor: Google Inc. Revision: 8 Description: Android + Google APIs Based on Android 4.4.2 (API level 19) Libraries: * com.google.android.media.effects (effects.jar) Collection of video effects * com.android.future.usb.accessory (usb... 더보기
Cordova 프로젝트 시작하기 Cordova 프로젝트 시작하기예)$ cordova create Baz $ cd Baz $ cordova platform add android $ cordova build $ cordova serve android # That speeds up the setup process of new projects enormously. http://ionicframework.com/getting-started/Install Ionic$ npm install -g cordova ionic Run it$ ionic start myApp tabs # blank tabs sidemenu $ cd myApp $ ionic platform add android # 실행이 되지 않으면, ANDROID_HOME 설정 $ ioni.. 더보기
통계 데이타 통계 데이타 자료 통계청, www.kostat.go.kr 국가통계포털, kosis.kr e-나라지표, www.index.go.kr 대외 결제 정책 연구회, www.kiep.go.kr 한국 개발 연구원, www.kdi.re.kr 삼성 경제 연구소, www.seri.org 인터넷 사용자 조사, www.ad.co.kr visualnews, http://www.visualnews.com 출입국 사무소, http://www.immigration.go.kr/ 출입국 통계, http://kto.visitkorea.or.kr/kor/notice/data/statis/profit/notice/inout/popup.kto#search 더보기
postgis 설치하기 defaultPOSTGIS_SQL_PATH=pg_config --sharedir/contrib/postgis-2.1Creating the template spatial database.createdb -E UTF8 template_postgis createlang -d template_postgis plpgsql # Adding PLPGSQL language support. Allows non-superusers the ability to create from this templatepsql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';" Loading the PostGIS SQL r.. 더보기
scrapy and django scrapy 에서 저장한 item을 장고의 db에 저장하는 방법scrapy에게 장고 프로젝트와 설정의 위치를 알려준다.sys.path.append('[project path]') os.environ['DJANGO_SETTINGS_MODULE'] = '[setting path]' ex) sys.path.append('/Users/harry/work/map') os.environ['DJANGO_SETTINGS_MODULE'] = 'map.settings' 더보기
두개 이상의 github 계정으로 작업하기 https://gist.github.com/jexchan/2351996 #acc1 Host github.com-acc1 HostName github.com User git IdentityFile ~/.ssh/id_rsa_acc1 #acc2 Host github.com-acc2 HostName github.com User git IdentityFile ~/.ssh/id_rsa_acc2 ✗ git remote -vorigingit@github.com-acc1:acc1/repo1.git (fetch)origingit@github.com-acc1:acc1/repo1.git (push)origingit@github.com-acc2:acc2/repo2.git (fetch)origingit@github.com-acc.. 더보기

반응형