未分類
-
swf間でメッソドよびだし
action script3 swf間でのコミュニケーション Official document http://kb2.adobe.com/community/publishing/918/cpsid_91887.html http://www.fabiobiondi.com/blog/2009/08/swf-to-swf-communication-in-flash-csx-how-to-call-methods-between-swf-files/ Commentの loader.load( new URLRequest(“Page.swf”), new LoaderContext(false, new ApplicationDomain())); がkeypoint
-
Vert.x Web IntelliJ First Web Site
[Vert.x]でRest Application Serverを構築することになったのでテスト Firt To Go http://vertx.io/blog/my-first-vert-x-3-application/ VertX init.d http://vertx.io/blog/vert-x-3-init-d-script/ //TEST JSON http://52.32.87.126:8080/api/whiskies //VertX run fatjar with instance setup vertx run io.vertx.blog.first.MyFirstVerticle -cp my-first-app-1.0-SNAPSHOT-fat.jar -instances 10
-
install Vert.x on EC2
Vert.xをEC2にインストール 公式サイト:http://vertx.io/vertx2/install.html 1.instance type [c4.xlarge] = 公式なおすすめサーバのリストより。 (HVM設定を強くおすすめされた。) 2.yum update とりあえずyum update 3.JDK install (require version >1.7) rpm -ivh ./jdk-8u65-linux-x64.rpm 4.設置確認 ls -l /usr/java/ 5.add bin path on ~/.bash_profile PATH=$PATH:$HOME/bin:/usr/java/default/bin/ 6.refresh source ~/.bash_profile [Install Vert.x] 1.download wget https://bintray.com/artifact/download/vertx/downloads/vert.x-2.1.5.tar.gz 2.unarchived tar -zxf vert.x-2.1.5.tar.gz 3.add bin path PATH=$PATH:$HOME/bin:/usr/java/default/bin/:/root/vert.x-2.1.5/bin 4.refresh source ~/.bash_profile 5.check version vertx version 6.TEST –…
-
Geo IP install
Cent OS 6 / PHP 5.5.11 pear install Net_GeoIP $ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gunzip GeoIP.dat.gz
-
Windows 端末特定はなにでするのか?
[背景] 仕事上iTunes アカウントが複数個欲しかったがなかなか連続で作れない。 https://discussionsjapan.apple.com/thread/10119662 まず上記サイトのディスカッションが参考になる。 同一ip addressでは確実に遮断される。 実際2、3個連続で作成したところ 「サポートセンターへ問い合わせください。」 との内容とともに作成できなかった。 パソコンのipアドレスを変更しながら作業をやっても同じ つまり端末特定のための情報が収集されていると思われる。 そこでwindowsの端末を特定する情報はどのようなものがあるのか調べてみた。 [本題] windowsの端末情報特定に使われている情報が下記だ。 – マイクロソフトサイトより 1.プロセッサのCPU ID(CPU IDそのものではなく、CPU IDから生成された値。以下同じ) 2.メモリのサイズ 3.ディスクデバイスのシリアル番号 4.ネットワークアダプター(ネットワークカードのMACアドレスなど) 5.オーディオアダプター 6.ドッキングステーション 7.モバイルブロードバンドデバイスID 8.Bluetoothアドレス 9.システムBIOS -ネット上で windows machine idで検索した結果の情報 1.volume シリアル情報 (vol c:で確認可能) 上記情報中実際に使われていそうな情報を変更しながらiTunesを作成してみる。
-
Xcode – Objective-C Unrecognized Selector Sent to Instance / -all_load , -Objc
[現象] 3rd partyライブラリを複数利用したところObjective-C Unrecognized Selector Sent to Instance エラーがでる other linker flagオプションへ-all_loadをつけて試したところ「Unrecognized Selector Sent to Instance」は解除されたが今度は [duplicate symbols for architecture arm64]のエラーが多発 [原因] 3rd partyのライブラリの読み込みが正しくできていないのが原因 [対策] Unrecognized Selector Sent to Instanceを発生させる3rd partyライブラリを強制参照させる Other Linker Flagsへ-force_load [3rd party ライブラリ経路]を指定 [参考URL] http://stackoverflow.com/questions/3354864/xcode-project-target-settings-syntax-for-linker-flag-force-load-on-iphone..
-
-
Shell Script Tips
http://qiita.com/m-yamashita/items/889c116b92dc0bf4ea7d?utm_source=Qiita%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9&utm_campaign=11be167372-Qiita_newsletter_143_11_02_2015&utm_medium=email&utm_term=0_e44feaa081-11be167372-32851157
-