http://www.nowamagic.net/academy/detail/48160207前面提到,Linus一直痛恨CVS及SVN这些集中式的版本控制系统,为什么呢?Git是分布式版本控制系统,那么集中式和分布式版本控制系统又有什么区别呢?先说集中式版
本控制系统,版本库是集中存放在中央服务...
分类:
其他好文 时间:
2014-05-27 03:09:37
阅读次数:
408
1. 打通ssh key的简单方法:ssh-copyid192.168.1.12.使用ssh
将Linux主机变成http代理服务器ssh-NfD192.168.22.1:10080127.0.0.1192.168.22.1:10080
表示监听本机192.168.22.1这个ip的10080端口。...
分类:
其他好文 时间:
2014-05-19 19:56:20
阅读次数:
500
环境配置项目使用SSH架构,现在要添加Spring事务管理功能,针对当前环境,只需要添加Spring 2.0
AOP类库即可。添加方法:点击项目右键->Build Path->Add librarys:打开Add Libraries对话框,然后选定
MyEclipse Libraries:点击Nex...
分类:
编程语言 时间:
2014-05-19 18:23:14
阅读次数:
539
1. 使用命令行停止防火墙 /etc/init.d/SuSEfirewall2_init
stop /etc/init.d/SuSEfirewall2_setup stop 2. 修改 vi /etc/ssh/sshd_config 修改:
#PermitRootLogin yes Password...
分类:
系统相关 时间:
2014-05-19 17:45:38
阅读次数:
368
在日常使用GIT过程中,经常会出错,比如无意间丢失了未提交的数据,回退版本时丢失了工作目录,等等。经过思考发现,所有这些错误都是因为对GIT中一些基本的概念模糊而导致,因为对一些基本概念不清晰,导致对GIT每一条命令将会产生的结果不符合预期。下面我就梳理以下我经常碰到的问题相关的基本概念。1.
Wo...
分类:
其他好文 时间:
2014-05-19 15:33:38
阅读次数:
266
1 @echo off 2 setlocal enabledelayedexpansion 3
git status||goto :eof 4 5 set "msg=quick push. %date% %time%" 6 if #%1==# (set
/p "msg=commit messa...
分类:
其他好文 时间:
2014-05-19 15:14:16
阅读次数:
402
用jquery实现的一个超级简单的下拉菜单。
效果图
初始效果
鼠标悬浮效果
代码
nav a {
text-decoration: none;
}
nav > ul > li {
float: left;
text-align: center;
padding: 0 0.5em;
}
nav li ul.sub-menu {
...
分类:
Web程序 时间:
2014-05-18 10:48:11
阅读次数:
522
GitHub and Git basic command tips...
分类:
其他好文 时间:
2014-05-18 09:03:35
阅读次数:
255
【题目】
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:
其他好文 时间:
2014-05-18 08:37:57
阅读次数:
370
原文出自:方杰|http://fangjie.sinaapp.com/?p=141 转载请注明出处
学习Android也有一段时间了,感觉大部分的Android应用都有很多类似的组件,所以就打算做了这样一个开源项目,目的是整合一些Android开发常用的组件Demo,方便以后项目中直接拿来用。git地址:https://github.com/JayFang1993/AndroidUtil
...
分类:
移动开发 时间:
2014-05-18 06:06:04
阅读次数:
395