先来切入一个场景:
[小五][]童鞋想要一个直线的渐变,从左到右,颜色从绿色逐渐变成透明的,按照这个想法,[小五][]童鞋写下了如下代码:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">| import android.database.sqlite.SQLiteTransactionListener | |
| import androidx.sqlite.db.SupportSQLiteDatabase | |
| import androidx.sqlite.db.SupportSQLiteOpenHelper | |
| import com.commonsware.cwac.saferoom.SafeHelperFactory | |
| import java.util.concurrent.locks.ReentrantLock | |
| class SupportSQLiteOpenHelperWrapped(val source: SupportSQLiteOpenHelper) : SupportSQLiteOpenHelper by source { | |
| private val writableDatabaseLazy: SupportSQLiteDatabaseWrapped by lazy { | |
| SupportSQLiteDatabaseWrapped(source.writableDatabase) |
| /* | |
| MIT License | |
| Copyright (c) 2019 Erik Hellman | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| btkitty | |
| 知名的BT磁力搜索,资源很多 | |
| http://cnbtkitty.com/ | |
| 备用域名:http://btkitty.fyi/ | |
| idope.se | |
| 资源丰富的BT磁力搜索,并且大多数速度下载速度很快 | |
| https://idope.se/ |
先来切入一个场景:
[小五][]童鞋想要一个直线的渐变,从左到右,颜色从绿色逐渐变成透明的,按照这个想法,[小五][]童鞋写下了如下代码:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">| #!/system/bin/sh | |
| # 使用方法: | |
| # adb shell "curl -Ssl https://gist.githubusercontent.com/kookxiang/1104e898f270c9a7a0784f70979ec532/raw/hackQQ.sh | su" | |
| # 使用方法 (手动): | |
| # 0.确保你手机 Root 了 | |
| # 1.下载这个脚本到某个地方 | |
| # 2.下载 Android SDK(需要其中的 adb) | |
| # 3.在命令行运行 adb devices,确保能看到你的手机 |