摘要: 当前用户拿到所有权 takeown /f 'c:\nm' /r /d y 修改当前用户对文件夹的访问权限,确保有权删除 cacls 'c:\nm' /t /e /g yangche\zhanggw:f 删除目录 rd /s /q 'c:\nm' 阅读全文
posted @ 2020-11-09 21:12 ascertain 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Cygwin是Windows下模拟Linux环境的软件,最初由Cygnus Solutions研发,通过重新编译将Linux上的软件移植到Windows 官网: http://www.cygwin.com/ 1.安装Cygwin需要到官网下载安装包。在该网站首页的Current Cygwin DLL 阅读全文
posted @ 2020-11-09 20:21 ascertain 阅读(699) 评论(0) 推荐(0) 编辑
摘要: mysql中utf8和utf8mb4区别 MySQL在5.5.3之后增加了这个utf8mb4的编码,mb4就是most bytes 4的意思,专门用来兼容四字节的unicode。好在utf8mb4是utf8的超集,除了将编码改为utf8mb4外不需要做其他转换。当然,为了节省空间,一般情况下使用ut 阅读全文
posted @ 2020-11-09 19:10 ascertain 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 选用场景: 字段平均长度与极值相差小,选用char,反之,选用varchar 字段需要频繁更新,考虑char,char为定长,不容易产生碎片 字段存储信息很短,考虑char,varchar会占用额外空间保存长度信息 定长字段优选char 阅读全文
posted @ 2020-11-09 16:47 ascertain 阅读(83) 评论(0) 推荐(0) 编辑
摘要: comment查看comment show create table 'table_name'; show full columns from 'table_name'; 修改comment alter table 'table_name' modify column 'column_name' ' 阅读全文
posted @ 2020-11-09 09:34 ascertain 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 应用程序端: 应用程序应该是一个可调用对象 Python中应该是函数,类,实现了call方法的类的实例 可调用对象应该接收两个参数 函数实现: def application(environ,start_response): pass 类实现 class Application: def __ini 阅读全文
posted @ 2020-11-09 00:42 ascertain 阅读(147) 评论(0) 推荐(0) 编辑