Tuesday, November 17, 2015

Linux binary executable bit check

실행파일 바이너리의 비트수를 체크하는 명령은 다음과 같다.

file <filename>

root@3bd49b29-5448-41da-a3e1-581280f439e0:~/dark_server/src# file mgs_dark
mgs_dark: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x1b8c7bd92afcb4134444103f026ddb336cff19c4, not stripped
root@3bd49b29-5448-41da-a3e1-581280f439e0:~/dark_server/src#

Monday, November 9, 2015

iOS Please verify that your device’s clock is properly set, and that your signing certificate is not expired.

Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).

Xcode -> Preferences -> Accounts -> View Details -> Download All

Tuesday, November 3, 2015

Android 5.0 WebView image not shown

// Android 5.0에서는 그림이 안보이니 이걸 해주어야 한다.
        if(Build.VERSION.SDK_INT >= 21) {
            mWebView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
        }

Sunday, November 1, 2015

gem eventmachine openssl/ssl.h not found

bundle config build.eventmachine --with-cppflags=-I$(brew --prefix openssl)/include
bundle install

Mac openssl 설치

./config (32bit)
./Configure darwin64-x86_64-cc (64bit)

make
sudo make install