Memo for myself someday.
http://www.typescriptlang.org/Tutorial/
- Thinkpad X201s
- Ubuntu 12.04.1 LTS
Memo for myself someday.
http://www.typescriptlang.org/Tutorial/
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
| <!-- for Android 4.0 or above --> | |
| <!-- left antenna's stroke --> | |
| <item | |
| android:bottom="350dp" | |
| android:left="85dp" | |
| android:right="248dp" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
| <!-- for Android 4.0 or above --> | |
| <!-- left leg --> | |
| <item | |
| android:bottom="0dp" | |
| android:left="100dp" | |
| android:right="160dp" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item> | |
| <shape android:shape="rectangle"> | |
| <solid android:color="@android:color/black"> | |
| <size android:height="480dp" android:width="360dp"> | |
| </size></solid></shape> | |
| </item> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
| ... 胴体の下に置きたい要素 ... | |
| <!-- body(ドロイド君の胴体): 外枠からのtop,bottom,left,rightを記述して位置・大きさを指定 --> | |
| <item | |
| android:bottom="82dp" | |
| android:left="60dp" | |
| android:right="60dp" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <!-- left antenna's stroke --> | |
| <item | |
| android:bottom="350dp" | |
| android:left="85dp" | |
| android:right="248dp" | |
| android:top="0dp"> | |
| <rotate |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| ... その他のitem要素 ... | |
| <!-- nose, left --> | |
| <item | |
| android:bottom="247dp" | |
| android:left="113dp" | |
| android:right="155dp" |
| #!/bin/bash | |
| options='--all' | |
| if [ -n "$*" ] | |
| then | |
| options=$* | |
| fi | |
| git log --graph --date-order -C -M --pretty=format:'<%h> %ad [%an] %Cgreen%d%Creset %s' --date=iso $options |
| #!/bin/bash | |
| # git-graph-completion | |
| # =================== | |
| _git_graph () | |
| { | |
| _git_log | |
| } |
| package com.example.fragmenttest; | |
| import java.io.Serializable; | |
| import android.app.AlertDialog; | |
| import android.app.AlertDialog.Builder; | |
| import android.app.Dialog; | |
| import android.content.DialogInterface; | |
| import android.os.Bundle; | |
| import android.support.v4.app.DialogFragment; |