修改https为http,在Android SDK Manager->Tools-Options...选项界面,将“Force https://… sources to be fetched using http://…”勾选! 另外需要在文件(C:\Windows\System32\drivers...
分类:
移动开发 时间:
2014-11-04 17:18:54
阅读次数:
185
LNMP状态管理命令:
LNMP状态管理: /root/lnmp {start|stop|reload|restart|kill|status}
Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}
MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}
Memcached状态管理:/etc/init.d/memcached {start|stop|re...
分类:
其他好文 时间:
2014-11-03 16:30:04
阅读次数:
204
HDU 3315 My Brute
题目链接
和HDU2835是一样的思路,利用把数字离散掉来多判断一个优先级
代码:
#include
#include
#include
#include
using namespace std;
const int MAXNODE = 105;
typedef int Type;
const Type INF = 0x3f3...
分类:
其他好文 时间:
2014-11-01 19:17:18
阅读次数:
191
// Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"// color与=号之间必须有个空格let colors =[ "Air Force Blue":(red:...
分类:
编程语言 时间:
2014-11-01 09:43:28
阅读次数:
206
Usage:ip[OPTIONS]OBJECT{COMMAND|help}
ip[-force][-batchfilename
whereOBJECT:={link|addr|route|rule|neigh|ntable|tunnel|
maddr|mroute|monitor|xfrm}
OPTIONS:={-V[ersion]|-s[tatistics]|-r[esolve]|
-f[amily]{inet|inet6|ipx|dnet|link}|
-o[neline]|-t[imestamp]}
..
分类:
系统相关 时间:
2014-11-01 06:22:34
阅读次数:
326
Usage:ip[OPTIONS]OBJECT{COMMAND|help}
ip[-force][-batchfilename
whereOBJECT:={link|addr|route|rule|neigh|ntable|tunnel|
maddr|mroute|monitor|xfrm}
OPTIONS:={-V[ersion]|-s[tatistics]|-r[esolve]|
-f[amily]{inet|inet6|ipx|dnet|link}|
-o[neline]|-t[imestamp]}
..
分类:
系统相关 时间:
2014-11-01 06:20:06
阅读次数:
347
由于在Linux下一直没有找到好的svn工具(类似于TortiseSVN的)。当然eSVN这些也不错,但就是使用上觉得还不是非常习惯。最终还是选择了svn原始的命令行工具来进行版本控制操作。
命令行的有些指令使用起来还是比较方便的。如svn checkout、svn commit这些命令基本上使不使用图形界面关系也不是很大。唯一比较麻烦的命令的就是svn add,因为新增加的文件会分步在...
分类:
系统相关 时间:
2014-10-30 17:04:40
阅读次数:
188
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.思路:时间复杂度O(m*n),也就是BF(Brute...
分类:
其他好文 时间:
2014-10-29 14:37:50
阅读次数:
141
题意:n(n
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4971
——>>项目必须解决相应的技术问题,技术问题之间也存在依赖,对应闭合图,最大收益对应最大权和。。于是,最大权闭合图,最小割,最大流上场。。
建图:
1)超级源S = n + m, 超级汇T = n + m + 1
2)对于每个项目i:S -> i (profit[i])...
分类:
其他好文 时间:
2014-10-28 09:27:11
阅读次数:
226
https://fedorahosted.org/logrotate/man pageslogrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail command] [-s|--state statefile] [-v|--verbose] [-?|...
分类:
其他好文 时间:
2014-10-27 15:30:41
阅读次数:
198