上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 55 下一页
摘要: 下个月的同天 def same_day_of_next_month(obj: datetime.date): def last_day_of_current_month(_obj: datetime.date): if _obj.month == 12: first_day_of_next_mont 阅读全文
posted @ 2021-04-21 18:51 ascertain 阅读(33) 评论(0) 推荐(0) 编辑
摘要: %WORKSPACE% <=> D:\workspace\com.cjml.service.verification 比git仓库多了 .git文件夹 多了 target文件夹 在此编译打包 阅读全文
posted @ 2021-04-21 11:15 ascertain 阅读(43) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-04-21 09:46 ascertain 阅读(58) 评论(0) 推荐(0) 编辑
摘要: ll 和 stat 命令显示的均为文件的apparent-size(实际大小) 需du命令,接下来看du命令的三个选项 du默认显示的是文件实际占用的磁盘空间,默认显示单位为 KB,通过--block-size调节为字节 stat中显示大小为14403342 (apparent-size),占据bl 阅读全文
posted @ 2021-04-20 17:09 ascertain 阅读(248) 评论(0) 推荐(0) 编辑
摘要: php-fpm只支持Unix-like OS,不支持Windows,Windows可使用php-cgi此cgi进程管理器替代php-fpm 比如Apache mod_fcgid 可以用来替代 mod_cgi 和 mod_cgid,具有管理和维持PHP-CGI进程数目的功能. ApacheLounge 阅读全文
posted @ 2021-04-19 08:46 ascertain 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 本地分支master与origin/master建立关联,origin/master被删除,重置 本地分支master与origin/main建立关联 查找配置文件位置 设置变量(默认 local) 拉取远程所有分支 git fetch --tags --force --progress -- ht 阅读全文
posted @ 2021-04-18 19:52 ascertain 阅读(57) 评论(0) 推荐(0) 编辑
摘要: paramiko基于SSH连接ssh Server执行操作(SSHClient远程连接,SFTPClient上传下载) pip install paramiko 简单示例 import paramiko ssh = paramiko.SSHClient() # 创建ssh客户端 know_hosts 阅读全文
posted @ 2021-04-16 17:57 ascertain 阅读(93) 评论(0) 推荐(0) 编辑
摘要: HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe 437(英语),65001(utf-8),936(GBK)。 阅读全文
posted @ 2021-04-16 17:21 ascertain 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 选择当前行 缩放字体 更改自动补全,中文书法时,原快捷键不可用 full screen Code Completion 默认Match case font 调整界面的字体,字号 调整console设置 设置split分屏快捷键 调整关闭选项卡为 ctrl + w 修改默认project路径 plug 阅读全文
posted @ 2021-04-16 16:54 ascertain 阅读(176) 评论(0) 推荐(0) 编辑
摘要: /etc/sysconfig/network-scripts/route-eth0ip/prefix via ip /etc/rc.d/rc.local ip route add 10.1.1.0/24 via 192.168.1.1 dev eth0 proto static metric 100 阅读全文
posted @ 2021-04-16 10:56 ascertain 阅读(294) 评论(0) 推荐(0) 编辑
摘要: login.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" 阅读全文
posted @ 2021-04-16 09:56 ascertain 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 首先在httpd.conf主配置文件中加载虚拟主机配置文件httpd-vhosts.conf 默认注释,需取消注释 配置httpd-vhosts.conf VirtualHost配置文件必须要包含黄框中的默认配置 <VirtualHost *:80> DocumentRoot "D:/wamp/io 阅读全文
posted @ 2021-04-16 09:54 ascertain 阅读(121) 评论(0) 推荐(0) 编辑
摘要: index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" 阅读全文
posted @ 2021-04-15 22:06 ascertain 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 设定字段默认值 alter table b alter id set default 0; 取消字段默认值 alter table b alter id drop default; 修改存储引擎 alter table b engine=myisam; 阅读全文
posted @ 2021-04-15 18:31 ascertain 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 配置CA server(master上) /etc/pki/tls/openssl.cnf dir=/etc/pki/CA cd /etc/pki/CA touch index.txt echo 01 > serial (umask 066;openssl genrsa -out private/c 阅读全文
posted @ 2021-04-15 18:07 ascertain 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 插件目录 默认目录 /usr/lib64/mysql/plugin 阅读全文
posted @ 2021-04-15 16:20 ascertain 阅读(47) 评论(0) 推荐(0) 编辑
摘要: -s 依据什么排序al average lock timear average rows sentat average query timec countl lock timer rows sentt query time -t show top N queries -g grep: only co 阅读全文
posted @ 2021-04-14 18:03 ascertain 阅读(64) 评论(0) 推荐(0) 编辑
摘要: os.chmod(path:Union[int,str,bytes,PathLike[str],PathLike[bytes]],mode:int,dir_fd:Optional[int],follow_symlinks:bool) -> Nonemode 采用 0o7777表示法 os.chmod 阅读全文
posted @ 2021-04-13 18:44 ascertain 阅读(100) 评论(0) 推荐(0) 编辑
摘要: "," 每三位分割 '{:,}'.format(88888888888888) for align,text in zip('<^>',['left','right','right']): print('{0:{fill}{align}16}'.format(text,fill=align,alig 阅读全文
posted @ 2021-04-12 16:22 ascertain 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Client: # https://dev.mysql.com/doc/refman/8.0/en/mysql-commands.html [client] pipe # 只能使用pipe方式连接 socket=verbatim # /tmp/mysql.sock pipe名字, 由server的s 阅读全文
posted @ 2021-04-12 14:52 ascertain 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 55 下一页