I hereby claim:
- I am einverne on github.
- I am einverne (https://keybase.io/einverne) on keybase.
- I have a public key ASA_chuOMfxDNGwcz8Crmjv_FqkkCsHfVdYVhHme7NcIWQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Getting started:
Related tutorials:
| import android.app.Activity; | |
| import android.app.Service; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; | |
| import android.os.Bundle; | |
| import android.os.IBinder; | |
| import android.support.v4.content.LocalBroadcastManager; |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Bitmap.Config; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.PorterDuff.Mode; | |
| import android.graphics.PorterDuffXfermode; | |
| import android.graphics.Rect; | |
| import android.graphics.drawable.BitmapDrawable; |
| //从assets 文件夹中获取文件并读取数据 | |
| public String getFromAssets(String fileName) { | |
| String result = ""; | |
| try { | |
| InputStream in = getResources().getAssets().open(fileName); | |
| // 获取文件的字节数 | |
| int lenght = in.available(); | |
| // 创建byte数组 | |
| byte[] buffer = new byte[lenght]; | |
| // 将文件中的数据读到byte数组中 |
| # luna_pinyin.custom.yaml | |
| # | |
| # 【朙月拼音】模糊音定製模板 | |
| # 佛振配製 :-) | |
| # | |
| # 位置: | |
| # ~/.config/ibus/rime (Linux) | |
| # ~/Library/Rime (Mac OS) | |
| # %APPDATA%\Rime (Windows) | |
| # |
| // ==UserScript== | |
| // @name Xunlei Download link for ffdy.cc | |
| // @namespace http://www.einverne.tk | |
| // @version 2013.11.10 | |
| // @description find the download link for xunlei | |
| // @match http://www.ffdy.cc/teleplay/* | |
| // @match http://www.ffdy.cc/movie/* | |
| // @copyright 2013+, einverne | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name Auto Check | |
| // @namespace http://www.einverne.tk/ | |
| // @version 2014.05.23 | |
| // @description 百度知道自动签到,虾米自动签到 | |
| // @match http://zhidao.baidu.com/question/* | |
| // @match http://*.xiami.com/* | |
| // @copyright 2012+, einverne | |
| // ==/UserScript== |