三个按钮:,btn:[‘拨打‘,‘挂断‘,‘关闭‘]‘拨打‘,‘挂断‘这两个是不同时出现的。vardialog=layer.open({type:2,title:‘拨打电话‘,content:‘customerPhone.jsp‘,maxmin:true,area:layui.setter.area_percent,o
分类:
其他好文 时间:
2020-06-03 10:44:28
阅读次数:
57
服务器信息:centos7.48C8G50G部署过程部署jdk部署tomcat部署maven部署jenkins安装jdk下载地址https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html下载包上传到服务器/opt下tar-zxvf/opt/jdk-8u191-linux-x64.tar.g
分类:
其他好文 时间:
2020-06-03 09:26:51
阅读次数:
82
系统环境:centos61、需要升级版本libc,误操作导致的2、执行命令都是报错:[root@localhost~]#llls:errorwhileloadingsharedlibraries:libc.so.6:cannotopensharedobjectfile:Nosuchfileordirectory[root@localhost~]#lsls:errorwhileloadingshar
分类:
其他好文 时间:
2020-06-03 09:20:00
阅读次数:
115
sourcing 功能 使用source、点号(.) 或 exec读入脚本,可使脚本成为了主运行进程 脚本中的命令就好像是直接在当前shell中输入的一样(父shell) 提取前面涉及的函数及全局变量或数组,将其合并到一个文件library.sh中 View Code #!/usr/bin/env ...
分类:
系统相关 时间:
2020-06-03 00:38:59
阅读次数:
72
lsof list open files Linux一切皆文件,通过文件不仅可以访问常规数据,还可以访问网络连接(套接字)和硬件,该文件描述符为应用程序与os之间提供了接口.lsof需访问各种特权文件,故需root运行 COMMAND contains the first nine characte ...
分类:
系统相关 时间:
2020-06-02 22:52:28
阅读次数:
100
参考李文周的博客搭建vscode的go开发环境 在go build 时报如下错误: exec: “gcc”: executable file not found in %PATH% 以及 sorry, unimplemented: 64-bit mode not compiled in 解决方案: ...
分类:
其他好文 时间:
2020-06-02 21:41:56
阅读次数:
65
pip install opencv-python 运行demo: import cv2 img = cv2.imread(r"C:\\Users\\wucj\\Desktop\\lion.jpg", 1) cv2.imshow("1", img) cv2.waitKey() ...
分类:
其他好文 时间:
2020-06-02 19:19:44
阅读次数:
74
1 import re 2 3 4 def find_item(hero): 5 # 读取文件 6 with open('sanguo_utf8.txt', encoding='utf-8') as f1: 7 # 去掉内容中的换行,将文本变为一行 8 data = f1.read().replac ...
分类:
编程语言 时间:
2020-06-02 19:06:49
阅读次数:
60
新建文件,粘贴以下代码 macro MultiLineComment() { hwnd = GetCurrentWnd() selection = GetWndSel(hwnd) LnFirst = GetWndSelLnFirst(hwnd) //取首行行号 LnLast = GetWndSelL ...
分类:
其他好文 时间:
2020-06-02 19:05:51
阅读次数:
103
# coding=utf-8 import rsa import base64 def create_keys(): # 生成公钥和私钥 (pubkey, privkey) = rsa.newkeys(1024) pub = pubkey.save_pkcs1() with open('public ...
分类:
编程语言 时间:
2020-06-02 18:52:26
阅读次数:
72