Git 怎么添加多个远程仓库呢
#添加githubgit remote add origin https://github.com/xxx(仓库地址) #添加oschinagit remote add oschina https://git.oschina.net/xxxx(仓库地址) #提交到oschinagit push oschina master(分...
WordPress文章中的外链图片自动下载到本地
WordPress 很多插件或者代码都可以实现在编辑文章中自动将外链图片下载到本地,最终我选择了一个叫:Easy Copy Paste的插件。大家可以自己在后台下载 加到当前主题函数模板 functions.php 中...
Centos更改为163源
1. 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做...
CentOS开关机命令
命令简介 shutdown,poweroff,reboot,halt,init都可以进行关机,大致用法。 /sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h] /sbin/reboot [-n] [-w] [-d] [-f] [-i] /sbin/poweroff [-n] [-w] [...
WordPress外链转内链短网址跳转,带点击次数统计的哦
我们在使用wordpress做网站的时候避免不了一些外部链接的存在,可是直接在网站贴上外部链接又影响权重分散,但给每个链接都加nofollow也确实蛮累的,那什么样的策略比较好呢? 大叔觉得,将外链...
ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
今天开始研究ECShop,在安装完成的时候发现首页顶部、左侧和底部出现: Strict Standards: Only variables should be passed by reference in F:\wamp\www\ecshop\upload\includes\cls_tem...
Crayon Syntax Highlighter – 完善的代码高亮插件
分享代码博客?程序员博客?想要一个酷炫的代码高亮插件?Crayon Syntax Highlighter 我认为可以算是目前样式最多、易用性最高、功能最强的 WP 代码高亮插件了。也因此 CSH 会比其它的插件大一...
Strict standards: Non-static method cls_image::gd_version() should not be called statically in
Strict standards: Non-static method cls_image::gd_version() should not be called statically in E:\SiteAll\zbphp.com\www\includes\lib_base.php on line346 这个错误的的处理是修改文件...