上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: adb shell getprop ro.product.ota.host 获取配置项的值 adb shell setprop produc.ota.port 8080 设置配置项的值【ro开头的是只读配置项】 adb shell mount -o remount,rw /vendor 已读写的模式 阅读全文
posted @ 2020-06-16 14:08 长久悠悠 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 在使用VSCode进行编程时, 发现电脑贼卡, 结果发现Microsoft.python.languageserver竟然占用了将近30G的内存? 然后经过到网上查找找到了解决方案: 原来是Microsoft Intellicode的锅, 只需要把插件卸载然后找到"python.jediEnable 阅读全文
posted @ 2019-06-26 17:26 长久悠悠 阅读(2114) 评论(0) 推荐(0) 编辑
摘要: db.SqlDB.Query("SELECT id,name FROM test_table where title name like CONCAT('%',?,'%');", key) 参考: https://blog.csdn.net/cyberspecter/article/details/ 阅读全文
posted @ 2019-06-19 21:14 长久悠悠 阅读(1794) 评论(0) 推荐(1) 编辑
摘要: @echo off :beginecho 是否删除上级目录下的test目录的所有.txt .dat文件?(Y/N)set /p input=if "%input%"=="Y" (goto delete)if "%input%"=="y" (goto delete) if "%input%"=="N" 阅读全文
posted @ 2019-06-11 15:17 长久悠悠 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 一、环境说明:VS code 二、编译: set GOOS=linux set GOARCH=amd64 go build -o "packageName" 三、发布 上传到服务器相关目录 chmod 777 main 修改权限nohup ./main >log.txt 后台运行程序 参考:http 阅读全文
posted @ 2019-05-04 18:36 长久悠悠 阅读(7148) 评论(0) 推荐(0) 编辑
摘要: 原因:由于使用记事本编辑了nginx.conf。 解决方案:参考https://www.jianshu.com/p/2516ec8bae72 阅读全文
posted @ 2019-04-30 13:49 长久悠悠 阅读(5692) 评论(0) 推荐(0) 编辑
摘要: 环境说明: windows7、vscode1.33.1、python3.7.0。 解决方案: 通过安装程序单独卸载“tcl/tk and IDLE” 重新安装“tcl/tk and IDLE” 重启电脑。(只重启vscode没有效果)。 尝试过的无效方法: 1、修复安装python。 阅读全文
posted @ 2019-04-30 13:33 长久悠悠 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: golang打包和部署到centos7。 golang substring方法的几种实现 参见:https://blog.csdn.net/psyuhen/article/details/51998223 阅读全文
posted @ 2019-04-26 19:58 长久悠悠 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/sdgf/p/6244937.html Redis不仅仅支持简单的key-value类型的数据,同时还提供list,set,zset,hash等数据结构的存储。 String——字符串Hash——字典List——列表Set——集合Sorted S 阅读全文
posted @ 2019-01-31 12:59 长久悠悠 阅读(3681) 评论(0) 推荐(0) 编辑
摘要: 参考: https://docs.python.org/3/library/hashlib.html?highlight=hashlib#credits https://blog.csdn.net/weixin_42934547/article/details/81805897 https://bl 阅读全文
posted @ 2019-01-12 15:00 长久悠悠 阅读(465) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页