摘要: 转载自: https://www.cnblogs.com/zhaoqingqing/p/4620402.html 阅读全文
posted @ 2023-06-12 16:39 黑山老猫 阅读(18) 评论(0) 推荐(0)
摘要: 第十章 MyService.java 代码如下: 主要的目的是在Activity中可以操作Service ...public class MyService extends Service { private static final String TAG = "MyService"; public 阅读全文
posted @ 2023-03-14 14:02 黑山老猫 阅读(36) 评论(0) 推荐(0)
摘要: 第七章 Uri 实例如下 content://com.android.contacts/data/phonescontent://com.example.app.provider/table1 查询Query 方法参数解析: Cursor cursor = getContentResolver(). 阅读全文
posted @ 2023-03-13 11:12 黑山老猫 阅读(35) 评论(0) 推荐(0)
摘要: makefile shell函数输出会影响makefile 所以要么不让shell函数内部命令输出(PS 重定向没用) 要么用变量来接shell函数的输出 例如: TEMP:=$(shell echo abc) 阅读全文
posted @ 2022-10-10 10:49 黑山老猫 阅读(32) 评论(0) 推荐(0)
摘要: 参考: https://product.pconline.com.cn/itbk/top/1352/13524364.html 截图: 下载 https://www.snipaste.com/ ,可以自定义快捷键 录屏: 1、Xbox录屏是win10系统上自带的一个软件,其内置了录屏的功能,您可以使 阅读全文
posted @ 2022-07-14 11:38 黑山老猫 阅读(12) 评论(0) 推荐(0)
摘要: 1. 直接在 添加Library 指定Py文件正常工作. 这种方法添加的py内的方法可以再 F5 中查询到. 2. 在python site-packages 目录下新建一个目录 NewLibrary 先新建一个类文件 叫yourclass.py内容如下 class YourClass(object 阅读全文
posted @ 2022-01-25 18:51 黑山老猫 阅读(506) 评论(0) 推荐(0)
摘要: sed -n 's#/[^/]*$##g'p 阅读全文
posted @ 2021-11-23 12:22 黑山老猫 阅读(309) 评论(0) 推荐(0)
摘要: echo yyc12345 | sudo -S apt-get install vim 参考 https://www.maixj.net/ict/sudo-zidong-mima-21899 sshpass -p123456 ssh-copy-id -i /root/.ssh/id_rsa.pub 阅读全文
posted @ 2021-11-15 14:24 黑山老猫 阅读(276) 评论(0) 推荐(1)
摘要: 想在jenkins windows 节点执行 Jenkins master 环境下的 groovy脚本: jenkins version : Jenkins 2.289.1 import hudson.FilePath import jenkins.model.* node_workpace=bui 阅读全文
posted @ 2021-11-02 13:39 黑山老猫 阅读(390) 评论(0) 推荐(0)
摘要: 引用自如下: 作者:南倚灵 链接:https://www.zhihu.com/question/60779889/answer/569461690 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 世界上最后一个人类躺在床上,他的床边是名女性机器人。 人类太老了,他正 阅读全文
posted @ 2021-09-26 14:25 黑山老猫 阅读(324) 评论(0) 推荐(0)