摘要: 简单的记录下在VMware下安装11月的Arch经历。 我也不太清楚VMware下应该使用何总分区表以及启动方式...模模糊糊的就给分了GPT...//正文 总的来说,ISO提供了一个小型的Arch linux,在这个环境下安装Arch linux到pc,在进入pc arch完成一定安装 ... 阅读全文
posted @ 2014-11-17 16:31 Gemmeg 阅读(192) 评论(0) 推荐(0) 编辑
摘要: I want to download sumblime text 3 which could be touched via GFWand something is wrong with Ubuntu 14.04 when I try to connect my VPNAn equal way was... 阅读全文
posted @ 2014-11-03 20:45 Gemmeg 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 1.出现冲突conflick git status看下是哪些文件出问题了 具体解决我还不清楚 我这次是一个pyc文件的冲突,那么git add -u a.pyc再commit再push就ok了 参考:http://skywhsq1987.iteye.com/blog/1814137 h... 阅读全文
posted @ 2014-11-03 16:56 Gemmeg 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 本文主要记录在搭建环境时遇到的问题及解决方案啊关于setuptools, pip, virtualenv,环境:win8.1+python2.7.61.setuptools:Easily download, build, install, upgrade, and uninstall Python ... 阅读全文
posted @ 2014-10-14 00:31 Gemmeg 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Environment: Ubuntu14.04+Python2.7.6+django1.5.4Solution: Try link django-admin.py to /usr/local/bin?I got this:ln: failed to create symbolic link ‘... 阅读全文
posted @ 2014-10-13 10:58 Gemmeg 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 废话:买了个便宜VPS,一个月也就一刀,练练手玩~运气不好国庆期间一直putty连接不进去,还以为是自己ip搞错了,这两天什么也没修改就连接进去了,推断是服务商的问题环境: BuyVM+OpenVZ+CentOS6.4过程: Step-by-step, 跟着教程做 简写版:http://www.... 阅读全文
posted @ 2014-10-12 14:48 Gemmeg 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 首先,如下写法:Class A = B;Class A;A = B;并不等价,前者等价于A(B),后者等价于A.operator=(B) 问题源于我想要用类似如下写法完成复制拷贝函数Class(Class &t) { *this = t;} 尝试重载operator=,由于写挂了,或者说是... 阅读全文
posted @ 2014-09-30 00:26 Gemmeg 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Make some notes~ http://www.haiyun.me/archives/centos-freeradius-daloradius-ros.html参照上文进行配置首先是http服务,mysql服务的安装,然后是php,其中要加上php-pear(php扩展包)httpd服务会... 阅读全文
posted @ 2014-09-26 20:59 Gemmeg 阅读(265) 评论(0) 推荐(0) 编辑
摘要: A.inc ARG 感觉题意不是很清楚,看样例才看懂,就是一串二进制数,左边是低位,就扫一遍记录下改变的bit数#include #include #include using namespace std;const int maxn = 200;int n, cnt;char lis[maxn]... 阅读全文
posted @ 2014-09-11 16:27 Gemmeg 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Just follow this:http://www.haiyun.me/archives/centos-freeradius-daloradius-ros.html, and I will list something different in CentOS7#1:CentOS7 replace... 阅读全文
posted @ 2014-09-10 15:48 Gemmeg 阅读(958) 评论(0) 推荐(0) 编辑