06 2019 档案

摘要:具体原因: 因为zsh缺省情况下始终自己解释这个 *.h,而不会传递给 find 来解释。 解决办法: 在~/.zshrc中加入: setopt no_nomatch, 然后进行source .zshrc命令 阅读全文
posted @ 2019-06-20 10:44 ma_fighting 阅读(1525) 评论(0) 推荐(0) 编辑
摘要:碰到的问题是: upload 组件在 on中写的监听事件不会被触发 在 props 中来监听:==> 阅读全文
posted @ 2019-06-15 13:40 ma_fighting 阅读(3392) 评论(0) 推荐(0) 编辑
摘要:package main import ( "bytes" "crypto/hmac" "crypto/sha1" "encoding/base64" "encoding/json" "fmt" "io" "io/ioutil" "mime/multipart" "net/http" "os" "... 阅读全文
posted @ 2019-06-15 13:34 ma_fighting 阅读(1579) 评论(0) 推荐(0) 编辑
摘要:this user requires mysql native password authentication 在连接mysql的url上加上?allowNativePasswords=true,这次正常了。 阅读全文
posted @ 2019-06-15 13:32 ma_fighting 阅读(2400) 评论(0) 推荐(0) 编辑
摘要:> use mysql; > update user set host='%' where host='localhost'; > flush privileges; 阅读全文
posted @ 2019-06-14 19:31 ma_fighting 阅读(2224) 评论(0) 推荐(0) 编辑
摘要:我使用的5.5的mysql数据库会报这个错, 换成5.7的就可以了 阅读全文
posted @ 2019-06-13 14:42 ma_fighting 阅读(297) 评论(0) 推荐(0) 编辑
摘要:yum install libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel 阅读全文
posted @ 2019-06-11 19:35 ma_fighting 阅读(315) 评论(0) 推荐(0) 编辑
摘要:1. count(1) and count(*) 当表的数据量大些时,对表作分析之后,使用count(1)还要比使用count(*)用时多了! 从执行计划来看,count(1)和count(*)的效果是一样的。 但是在表做过分析之后,count(1)会比count(*)的用时少些(1w以内数据量), 阅读全文
posted @ 2019-06-11 15:43 ma_fighting 阅读(646) 评论(0) 推荐(0) 编辑
摘要:Linux下的压缩解压缩命令详解及实例 实例:压缩服务器上当前目录的内容为xxx.zip文件 zip -r xxx.zip ./* 解压zip文件到当前目录 unzip filename.zip 另:有些服务器没有安装zip包执行不了zip命令,但基本上都可以用tar命令的,实例如下: tar -z 阅读全文
posted @ 2019-06-06 19:00 ma_fighting 阅读(164467) 评论(0) 推荐(0) 编辑
摘要:cat /etc/redhat-release 阅读全文
posted @ 2019-06-04 10:42 ma_fighting 阅读(2889) 评论(0) 推荐(0) 编辑
摘要:在vue中使用less首先要下载依赖:npm install less less-loader --save-dev 下载好之后就可以.vue文件中使用lang="less"和@import 阅读全文
posted @ 2019-06-01 16:06 ma_fighting 阅读(3708) 评论(0) 推荐(0) 编辑
摘要:有些时候不小心上传了一些敏感文件(例如密码), 或者不想上传的文件(没及时或忘了加到.gitignore里的), 而且上传的文件又特别大的时候, 这将导致别人clone你的代码或下载zip包的时候也必须更新或下载这些无用的文件, 因此, 我们需要一个方法, 永久的删除这些文件(包括该文件的历史记录) 阅读全文
posted @ 2019-06-01 15:54 ma_fighting 阅读(6828) 评论(0) 推荐(2) 编辑

历史天气查
点击右上角即可分享
微信分享提示