打印方法调用堆栈
public static void showFillInStackTrace() {
RuntimeException e = new RuntimeException();
Throwable e1 = e.fillInSta...
安装create_ap
pacman -S create_ap
增加一个虚拟网络接口并设置一个mac地址
sudo iw dev wlp3s0 interface add wlp3s0_ap type __ap
sudo ip link set dev wlp3s0_ap add...
...
协议
XML-RPC_wp协议:https://codex.wordpress.org/XML-RPC_wp
地址:http://xxxx.com/xmlrpc
Typecho XML-RPC协议:https://github.com/typecho/typecho/blob/...
查找可用内核
pacman -Ss linux-headers
安装
pacman -S linuxXY linuxXY-headers
注意:XY为你要安装的版本号,如:
pacman -S linux49 linux49-headers...
外边慢,备份下
wp.getUsersBlogs
Retrieve the blogs of the users.
Parameters
string username
string password
Return Values
array
struct
boolean...
sudo ln -sf /bin/python3.6 /bin/python
sudo ln -sf /bin/python2.7 /bin/python
...
sudo update-grub
...
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(s...
Manjaro关闭独立显卡
安装bbswitch
pacman -S bbswitch
在/etc/modules-load.d下新建bbswitch.conf,并修改为如下内容。这样每次启动都会加载bbswitch模块了
bbswitch
在/etc/modprobe....