摘要: 一、改变提交的github目录 ①、git remote rm origin(清除) ②、git remote add origin https://github.com/jwwb681232/github仓库名.git ③、git push origin master(提交) 阅读全文
posted @ 2016-05-09 17:03 捅了个浆糊 阅读(116) 评论(0) 推荐(0)
摘要: edit .git/config file under your repo directory find url=entry under section [remote "origin"] change it from url=https://MichaelDrogalis@github.com/d 阅读全文
posted @ 2016-05-09 16:46 捅了个浆糊 阅读(354) 评论(0) 推荐(0)
摘要: 安装步骤如下: 1、yum install subversion 2、输入rpm -ql subversion查看安装位置,如下图: 我们知道svn在bin目录下生成了几个二进制文件。 输入 svn --help可以查看svn的使用方法,如下图。 3、创建svn版本库目录 mkdir -p /var 阅读全文
posted @ 2016-05-09 13:31 捅了个浆糊 阅读(116) 评论(0) 推荐(0)
摘要: 解决办法: 删除yum的历史记录 上面的命令可能需要root权限才能执行 阅读全文
posted @ 2016-04-01 13:38 捅了个浆糊 阅读(301) 评论(0) 推荐(0)
摘要: 一.安装并配置MySQL 到http://dev.mysql.com/downploads/repo/yum/下载centos6.x的rpm文件,我们选择: Red Hat Enterprise Linux 6 / Oracle Linux 6 (Architecture Independent), 阅读全文
posted @ 2016-04-01 13:10 捅了个浆糊 阅读(352) 评论(0) 推荐(0)
摘要: 理解CSRF(跨站请求伪造)原文出处Understanding CSRF对于Express团队的csrf模块和csurf模块的加密函数的用法我们经常有一些在意。 这些在意是莫须有的,因为他们不了解CSRF token是如何工作的。 下面快速过一遍!读过后还有疑问?希望告诉我们错误?请开一个issue... 阅读全文
posted @ 2015-10-21 17:39 捅了个浆糊 阅读(3236) 评论(0) 推荐(0)
摘要: 通过数组参数的方式传递多个checkbox选中值var student = { 'info': [] };$("input[name='student']:checked").each(function (i, n) { student['info'].push(n.value);}); 这... 阅读全文
posted @ 2015-09-07 16:10 捅了个浆糊 阅读(674) 评论(0) 推荐(0)
摘要: if(dataBack.remind){ $("#isremind").prop("checked",true);}else{ $("#isremind").removeAttr("checked");} 添加的时候用prop,取消用removeAttr。问题解决了。 阅读全文
posted @ 2015-09-07 14:45 捅了个浆糊 阅读(212) 评论(0) 推荐(0)
摘要: $items = array( array('id' => 1,'pid' => 0, 'name' => '一级11' ), array('id' => 11, 'pid' => 0, 'name' => 'www.jb51.net 一级12' ), array('id' => ... 阅读全文
posted @ 2015-09-06 17:24 捅了个浆糊 阅读(378) 评论(0) 推荐(0)
摘要: function tiao(i){ var cur = document.getElementById(i); getPosition(cur);}function getPosition(e){ var t=e.offsetTop; var l=e.offsetLeft; whi... 阅读全文
posted @ 2015-07-25 16:42 捅了个浆糊 阅读(3102) 评论(0) 推荐(1)