public void clickKefu() { Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.baidu.com")); getActivity().startActivity(intent); } ...
分类:
移动开发 时间:
2020-07-14 18:09:16
阅读次数:
94
免密码登录$sshpass-ppasswordsshusername@host远程执行命令$sshpass-ppasswordsshusername@host<cmd>通过scp上传文件$sshpass-ppasswordscplocal_fileroot@host:remote_file通过scp下载文件$sshpass-ppasswordscproot@host:remote_fi
分类:
其他好文 时间:
2020-07-14 15:08:14
阅读次数:
163
需求:我有一系列appname,想要判断这些appname是否在小米应用市场存在 解决方案:小编写了一个爬虫小程序,返回搜索第一条appname,以此判断该APP是否在小米应用市场存在。 import requestsfrom bs4 import BeautifulSoup def save_fi ...
分类:
移动开发 时间:
2020-07-14 13:39:57
阅读次数:
79
URI: Uniform ResourceIdentifiers,通用资源标识符 主要区别在于,encodeURI()不会对本身属于URI的特殊字符进行编码,例如冒号、正斜杠、问号和井字号;而encodeURIComponent()则会对它发现的任何非标准字符进行编码。来看下面的例子:var uri ...
分类:
Web程序 时间:
2020-07-14 10:32:19
阅读次数:
71
接口请求返回状态码总结 前端在调用接口时都要关注接口返回给我们的状态码,之前只是大概的了解比如404是前端的错,可能是路径错误等,300+可能是重定向了,500以上是服务端或者服务器的错误,并没有一个很好的总结。今天中午看群里有人问这问题,就搜集对比整理了一下,如下: 1xx - 信息提示这些状态代 ...
分类:
其他好文 时间:
2020-07-13 11:42:21
阅读次数:
134
death bed (coffee for your head) - Powfu / beabadoobee ...
分类:
其他好文 时间:
2020-07-13 10:01:24
阅读次数:
200
unrated 呜呜呜 #A 直接全输出1完事 #include <bits/stdc++.h> #define all(n) (n).begin(), (n).end() #define se second #define fi first #define pb push_back #define ...
分类:
其他好文 时间:
2020-07-12 12:42:52
阅读次数:
57
@Test public void test1(){ File file1 = new File("/Users/truman/Desktop/Life"); System.out.println(file1); System.out.println(file1.isDirectory()); Fi ...
分类:
编程语言 时间:
2020-07-12 12:26:01
阅读次数:
67
Introduction In part A we should add multiprocessor support to JOS, implement round-robin scheduling, and add basic environment management system call ...
分类:
其他好文 时间:
2020-07-11 23:16:57
阅读次数:
101
简介 ESP32是Espressif乐鑫信息科技推出的一块WiFi芯片。拥有40nm工艺、双核32位MCU、2.4GHz双模Wi-Fi和蓝牙芯片、主频高达230MHz,计算能力可达600DMIPS。 -涵盖精细分辨时钟门控、省电模式和动态电压调整等特征。 -它集成了天线和射频巴伦,功率放大器,低噪声 ...
分类:
其他好文 时间:
2020-07-11 21:14:04
阅读次数:
332