一、宏任务与微任务 macro-task(宏任务):包括整体代码script,setTimeout,setInterval micro-task(微任务):Promise,process.nextTick 二、JavaScript 执行机制 本文的目的就是要保证你彻底弄懂javascript的执行机 ...
分类:
编程语言 时间:
2019-04-26 11:29:39
阅读次数:
189
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
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
使用spring+mybatis整合时报错:org.springframework.jdbc.support.SQLErrorCodesFactory - SQLErrorCodes loaded 错误原因是; 1.参数与数据库字段不匹配,可能是映射文件sql语句写错了,字段名与数据库中的字段名不匹 ...
分类:
数据库 时间:
2019-04-09 09:15:24
阅读次数:
286
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded; Error importing module: ‘No module named ‘rbac.middlewares.rbac
‘‘
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded; Error importing module: ‘No module named ‘rbac.middlewares.rbac
‘‘
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded;
分类:
其他好文 时间:
2019-04-05 18:14:35
阅读次数:
268
问题:[root@cddserver2 ~]# yum -y install gcc-*Loaded plugins: fastestmirror, prestoCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ...
分类:
系统相关 时间:
2019-04-03 09:35:41
阅读次数:
209