终端命令快速转换mkv到mp4,秒转!!! 到ffmpeg官网下载http://www.ffmpeg.org/download.html选择对应的系统选择下载打开目录,执行configure文件打开终端,进入视频文件所在目录执行:ffmpeg -i input.mov -c copy output.mp4注:input和output为原视频文件名和转成后的文件名,名称可任意总结:6-7G到视频可在几秒中内容完成,这个几乎是拷贝速度!!终于不用先转码再导入fcpx耗费大量时间了!
wordpress xml 导出到Google blogger插件,简单好用 wordpress xml 导出到Google blogger插件,简单好用 下载地址:https://cn.wordpress.org/plugins/export-to-blogger/ Read more »
vestacp自动跳转HTTPS 1、进入命令输入: cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/rhel/force-https/nginx.tar.gz tar -xzvf nginx.tar.gz rm -f nginx.tar.gz 2、进入vestacp用户方案, 编辑默认模版 3、代理模版改为force-https 4、修改域名代理模版 Read more »
开启blogger默认的标签是关闭状态 google blogger标签在默认状态是关闭,需要点击一次操作才能打开。现在我们需要直接显示 1、进入html编码,找到 <b:attr cond='data:view.isLabelSearch' name='open' value='open'/> 2、删除 中间 cond='data:view.isLabelSearch' 即可 Read more »
blogger条件判断 <b:if cond="data:blog.pageName == "页面名称""> 执行代码内容 </b:if> 根据不同页面名称来判断,放置不同的模版,比如头部banner Read more »
Mac下图片转webp工具Webp converter Mac下jpg转webp工具:Webp converter 压缩比和画质非常优秀,转换速度超快,秒转! 下载链接:https://apps.apple.com/cn/app/id1522368690 Read more »
.code { background:#f5f8fa; background-repeat:no-repeat; border: solid #5C7B90; border-width: 1px 1px 1px 20px; color: #000000; font: 13px 'Courier New', Courier, monospace; line-height: 16px; margin: 10px 0 10px 10px; max-height: 200px; min-height: 16px; overflow: auto; padding: 28px 10px 10px; width: 90%; } .code:hover { background-repeat:no-repeat; } Read more »
优化blogger在国内访问几个要点 1、屏蔽官方自动加载 将 <head> 替换为 <!--<head>--><head> 将 </head> 替换为 </head><!--</head>--> 将 </body> 替换为 <!--</body>--></body> 2、js资源替换 将原生的<b:template-script async='true' name='indie' version='1.0.0'/>注释掉,替换为 自己的 <script async='async' src='你的网址/themes/Contempo/js/3311276799-indie_compiled.js'/> 3、图标、头像设置 找到class='profile-img' < img class = 'profile-img' expr:alt = 'data:messages.myPhoto' expr:height = 'data:authorPhoto.height' expr:src = 'data:authorPhoto.image' expr:width = 'data:authorPhoto.width' /> 替换为 < img class = 'profile-img' src = "你的头像外链地址" > 感谢 陈YFの博客( ̄▽ ̄)" 提供 https://blog.cyfan.top/p/620f3e8d.html Read more »
非www强制转向www,http强制转向到https 修改根目录文件.htaccess,增加如下代码: RewriteCond %{ HTTP_HOST } ^ domain . com$ [ NC ] RewriteRule (.*) http : //www.domain.com/$1 [R=301,L] RewriteCond %{ HTTPS } ! on RewriteRule (.*) https : //%{HTTP_HOST}%{REQUEST_URI} Read more »
网站首页快速设置黑白(css),针对特殊悼念场景应急 html { filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: url("data:image/svg+xml;utf8,#grayscale"); filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); -webkit-filter: grayscale(1); } Read more »