Django安装 Python3在线安装Django pip3 install Django 验证是否安装成功,并查看当前版本 python -m django --version 创建项目。新建目录,并在目录下创建项目文件。 Windows系统下PowerShell指令: 工程目录文件如下: 自带 ...
分类:
其他好文 时间:
2019-04-18 21:46:29
阅读次数:
234
趣图:程序猿和运维狗的工作日常…… 趣图:Java 和 PHP 之间的战斗 ...
分类:
其他好文 时间:
2019-04-18 13:30:17
阅读次数:
168
Problem Statement We have a grid with H rows and W columns. At first, all cells were painted white. Snuke painted N of these cells. The i-th ( 1≤i≤N ) ...
分类:
编程语言 时间:
2019-04-15 22:56:01
阅读次数:
194
javascript / 参数: headers:表头 格式如: [ { column:"userid", //列字段 title: "姓名", //表头标题 formatter:(value) = {return ... } //格式化函数 }, ... ] rows:行 格式如:[{userid ...
分类:
Web程序 时间:
2019-04-14 22:57:50
阅读次数:
228
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2019-04-14 10:03:07
阅读次数:
165
angular在1.5.5以上的版本中,在$http中也加入了eventHandler和uploadEventHandlers等方法。 发送请求: 其中,可以用e.loaded/e.total*100来计算进度: 实际应用时,可结合Math.floor()。 ...
分类:
Web程序 时间:
2019-04-11 19:46:43
阅读次数:
227
因为某种原因必须要开启SElinux,用yum装了一个zabbix-agent 替换了一下配置文件结果悲剧了 ● zabbix-agent.service - Zabbix Agent Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.serv ...
分类:
系统相关 时间:
2019-04-11 19:13:54
阅读次数:
1708
使用MySQLdb遇到以下错误 原因是_mysql.so找不到 我们看下_mysql.so是怎么找的 20.dylib是有路径的, 如果这里没有路径需要添加路径, 使用下面用到的修改连接的方法 我们看下/usr/local/mysql/lib目录下面的内容 发现目录中是libmysqlclient. ...
分类:
数据库 时间:
2019-04-11 11:56:04
阅读次数:
230
问题 mysqlbinlog v v base64 output=DECODE ROWS mysql bin.000166 | less 查看当前使用的mysqlbinlog文件位置 which mysqlbinlog /usr/bin/mysqlbinlog ll /usr/bin/mysqlbi ...
分类:
数据库 时间:
2019-04-10 21:41:39
阅读次数:
181
使用spring+mybatis整合时报错:org.springframework.jdbc.support.SQLErrorCodesFactory - SQLErrorCodes loaded 错误原因是; 1.参数与数据库字段不匹配,可能是映射文件sql语句写错了,字段名与数据库中的字段名不匹 ...
分类:
数据库 时间:
2019-04-09 09:15:24
阅读次数:
286