概述 这么多年来,Web开发人员都被告知应优化他们生产环境的代码。传统的方法是将应用程序的所有脚步进行压缩以减少应用程序的大小,以便让应用程序加载更快。而Sencha Cmd这么多年以来已经将这个过程自动化了。 然而,许多客户,还不知道可通过调整Sencha Cmd的压缩代码来进行一些额外的处理。尽 ...
分类:
其他好文 时间:
2020-04-01 17:48:29
阅读次数:
86
使用命令提示: 原因:python版本问题,dstat只支持python2 解决:修改python版本 ...
分类:
其他好文 时间:
2020-04-01 12:38:47
阅读次数:
160
pyhton出错: python d:\test.py File "<stdin>", line 1 python d:\test.py ^SyntaxError: invalid syntax 原因: 出错是因为你已经进入python解释器,而不是 在cmd环境里 如果要运行helloworld. ...
分类:
编程语言 时间:
2020-04-01 00:53:13
阅读次数:
95
最省事儿的,就是用CString中转一下: 1 2 3 4 int i = 10; CString str; str.Format(_T("%d"),i); LPCTSTR pStr = LPCTSTR(str); 另外,_stprintf也比较方便,并自动适应字符集,但需要申请内存并做静态转换(因 ...
分类:
其他好文 时间:
2020-03-31 14:12:09
阅读次数:
69
1. eval() : the eval function evaluates the “String” like a python expression and returns the result as an integer Syntax: eval(expression, [globals[, ...
分类:
编程语言 时间:
2020-03-30 23:10:12
阅读次数:
84
Ansible角色 roles是在ansible中,playbooks的目录组织结构。 而模块化之后,成为roles的组织结构,易读,代码可重用,层次清晰。 需求:通过role远程部署nginx并配置 准备目录结构 编写任务 准备配置文件 自定义变量需要在vars/main.yaml文件中声明 编写 ...
分类:
其他好文 时间:
2020-03-28 20:15:12
阅读次数:
79
1.鸡兔同笼 描述 一个笼子里面关了若干只鸡和兔子(鸡有2只脚,兔子有4只脚,没有例外)。已经知道了笼子里脚的总数为a,则笼子里面至少有多少只动物,至多有多少只动物? ?????????????????????????????????????????????????????????????????? ...
分类:
其他好文 时间:
2020-03-28 16:20:01
阅读次数:
119
Changes in MySQL 5.7.7 (2015-04-08, Release Candidate) Functionality Added or Changed Important Change; InnoDB: The following changes were made to Inn ...
分类:
数据库 时间:
2020-03-27 22:03:17
阅读次数:
128
今天在ctfhub整理了几个sql注入的解题过程,还算是比较详细的。 知识点都是比较常见的:每个题大致涉及的知识点用一张表格解释 !注:下方的 information_schema.xxxxxxxxxxxxxx皆表示 information_schema库下的表 如:schemata、tables等 ...
分类:
数据库 时间:
2020-03-24 01:09:31
阅读次数:
409
1 """ 2 异常 3 """ 4 """ 5 1.异常基类:Exception 6 2.常见的异常有:NameError 名称 SyntaxError 语法错误 IndexError 索引 7 KeyError 键 FileNotFoundError 文件未找到 AttributeError 对 ...
分类:
其他好文 时间:
2020-03-23 16:50:29
阅读次数:
97