摘要: 按下面步骤开启热点http://jingyan.baidu.com/article/03b2f78c5a3c975ea237ae09.html进入/etc/NetworkManager/system-connections/目录打开刚才的热点mode改成ap 阅读全文
posted @ 2014-12-01 13:42 Netop 阅读(132) 评论(0) 推荐(0)
摘要: 转自:http://www.linuxidc.com/Linux/2013-05/84815.htmsudo apt-get install build-essentialsudo apt-get install libgl1-mesa-devsudo apt-get install libglu1... 阅读全文
posted @ 2014-12-01 13:40 Netop 阅读(203) 评论(0) 推荐(0)
摘要: 转自:http://www.cnblogs.com/macula/archive/2012/02/12/2347637.html环境:ubuntu10.04LTS1、在终端中直接输入 sudo apt-get install subversion,选择安装即可2、查看版本命令 svnserve --... 阅读全文
posted @ 2014-12-01 13:38 Netop 阅读(217) 评论(0) 推荐(0)
摘要: 安装好时路径是在 /var/www/html如果我想改成 /var/www的话,按如下步骤修改即可sudo gedit /etc/apache2/sites-available/000-default.conf打开文件后找到 DocumentRoot /var/www/html 这一行,改成 /v... 阅读全文
posted @ 2014-10-20 19:31 Netop 阅读(635) 评论(0) 推荐(0)
摘要: 出现如下提示:AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive global... 阅读全文
posted @ 2014-10-20 19:23 Netop 阅读(405) 评论(0) 推荐(0)
摘要: #include #include int main(){ time_t raw; struct tm* ti; time(&raw); ti=localtime(&raw); printf("%d-%d-%d %d:%d:%d\n",ti->tm_year+1900,ti->tm_mon+1,... 阅读全文
posted @ 2014-10-20 09:14 Netop 阅读(162) 评论(0) 推荐(0)
摘要: 不断寻找增广路,每找到一条增广路,匹配数加1#include #include #include using namespace std;int m,bn,gn;vector vec[510];bool b[510]; //记录v2的点是否被访问过int lk[510]; //记录v2匹配的点boo... 阅读全文
posted @ 2014-10-16 12:28 Netop 阅读(206) 评论(0) 推荐(0)
摘要: 系统引导出错,如果grub核心文件还在分区内,可用如下办法解决:rescue模式下可使用的命令有:set,ls,insmod,root,prefix(设置启动路径)在rescue模式下search命令不能用,对不清楚grub2文件处于哪个分区的,可以用ls命令查看,比如1)无boot分区的情况ls ... 阅读全文
posted @ 2014-10-15 08:01 Netop 阅读(519) 评论(0) 推荐(0)
摘要: 基于dfsdfn[i]表示点1到i的距离,low[i]表示点i的根节点为low[i],从点low[i]和点i可以相互到达dfs点1,如果low数组全为1,即1可以和其他所有点相互到达,则输出Yes代码如下:#include #include #include using namespace std;... 阅读全文
posted @ 2014-10-14 10:32 Netop 阅读(185) 评论(0) 推荐(0)
摘要: % 文件路径+当前文件名%:h 文件路径%:t 文件名%:r 文件路径+当前文件名(不带扩展名)%:e 扩展名 阅读全文
posted @ 2014-09-27 22:27 Netop 阅读(121) 评论(0) 推荐(0)