-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
13 lines (12 loc) · 7.77 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="X-UA-Compatible" content="IE=edge"><meta name="author" content="仇小超"><title>仇小超的博客</title><meta name="description" content="仇小超的博客"><meta name="keywords" content="仇小超的博客,仇小超的Blog,博客,仇小超,仇超"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="renderer" content="webkit"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/blog_basic.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="alternate" type="application/atom+xml" title="ATOM 1.0" href="/atom.xml"><script src="/js/jquery.js"></script><meta name="generator" content="Hexo 5.2.0"></head><body><div class="sidebar animated fadeInDown"><div class="logo-title"><div class="title"><img src="/images/[email protected]" style="width:127px;"><h3 title=""><a href="/">仇小超的博客</a></h3><div class="description"><p>仇小超的博客</p></div></div></div><ul class="social-links"><li><a target="_blank" rel="noopener" href="https://github.com/qcjackman"><i class="fa fa-github"></i></a></li><li><a target="_blank" rel="noopener" href="http://5sing.kugou.com/14690532"><i class="fa fa-music"></i></a></li><li><a target="_blank" rel="noopener" href="http://facebook.com/jerry.chou.58152"><i class="fa fa-facebook"></i></a></li><li><a target="_blank" rel="noopener" href="https://twitter.com/qcjackman"><i class="fa fa-twitter"></i></a></li><li><a target="_blank" rel="noopener" href="https://weibo.com/p/1005051607292870"><i class="fa fa-weibo"></i></a></li></ul><div class="footer"><div class="p"> <span>© 2020 </span><!-- i.fa.fa-star--><span> 仇小超</span></div><div class="by_farbox"><span>Powered by </span><a href="https://hexo.io/zh-cn/" target="_blank">Hexo </a><span> & </span><a href="https://github.com/mrcore/hexo-theme-Anatole-Core" target="_blank">Anatole-Core </a></div></div></div><div class="main"><div class="page-top animated fadeInDown"><div class="nav"><li><a class="current" href="/">首页</a></li><li><a href="/archives">归档</a></li><li><a href="/tags">标签</a></li><li><a href="/about">关于</a></li><li><a href="/guestbook">留言</a></li></div><div class="information"><div class="back_btn"><li><a class="fa fa-chevron-left" onclick="window.history.go(-1)" style="display:none;"> </a></li></div></div></div><div class="autopagerize_page_element"><div class="content"><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2020/11/25/php_case_3/">Hyperf框架Docker环境安装Mosquitto扩展</a></h3></div><div class="post-content"><p>在Hyperf官方Dockerfile中添加如下描述即可:
123456# Install Mosquitto ExtentionRUN apk add --no-cache php7-dev \ && apk add --no-cache autoconf gcc g++ make \ ...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2020-11-25</span><i class="fa fa-tag"></i><a class="tag" href="/tags/php/" title="php">php </a><a class="tag" href="/tags/hyperf/" title="hyperf">hyperf </a><a class="tag" href="/tags/mosquitto/" title="mosquitto">mosquitto </a><span class="leancloud_visitors"></span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2018/05/15/php_case_2/">使用FFMPEG生成视频封面</a></h3></div><div class="post-content"><p>项目中需要对上传的视频提取一张图片所谓视频封面,查阅相关资料发现需要使用FFMpeg可以达到目的,并在github上发现了这个项目 PHP-FFMpeg,使用的前提是系统中需要安装 ffmpeg。
我用的是centos6,安装步骤如下:
1234sudo rpm --import http://li.nux.ro...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2018-05-15</span><i class="fa fa-tag"></i><a class="tag" href="/tags/php/" title="php">php </a><a class="tag" href="/tags/ffmpeg/" title="ffmpeg">ffmpeg </a><span class="leancloud_visitors"></span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2017/07/06/php_case_1/">PHP格式化时间戳时设置时区</a></h3></div><div class="post-content"><p>123$dt = new DateTime("now", new DateTimeZone('Asia/Shanghai'));$dt->setTimestamp(time());echo $dt->format('d.m.Y, H:i:s'...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2017-07-06</span><i class="fa fa-tag"></i><a class="tag" href="/tags/php/" title="php">php </a><span class="leancloud_visitors"></span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2016/11/14/javascript_case_1/">JS事件处理</a></h3></div><div class="post-content"><p>HTML事件处理就是嵌入到html元素中的事件处理,如:
1<button type="button" id="btn" onclick="alert('Hello World!')">按钮</button>
...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2016-11-14</span><i class="fa fa-tag"></i><a class="tag" href="/tags/javascript/" title="javascript">javascript </a><span class="leancloud_visitors"></span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2016/08/16/css_case_1/">CSS元素居中浅析</a></h3></div><div class="post-content"><p>内联元素水平居中在css中要使内联元素水平居中的方法是给它的父级元素添加
1text-align: center;
样式即可。
内联元素垂直居中在css中要使内联元素垂直居中的方法是给它的父级元素添加 line-height 样式,当 line-height 的值等于父级元素的高度时,元素就垂直居中了。
块级元...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2016-08-16</span><i class="fa fa-tag"></i><a class="tag" href="/tags/css/" title="css">css </a><span class="leancloud_visitors"></span></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2015/09/04/mysql_case_1/">MYSQL服务器拒绝远程访问的解决办法</a></h3></div><div class="post-content"><p>今天想在虚拟机里搭一个mysql服务器用来测试,结果遭遇不允许远程连接的情况,Mysql 默认是不允许远程连接的,因为有很大的安全隐患。需要手动增加可以远程访问数据库的用户,解决办法如下:
允许 192.168.20.100上的用户连接:
1mysql>GRANT ALL PRIVILEGES ON *.*...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2015-09-04</span><i class="fa fa-tag"></i><a class="tag" href="/tags/mysql/" title="mysql">mysql </a><span class="leancloud_visitors"></span></div></div></div></div><div class="pagination"><ul class="clearfix"></ul></div></div></div></div><script src="/js/jquery-migrate-1.2.1.min.js"></script><script src="/js/jquery.appear.js"></script><script src="/js/add-bookmark.js"></script><script src="/js/baidu-tongji.js"></script><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/hijiki.model.json"},"display":{"superSample":2,"position":"left","width":100,"height":200,"hOffset":10,"vOffset":-38},"mobile":{"show":false,"scale":0.2},"react":{"opacityDefault":0.8,"opacityOnHover":0.2},"log":false});</script></body></html>