git 操作错误:.情景描述:当在git commit --amend 更新上一次提交时,而此时提交日志会跳转到别人的日志中.,会出现错误:如下弥补操作:1.git fetch (更新)2.git reset --soft HEAD~2 (回撤两次提交commit)3.git status (...
分类:
其他好文 时间:
2014-08-01 10:28:31
阅读次数:
238
??
新建项目dangdangusersearch
2.编写头文件head.h
#ifndef
_HEAD_H_
#define
_HEAD_H_
#include
//注意文件操作相关函数的头文件是stdio.h
#include
//为了使用system函数
#include
//字符...
分类:
编程语言 时间:
2014-08-01 02:26:01
阅读次数:
367
题目地址:HDU 3729
二分图最大匹配+按字典序输出结果。只要从数字大的开始匹配就可以保证字典序最大了。群里有人问。。就顺手写了这题。。
代码如下:
#include
#include
#include
#include
using namespace std;
int vis[110000], head[110000], cnt, link[110000], n, a[70...
分类:
其他好文 时间:
2014-07-31 20:54:27
阅读次数:
250
系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# ls...
分类:
其他好文 时间:
2014-07-31 19:53:07
阅读次数:
253
问题展现就像上图所示,head中什么都没有,head中的标签全部错位到body中显示,在页面的直观表现就是无故多处一行空白,很多人觉得这是编码者没有写好闭合标签的问题,嗯,是有可能,但不说现在的浏览器大都能自动...
分类:
其他好文 时间:
2014-07-31 17:28:07
阅读次数:
505
#!/bin/sh
if [ -z "`curl --connect-timeout 15 --max-time 20 --head --silent http://localhost/index.php|head -n 1|grep ‘200‘`" ];then
echo -e "$(date +%Y-%m-%d)\n"
killall nginx
killall...
分类:
Web程序 时间:
2014-07-31 17:23:50
阅读次数:
301
1 public boolean hasCycle(ListNode head) { 2 ListNode s=head; 3 ListNode f=head; 4 while(f!=null&&f.next!=null){ 5 ...
分类:
其他好文 时间:
2014-07-31 16:14:27
阅读次数:
223
——转载:http://blog.csdn.net/rosten/article/details/170682851、工程->Team->同步:2、从远程pull至本地,就会出现如下内容:3、使用Merge Tool,执行第二项使用HEAD合并后的效果:4、再手动修改4、修改后的文件需要添加到git...
分类:
系统相关 时间:
2014-07-31 16:04:56
阅读次数:
274
1 public ListNode detectCycle(ListNode head) { 2 ListNode s=head; 3 ListNode f=head; 4 while(f!=null&&f.next!=null){ 5 ...
分类:
其他好文 时间:
2014-07-31 16:01:36
阅读次数:
167
我想谈谈 我对于Head First SQL 中文版的一些看法事实上关于我翻译的这个Head First SQL 中文版。。我自觉得:的确翻译得非常烂。。和翻译Head First C#的飞哥相比,的确是要差了几个等级。。。可是要知道。。。飞哥是过了六级。。。550多分。。。口语A级的鸟人的嘛。。我...
分类:
数据库 时间:
2014-07-31 15:59:16
阅读次数:
266