摘要: <div class="bt_img bt_img1"><canvas id="bingtu1" width="90" height="90" class="bingtu"></canvas></div> function print_voucher(){ $(".bt_img1").html("< 阅读全文
posted @ 2019-08-15 09:55 樊栋 阅读(570) 评论(0) 推荐(1) 编辑
摘要: 解决方案:给输入框(或select选择框)添加失去焦点的事件,当输入框失去焦点,页面自动滚动到顶部,并且需要加定时器,否则偶尔会失效 //blur失去焦点事件 $("input,select,textarea").blur(function(){ setTimeout(function() { va 阅读全文
posted @ 2019-08-15 09:44 樊栋 阅读(530) 评论(0) 推荐(1) 编辑
摘要: UPDATE 表名称 SET `字段名` = replace(`字段名`,'http*****', 'https******') //将http替换成https 阅读全文
posted @ 2019-08-15 09:38 樊栋 阅读(6790) 评论(0) 推荐(3) 编辑
摘要: 1:停止mysql服务2:mysql安装目录下找到my.ini;2:找到以下片段[mysqld]4:另起一行加入并保存skip-grant-tables5:启动mysql服务6:登录mysql(无用户名和密码)7:找到user表加入root用户INSERT INTO user (Host,User, 阅读全文
posted @ 2019-03-12 18:02 樊栋 阅读(353) 评论(0) 推荐(1) 编辑
摘要: 一、Centos 6版本解决办法: 1.任意运行一条iptables防火墙规则配置命令: 2.对iptables服务进行保存: 3.重启iptables服务: 二、Centos 7版本解决办法: 1、停止并屏蔽firewalld服务 2、安装iptables-services软件包 3、在引导时启用 阅读全文
posted @ 2018-01-31 10:49 樊栋 阅读(1884) 评论(0) 推荐(1) 编辑
摘要: 配置vim /etc/sysconfig/network-scripts/ifcfg-ens33 IPADDR = 你的本机ip 192.168.1. 的范围内 NETMASK = 255.255.255.0 GATEWAY = 192.168.1.1 你的本机网关ip Service networ 阅读全文
posted @ 2018-01-31 10:41 樊栋 阅读(619) 评论(0) 推荐(1) 编辑
摘要: Linux 服务器上安装git yum -y install git git config --global user.name "name" git config --global user.email "email" globa 参数表示这台机器上所有仓库都会使用这个配置,当然也可以对指定仓库使 阅读全文
posted @ 2018-01-16 11:28 樊栋 阅读(3406) 评论(0) 推荐(1) 编辑
摘要: 1 yaf 扩展 2 yafconf 扩展 3 yafconf 配置,在php.ini中 需要填写配置文件的目录 1 yaconf.directory=/yaconf 1 yaconf.directory=/yaconf 1 yaconf.directory=/yaconf yaconf.direc 阅读全文
posted @ 2018-01-16 11:25 樊栋 阅读(1702) 评论(0) 推荐(1) 编辑
摘要: 安装 yum -y install subversion svnserve --version 显示版本信息,则表示安装成功 mkdir /home/svn 创建版本库目录 svnadmin create /home/svn/pro pro目录下生成了几个文件,其中conf文件便是配置文件 cd c 阅读全文
posted @ 2018-01-16 11:23 樊栋 阅读(2781) 评论(0) 推荐(1) 编辑