As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| public class SampleFragment extends Fragment { | |
| /** Fragmentで保持しておくデータ */ | |
| private int mData; | |
| /** | |
| * Fragmentインスタンスを生成した返却. | |
| * | |
| * コンストラクタに引数を渡すのはダメ。 | |
| * Fragmentがメモリ不足で破棄され、そこから復帰する時に空のコンストラクタ呼ばれる。 |
| # 少し凝った zshrc | |
| # License : MIT | |
| # http://mollifier.mit-license.org/ | |
| ######################################## | |
| # 環境変数 | |
| export LANG=ja_JP.UTF-8 | |
| # 色を使用出来るようにする |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| ) | |
| func baseHandlerFunc(handler func(w http.ResponseWriter, r *http.Request)) http.Handler { | |
| return baseHandler(http.HandlerFunc(handler)) |
| /* | |
| * Copyright 2013 (c) Andrey Hihlovskiy | |
| * License: MIT (http://opensource.org/licenses/MIT) | |
| */ | |
| @Grab('org.jdom:jdom2:2.0.5') | |
| @Grab('jaxen:jaxen:1.1.4') | |
| @GrabExclude('jdom:jdom') | |
| import org.jdom2.* |
| configurations { | |
| jaxws | |
| } | |
| dependencies { | |
| jaxws 'com.sun.xml.ws:jaxws-tools:2.1.4' | |
| } | |
| task wsimport { | |
| ext.destDir = file("${projectDir}/src/main/generated") |
| import android.annotation.SuppressLint; | |
| import android.content.Context; | |
| import android.util.Log; | |
| import retrofit.client.Client; | |
| import retrofit.client.Header; | |
| import retrofit.client.Request; | |
| import retrofit.client.Response; | |
| import retrofit.mime.TypedInput; |
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |