http://www.advancedqtp.com/constructor-arguments-in-vbscript/ 'An example for the new constructor format Private Sub Class_Initialize '(Param1, Param2) 'You can keep you Class_Initialize sub as private - it will still work! Msgbox Param1 'You can use you parameters just like any other variable Param2.Add "Some", "Thing" 'You can even pass objects, such as dictionaries End Sub 'An example for the..
윈도우용 Genymotion 첫날은 Google play 설치와 마켓에서 다운받은 앱 모두 잘 동작하였다.둘째날 Virtual Device를 Play해보니 Unable to connect ... 오류가 발생하였고 강종한 다음 다시 실행시키는 시도를 해 보았지만 오류 Alert만 나타나는 상태에서 VirtualBox를 열어보니 해당 가상기기에서 완전히 꼬임 (guru meditation) 오류가 발생하고 있었다.해결법은 다음과 같다.https://www.virtualbox.org/wiki/Downloads 에서 VirtualBox 4.3.8 Oracle VM VirtualBox Extension Pack All supported platforms 를 클릭하여 확장팩을 다운받는다.VirtualBox 에서 C..
http://stackoverflow.com/a/15175657 에 나온대로Kill the VBoxHeadless process and run "vagrant destroy" VBoxHeadless 프로세스를 죽이면 된다.윈도우에서는 Ctrl + Shift + ESC > 프로세스 탭 > VBoxHeadless.exe > [프로세스 끝내기] VirtualBox 재 구동하여 보면 해당 가상머신이 중단됨 상태로 변경되어 있을것.
폼의 입력란 클릭하면 키보드가 화면을 가리게 되는데 이때 스크롤뷰의 크기를 키보드 높이만큼 빼주면 스크롤뷰가 스크롤을 표시하게 되어 키보드가 올라와 있는 상태에서 다른 입력 뷰들을 볼 수 있게 하는 iOS 5 앱 만들때 기존에 썼던 코드들을 썼는데 젠장할... Scroll Indicator 나타나지 않는것이었다. 삽질의 시간 후에 알게되었지만 예전에 사용했던 xib은 스크롤 지시자가 잘 나타나서 살펴보니 AutoLayout 이 un-check 되어 있었다. 결국, Auto Layout 상에서 UIScrollView를 동작시킬 방법을 구글링 하고 삽질한 끝에 아래의 링크를 통하여 스크롤 문제를 해결했다. http://www.g8production.com/post/57513133020/auto-layout-..
http://stackoverflow.com/a/9860283Nonatomicnonatomic은 다중 threading 목적들에 사용된다. If we have set the nonatomic attribute at the time of declaration, then any other thread wanting access to that object can access it and give results in respect to multi-threading.Copycopy는 object가 가변적일때 사용된다. Use this if you need the value of the object as it is at this moment, and you don't want that value to reflect..
https://developers.google.com/chrome-developer-tools/docs/remote-debuggingChrome 32 이상부터 기본기능으로 가능 (이전버젼은 확장 설치로 가능)Android 기기를 USB로 연결하고데스크톱이나 랩톱의 크롬 주소창에chrome://inspect 또는 메뉴 > 도구 > 기기 검사 선택만약 Devices 페이지에 Pending authentication: please accept debugging session on the device. 라는 메세지만 뜨고 기기가 나타나지 않으면터미널에서 adb devices 실행다시 크롬의 기기 검사 페이지를 확인하면 Chrome (32.0.1700.99) 와 같이 목록이 나타날것.
http://stackoverflow.com/a/8299371You can run a dedicated Zombies Instrument.Hit CMD + i to profile the app and select the Zombies Instruments (You must running on the simulator)좀비 도구로 개략을 볼 수 있다.앱 프로파일을 위해 커맨드 + i 단축키를 누르고 Zombies Instruments 선택. (시뮬레이터 상에서 실행해야 한다)실행하면 Zombie Messaged 라는 팝업이 잠깐 뜨는데 타임라인에 색으로 강조 표시된것을 클릭하면 팝업이 다시 뜬다.Done 버튼 클릭하면 닫히니까 메세지 문장 끝의 화살표를 눌러보면 아래에 있는 Detail 패널(CMD + D..
내용 텍스트의 길이에 맞추어 높이가 자동으로 조절되는 뷰를 만들기 위해 uilabel dynamic height 의 검색어로 거의 하루종일 구글링 해가며 씨름했지만 https://gist.github.com/danielphillips/1005520 http://www.cimgf.com/2009/09/23/uitableviewcell-dynamic-height/ http://www.samrayner.com/posts/dynamic-tableview-cells/ 위 주소들에 보이는 등의 코드들을 아무리 써봐도 높이 조절이 되지 않았다. (결론적으로, 저 코드들만 놓고 보자면 옳다. 현재 iOS에선 deprecated 된 부분들만 치환한다면...)저런 올바른 코드들이 먹히지 않았던 이유는 밤 11시가 넘어서야..
http://nsscreencast.com/episodes/8-automatic-uitableview-paging 프로세스현재페이지 = 0 으로 부여.UITableView가 보여지면서 delegate 중 numberOfRowsInSection 메쏘드 작동.현재 페이지가 0이므로 1개의 셀(loadingCell 메쏘드로 만들어지는...) 있다고 리턴.cellForRowAtIndexPath 메쏘드 작동되며 현재 indexPath, indexNodes 모두 nil 상태이므로 loadingCell 메쏘드 작동시켜 activityIndicator가 있는 로딩셀을 만들고 리턴.셀이 보여질때 willDisplayCell 메쏘드 호출되는데 현재 셀이 로딩셀이면 현재페이지+1 하고 네트워크로부터 데이터 로딩 시작하는 f..
nodejs.org/download 에서 맥용 설치패키지 받아서 설치 후 npm 명령어로 필요한 모듈 설치하려니 오류가 마구 쏟아지며 설치가 안되어 재설치법을 아래에 붙여둠. Run the following commands to uninstall node.js: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* http://notepad2.blogspot.kr/2012/06/how-to-uninstall-node..
- Total
- Today
- Yesterday
- mssql
- CSS
- Wordpress
- macos
- IOS
- Docker
- 워드프레스
- Android
- git
- nodejs
- iis
- 한글
- Prototype
- Debug
- centos
- nginx
- JQuery
- API
- Mac
- javascript
- ASP
- sencha touch
- IE
- 안드로이드
- iphone
- Linux
- classic asp
- PHP
- JSON
- laravel
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |