Данный гист содержит основную информацию, которую нужно знать о Java Standart Edition.
This file contains 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
<declare-styleable name="CustomTextView"> | |
<attr name="customFont" format="string" /> | |
</declare-styleable> |
This file contains 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 DelayAutoCompleteTextView extends AutoCompleteTextView { | |
private static final int MESSAGE_TEXT_CHANGED = 100; | |
private static final int DEFAULT_AUTOCOMPLETE_DELAY = 1000; | |
private int mAutoCompleteDelay = DEFAULT_AUTOCOMPLETE_DELAY; | |
private static class AvoidingMemoryLeakHandler extends Handler { | |
private final WeakReference<DelayAutoCompleteTextView> delayAutoCompleteTextViewWeakReference; |
This file contains 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
PASSWORD=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | |
apt-get update | |
apt-get install apt-transport-https ca-certificates | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual | |
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list | |
apt-get update | |
apt-get install -y docker-engine | |
service docker start |
This file contains 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
material { | |
name : "Card material", | |
parameters : [ | |
{ | |
type : sampler2d, | |
name : baseColorMap | |
}, | |
{ | |
type : sampler2d, | |
name : normalMap |
This file contains 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
material { | |
"name" : "VirtualCard", | |
"parameters" : [ | |
{ | |
type : sampler2d, | |
name : baseColorMap | |
} | |
], | |
requires: [ | |
"uv0" |