02 2018 档案
摘要:官网地址:http://fabricjs.com/ git https://github.com/kangax/fabric.js/
阅读全文
摘要:清除字符串前后的空格。(兼容所有浏览器) function trim(str) { if (str && typeof str === "string") { return str.replace(/(^\s*)|(\s*)$/g,""); //去除前后空白符 } } 快速排序 (1)在数据集之中,找一个基准点 (2)建立两个数组,分别存储左边和右边的...
阅读全文
摘要:打开配置文件: sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 将下面一行注释掉: # bind-address = localhost 重启服务 sudo service mysql restart 一、改表法 在localhost登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,将"localho...
阅读全文

浙公网安备 33010602011771号