上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: https://www.runoob.com/java/java-basic-syntax.html 类别关键字说明 访问控制 private 私有的 protected 受保护的 public 公共的 default 默认 类、方法和变量修饰符 abstract 声明抽象 class 类 exte 阅读全文
posted @ 2021-08-24 10:24 睁yan-ii 阅读(29) 评论(0) 推荐(1) 编辑
摘要: 目录 du -sh /tmp 文件 du -h /tmp/aaa.jar 阅读全文
posted @ 2021-08-23 16:11 睁yan-ii 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1参考连接 https://www.cnblogs.com/wangkun122/articles/8992637.html pip3 install DBUtils import pymysqlfrom dbutils.pooled_db import PooledDB my_host='123. 阅读全文
posted @ 2021-08-20 10:31 睁yan-ii 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.jianshu.com/p/629315e51d99 打开项目根目录的 package.json,然后找到scripts,如果你是希望在 npm run dev 的时候 内网可以方访问,那么你再 scripts下的dev 结尾增加一个参数 --host 192.16 阅读全文
posted @ 2021-08-18 15:38 睁yan-ii 阅读(329) 评论(0) 推荐(0) 编辑
摘要: class my_middle: def __init__(self,wsgi_app): self.wsgi_app = wsgi_app def __call__(self, *args, **kwargs): print(args) print(args[0].get('HTTP_HOST') 阅读全文
posted @ 2021-08-18 15:01 睁yan-ii 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 废话少说直接上代码 a='百度;www.baidu.com' from xpinyin import Pinyin # 实例拼音转换对象 p = Pinyin() # 进行拼音转换 ret = p.get_pinyin(u"百度;www.baidu.com", tone_marks='marks') 阅读全文
posted @ 2021-08-13 15:01 睁yan-ii 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 参考链接https://www.ycbbs.vip/?p=38251 1 需要下载补丁插件和激活密钥 http://123.56.2.32:8888/group1/M00/00/00/rBwalWEWFyeAKj6bAD3RZ6v-dN46.3.zip 2 下载完成之后 打开idea 拖动补丁 3 阅读全文
posted @ 2021-08-13 14:55 睁yan-ii 阅读(8410) 评论(1) 推荐(0) 编辑
摘要: 1 后端传过来的是列表数据但是两边有双引号(str) JSON.parse() 阅读全文
posted @ 2021-08-13 11:04 睁yan-ii 阅读(324) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 import os '''***获取当前目录***''' print(os.getcwd()) print(os.path.abspath(os.path.dirname(__file__))) '''***获取上级目录***''' print(os.path.absp 阅读全文
posted @ 2021-08-13 10:44 睁yan-ii 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: http://www.shsnc.com/show-109-1004-1.html import pymysql def insert_sql(sql): eng = pymysql.connect(host='123.56.2.32', user='root', password='123456' 阅读全文
posted @ 2021-08-11 19:41 睁yan-ii 阅读(1391) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页