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
#!/bin/sh | |
set -e | |
cd ~/.nvm | |
git fetch --tags | |
TAG=$(git describe --tags `git rev-list --tags --max-count=1`) | |
echo "Checking out tag $TAG..." | |
git checkout "$TAG" |
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
import android.graphics.Bitmap; | |
import android.graphics.BitmapShader; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import com.squareup.picasso.Transformation; | |
public class CircleTransform implements Transformation { | |
private final int BORDER_COLOR = Color.WHITE; |
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
1.UBUNTU中如何获得root权限 | |
在终端中输入: | |
sudo passwd root | |
Enter new UNIX password: (在这输入你的密码) | |
Retype new UNIX password: (确定你输入的密码) | |
passwd: password updated successfully | |
以后,如果在想获得root权限,只需进行如下的操作: | |
su root |
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
1.&#x开头的是什么编码呢。浏览器可以解释它。如中国等同与中文"中国"? | |
http://blog.csdn.net/wangqi0079/article/details/9983439 | |
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
1.测试网页是否移动友好 | |
https://www.google.com/webmasters/tools/mobile-friendly/ | |
2.docker android env | |
https://registry.hub.docker.com/u/wasabeef/android/ | |
https://plus.google.com/u/0/+BradFitzpatrick/posts/CmqtqAShWZJ | |
OpenJDK 7 | |
Android SDK r22.3 | |
Android NDK r9b |