11월, 2013의 게시물 표시

How to link and use TBB (Thread Building Blocks) in xcode

1. drag dylibs into 'Library Search Paths' 2. insert include folder to 'Header Search Paths' 3. Include(copy) the dylibs into running folder (Debug/Release) - Don't forget this!

Run Default Apache in Mac (OS X)

Configuration to user folder 1. open /etc/apache2/httpd.conf. (run : sudo vi /etc/apache2/httpd.conf) 2. change DocumentRoot "/Library/WebServer/Documents" into DocumentRoot "{User Folder}" (DocumentRoot "/Users/myaccount/mysite") 3. change <Directory "/Library/WebServer/Documents"> into <Directory "{User Folder}"> ( <Directory "/Users/myaccount/mysite">) 4. save httpd.conf and quit vi. Apache Start Commands sudo apachectl start sudo apachectl stop sudo apachectl restart

Install Mariadb in Mac (OS X)

Open command prompt (Terminal), 1. run : brew update if you haven't installed brew, run  this to install brew : ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)" then run : brew update 2. run : brew install mariadb 3. run : unset TMPDIR 4. run : mysql_install_db --basedir={Installed Directory} for example, mysql_install_db --basedir=/usr/local/Cellar/mariadb/5.5.32 5. run : mysql.server start (in bin directory, usr/local/Cellar/mariadb/5.5.32/bin) 6. to connect mariadb, run : mysql -uroot 7. in order to set secure options, run : mysql_secure_installation you can set the options for security as well as password of root account. Have a good day!

Building MariaDB on Mac OS X

Building MariaDB on Mac OS X using Homebrew Home Open Questions MariaDB All Topics History Edit Source Flag as Spam/Inappropriate Translate Created 2 years, 5 months ago Modified 10 months ago Type article Status active History Comments Links Homebrew mariadb.rb on github Terin Stock (terinjokes) buildbot slave Sponsor us Edit Attachments No attachments exist Localized Versions Compilare MariaDB su Mac OS X usando Homebrew [it]

무선 네트워크 우회 기술 (기술 공개)

이미지
개발자 정준혁 목적 모바일 네트워크 병목으로 인한 데이터 전송 문제 해결. 무선(모바일) 데이터 사용량이 높거나 일부 무선 네트워크 전송 상태가 좋지 않은 (장비나 무선망의 장애나 과부하) 지역에서 데이터가 전송될 때, 데이터 전송 경로를 구성하고 있는 무선 장비나 유선 장비에 데이터의 과부하가 걸리거나 장애가 발생하면 그 경로를 거치도록 설정된 TCP/IP주소(이하 IP주소)에 데이터 요청을 하는 것은 한동안 실패할 가능성이 크다. 이런 때에 특정 IP주소에만 데이터 요청을 하지 않고 서비스 내용을 전달할 수 있는 다른 IP주소를 사용해서 데이터를 요청한다면, 서비스 무응답 상태 시간을 줄일 수 있다. 기술 내용 서비스를 제공하는 Host(IDC(Internet Data Center), Cloud Service)에 한 개 이상의 IP주소를 각각 다른 라우트 경로를 거치도록 할당. 서비스 도메인 네임 주소(문자로 된 서비스 주소)에 할당된 IP 주소를 설정. (예를 들어 www.service.com에 10.11.22.33, 233.22,100,10, 220.20.3.50와 같이 여러 IP주소를 설정.) 무선 단말기(모바일폰)에서 서비스 어플리케이션이 실행될 때, 어플리케이션은 서비스 도메인 네임 주소명을 이용해서 한 개 이상의 숫자 IP주소(숫자 IP)를 룩업해서 알아낸다. 이후 어플리케이션이 무선 서비스에 접속하거나 데이터를 송수신하는 과정에서 알아둔 숫자 IP주소중 하나를 사용하다가 실패하거나 시간초과가 되는 경우, 알아두었던 다른 IP주소를 이용해서 데이터 송수신을 시도한다. 효과 모바일 서비스 사용자는 무선 네트워크 데이터 전송이 상태가 좋지 않아 서비스가 중단되었다거나 너무 느리다고 느끼는 불편을 겪지 않을 수 있다. 그림

Is it possible to install iOS 6 SDK on Xcode 5?

이미지
Is it possible to install iOS 6 SDK on Xcode 5? up vote 122 down vote favorite 75 Xcode 5 has a preferences pane that allow one to download iPhone 6.1 simulator, however I can't find a place where it allows downloading of iOS 6 SDK, thus it is not possible to set the active SDK to iOS 6 when developing with Xcode 5. Is there a workaround that would allow Xcode 5 to install iOS 6 SDK? EDIT: Workarounds should no longer be necessary now that Xcode 5 is generally available and allows you to download previous versions of the SDK. xcode ios6 xcode5 share | improve this question edited Oct 20 at 7:18 asked Aug 24 at 22:43