(원문 http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )
git svn
을 사용해서 SVN에서 브랜치와 태그를 보존하면서 Git으로 전환하는 것을 설명한다.
$ mkdir staging
삽질한 내용 공유 | |
1) web 개발시 흔한 설정을 사용하고 있음 | |
babel + webpack | |
2) 이상하게 development (locahost) 보다 production 으로 빌드했을 때가 4~5배 이상 느린것을 발견 | |
3) 이것저것 패키 버전도 바꾸어보고 minify 설정도 바꾸어보고 했으나 동일함 | |
4) package.json 내에 browserslist 라는 항목을 발견 |
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} |
pip install opencv-python==3.3.0.10 opencv-contrib-python==3.3.0.10 | |
https://stackoverflow.com/questions/37039224/attributeerror-module-object-has-no-attribute-xfeatures2d-python-opencv-2 |
(원문 http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )
git svn
을 사용해서 SVN에서 브랜치와 태그를 보존하면서 Git으로 전환하는 것을 설명한다.
$ mkdir staging
adb shell "dumpsys activity | grep top-activity" | |
adb shell dumpsys activity com.android.deskclock |
1) mac os x sdk 버전은 11 로 설치해야 함 | |
Download earlier Mac OSX SDK(10.11 worked for me) from | |
https://github.com/phracker/MacOSX-SDKs/releases | |
Unzip and copy to /Applications/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs | |
2) build/core/combo/mac_version.mk | |
support 버전은 11로 해야함 | |
3) jdk 설치 후 bash_profile 에 | |
export PATH=/opt/local/bin:~/bin:$PATH |
// Get all users | |
var url = "http://localhost:8080/api/v1/users"; | |
var xhr = new XMLHttpRequest() | |
xhr.open('GET', url, true) | |
xhr.onload = function () { | |
var users = JSON.parse(xhr.responseText); | |
if (xhr.readyState == 4 && xhr.status == "200") { | |
console.table(users); | |
} else { | |
console.error(users); |
sudo chown -R $(whoami) ./ |
parse, baas 등에서 table 을 export 하면 json 파일로 나오게 됩니다. | |
이때 json 파일이 용량이 커서 json -> excel 등의 online converter 등은 동작이 쉽지 않습니다. | |
제가 변환하는 방법은 아래와 같습니다. | |
1) vi 에서 json 파일을 연후 {results: 와 끝의 } 를 제거 하여 array 상태로 저장 | |
2) python 을 이용하여 다음과 같이 처리 | |
>>> import pandas | |
>>> pandas.read_json('1000009494_MakeGoodHabit_out.json').to_excel('makegoodhabit.xlsx') |
git fetch --all | |
git reset --hard origin/master |