摘要: 输入一个棋盘 ( p × q ),从任意点开始,每次走日子格,求能走遍每个点的序列,以Sample中给出的样式按字典序输出,如果得不到这样的序列输出impossible 由于要按字典序输出,所以优先访问坐标较小的点,第一次得到的序列就是所求结果 阅读全文
posted @ 2016-06-28 15:04 fxyburan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 下载公钥: 添加公钥: key-server: keyserver.Ubuntu.com 阅读全文
posted @ 2016-06-28 11:05 fxyburan 阅读(2005) 评论(0) 推荐(0) 编辑
摘要: crontab -e 在打开的文件中添加要执行的任务 例如: */3 * * * * /bin/sh /xxx/xxxx/xx.sh 表示每三分钟执行一次xx.sh 阅读全文
posted @ 2016-05-31 15:53 fxyburan 阅读(116) 评论(0) 推荐(0) 编辑
摘要: mvn install -Dmaven.test.skip=true 阅读全文
posted @ 2016-05-31 15:50 fxyburan 阅读(122) 评论(0) 推荐(0) 编辑
摘要: chmod +x shellname 使脚本生效 把shell所在路径加入环境变量:http://www.cnblogs.com/vontroy/p/5479889.html 在shell中直接使用shellname即可登录远程服务器 阅读全文
posted @ 2016-05-10 23:52 fxyburan 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Mac系统的环境变量,加载顺序为: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc /etc/profile和/etc/paths是系统级别的,系统启动就会加载,后面几个是当前用户级的环境变量。后面 阅读全文
posted @ 2016-05-10 23:41 fxyburan 阅读(5207) 评论(0) 推荐(0) 编辑
摘要: 1.Unix/Linux后端必须掌握的操作系统。个人建议平时可以完全使用Ubuntu Desktop作为日常使用的操作系统。附带的,需要对操作系统本身有足够的认识和了解。建议的书籍:《Linux编程》《Unix环境高级编程》2.C/C++虽然现在后端各种脚本语言盛行,但是C/C++作为基础中的基础, 阅读全文
posted @ 2016-05-10 20:32 fxyburan 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <!--?xml version="1.0" encoding="UTF-8" standalone="no"?--> 在JSP里,获取客户端的IP地址的方法是:request.getRemoteAddr(),这种方法在大部分情况下都是有效的。但是在通过了 Apache,Nagix等反向代理软件就不 阅读全文
posted @ 2016-05-05 08:53 fxyburan 阅读(2732) 评论(0) 推荐(0) 编辑