万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    2014-02-22から1日間の記事一覧

    cocos2d-xでのenumとswitchの書き方

    class Player : public CCSprite { public: enum Direction { Left, Right, Up, Down }; }; のように定義しておくと、switchでは switch(_player->direction) { break; case Player::Right: { _player->initWithSpriteFrameName("Player_right_1.png"); } br…

    TitaniumのWarning

    TiUIScrollView: (main) [13262,356427] Scroll direction could not be determined based on the provided view properties. Default VERTICAL scroll direction being used. Use the 'scrollType' property to explicitly set the scrolling direction.

    TitaniumのSQLでのreturnに注意

    function hogeMethod() { hoge_table.map(function(res) { var message = res.get('message'); return message; }); }のようにreturnしても。hogeMethod自体がreturnされるのではなく、 hoge_table.map(function(res) {の部分を抜けるだけのようだ。 Titaniu…

    Alloyの型

    ログを見ると・・・ [INFO] : Adding "alloy_id" to uniquely identify rows [WARN] : "string" is not a valid sqlite field, using TEXT instead [WARN] : "date" is not a valid sqlite field, using TEXT instead [WARN] : "boolean" is not a valid sql…

    Titaniumの変なエラー

    メソッドをへらさないといけないの? [NSNull krollObjectForBridge:]: unrecognized selector sent to instanceURL: http://jazzguitar7.blog118.fc2.com/blog-entry-33.html

    Titanium SDKのエラー(Titanium 3.2.1)

    Titanium 3.2.1にしてから、iOSのシミュレータで起動しようとしたら、 ios sdk version 7.0 not found. titaniumのポップアップ https://developer.appcelerator.com/question/160722/updated-to-320-ios-7-sdk-not-found-among-many-other-broken-things ti…