This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git show <treeish>:filename | |
#<treeish> can be something like HEAD~3 or a hash number. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
export CLICOLOR=1 | |
export LSCOLORS=cxfxcxdxbxegedabagacad | |
export GREP_OPTIONS='--color=auto' | |
source "`brew --prefix`/etc/grc.bashrc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyCustomView extends LinearLayout{ | |
public MyCustomView(Context context, AttributeSet attrs, int defStyle) { | |
super(context, attrs, defStyle); | |
View.inflate(context, R.layout.your_layout_name, this); | |
} | |
public MyCustomView(Context context, AttributeSet attrs) { | |
this(context, null, 0); | |
} | |
public MyCustomView(Context context) { | |
this(context, null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:id = "@+id/login_tel" | |
android:inputType="phone" | |
/> |
NewerOlder