bhags

  • Building a iOS Unity + UIView / UIViewController / Interface Builder App

    The original URL : http://alexanderwong.me/post/29949258838/building-a-ios-unity-uiview-uiviewcontroller This is back up for me. Building a iOS Unity + UIView / UIViewController / Interface Builder App When you build your Unity 3D project for the iPhone/iPad, Unity will generate a new Xcode project for you from scratch. It will even overwrite most files on subsequent builds. The design…

    続きを読む

  • Unity + iOS , unityとiOSの連動法

    Objective C : How to show a custom UIView on top of Unity Original Link http://answers.unity3d.com/questions/32848/objectivec-how-to-show-a-custom-uiview-on-top-of-u.html Here’s the code for showing and hiding the view: – (void) showCustomView { UnitySetAudioSessionActive(true); UnityPause(true); self._customUIViewController = [[UIViewController alloc] autorelease]; [[self getTopApplicationWindow] addSubview:self._customUIViewController.view]; if(self._customUIViewController != nil) { FAWController *fawView = [[FAWController alloc] initWithAPIKey:@”d0d” delegate:self]; //some custom initialization [self._customUIViewController presentModalViewController:fawView…

    続きを読む

  • HA proxy 設定

    参考URL http://blog.exceliance.fr/2012/09/10/how-to-get-ssl-with-haproxy-getting-rid-of-stunnel-stud-nginx-or-pound/ cd /usr/src wget http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev12.tar.gz tar xzf haproxy-1.5-dev12.tar.gz cd haproxy-1.5-dev12/ make TARGET=linux2628 USE_STATIC_PCRE=1 USE_OPENSSL=1 –>make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 PCREDIR=/usr/lib64 //USE_STATIC_PCREでエラー static削除 sudo make PREFIX=/opt/haproxy-ssl install

    続きを読む

  • MySQL -> MySQL Cluster 移行

    Social Casino Database 戦略 1. DB scale up -> サーバスペック向上 -> MySQL チューニング 2. DB Distribution MySQL cluster 導入 確認事項:  1) アマゾンで設置可能か :鄭  2)MySQL -> MySQL cluster 移行時の問題点は :朴   ー>MySQL cluster 導入失敗時: -> memSQL 導入顧慮

    続きを読む

  • file server 負荷分散

    http://d.hatena.ne.jp/hideden/20091101/1257061316

    続きを読む

  • Apache AB , cakephp config debug モード性能テスト

    cakephp debug on sever spec : web – x1.large *3 db – x1.large *1 ab -n 10000 -c 50 http://social-casino-n-virginia-17478905.us-east-1.elb.amazonaws.com/apis/reveal2 Server Software: Apache/2.2.23 Server Hostname: social-casino-n-virginia-17478905.us-east-1.elb.amazonaws.com Server Port: 80 Document Path: /apis/reveal2 Document Length: 48 bytes Concurrency Level: 50 Time taken for tests: 278.256 seconds Complete requests: 10000 Failed requests: 2 (Connect: 0, Receive: 0,…

    続きを読む

  • jquery – 入力候補生成

    http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1348664708

    続きを読む

  • cakephp1.3 PHP Fatal error: Allowed memory size of …

    cakephpサイトを実行したときサイトが表示されないエラー apache error ログでは下記エラーが発生 PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40961 bytes) in /cake/libs/view/view.php on line 733 php.ini でメモリのサイズを変更してもなおらない場合はcakephpで無限ループの可能性あり。 今回の原因 app_controllerのcomponentsで存在しないcomponentsの定義が原因 存在しないcomponentを削除で復旧

    続きを読む

  • svn:ignore 再起的に適用

    subversionでtmp directory 以下を再起的にignore -環境:CentOS 6.2 Final svn propset -R ‘svn:ignore’ ‘*’ ./tmp/

    続きを読む