摘要: Advanced Software EngineeringWeek V--------------- 写在前面 -------------------------https://moonsea.herokuapp.com/附上链接,这个是要实现的功能-------------------------... 阅读全文
posted @ 2015-11-14 14:05 Moonseazj 阅读(893) 评论(0) 推荐(1) 编辑
摘要: 写在前面:----------------------2015.11.03-------------------------------------------------今天又测试了一下,发现了两点问题:1. 优惠时间已经过去,现在不再享受200-100的优惠2. 经过测试,加入购物车的书,如果缺... 阅读全文
posted @ 2015-11-02 19:50 Moonseazj 阅读(1235) 评论(4) 推荐(1) 编辑
摘要: 今天帮地理所的一个同学做了一个关于百度地图公交路线搜索的东西,就是把各条公交路线汇总在一张图上。本来觉得蛮容易的,后来试了一下,发现将一条公交路线,以及公交站点的信息搜索并显示出来,很容易实现,官方也已经提供了demo,但是将两条或者多条路线放在一起显示出来就有一些困难了。百度地图提供BusLine... 阅读全文
posted @ 2015-10-31 00:41 Moonseazj 阅读(2211) 评论(0) 推荐(0) 编辑
摘要: Advanced Software Engineering1.运行如下命令,下载一个项目,这个项目是课堂内部的项目,下载需要密码,所以暂时先不把密码放出来。这一步随便下载一个项目就可以。git clone http://cgao_rottenpotatoes-rails-intro@reposi t... 阅读全文
posted @ 2015-10-26 20:06 Moonseazj 阅读(386) 评论(0) 推荐(0) 编辑
摘要: Advanced Software Engineering今天在做高级软件工程作业时,遇到一些问题,如下:在新git clone 一个ruby rails的项目之后,在本地进行bundle install的时,系统报错提示需要“gem install pg -v '0.18.3'”,在根据提示安装之... 阅读全文
posted @ 2015-10-26 18:50 Moonseazj 阅读(305) 评论(0) 推荐(0) 编辑
摘要: This is my second blog, and also the first blog from Blogilo on Ubuntu.How to install it?Next1. sudo apt-get install Blogilo2. blogilo3.settings --> c... 阅读全文
posted @ 2015-10-22 18:00 Moonseazj 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Advanced Software Engineering The First Class Part II 1 Sign up one Heroku account 2 Set up # Run this from your terminal: # Please ensure that you have Ruby installed. wget -O- https://... 阅读全文
posted @ 2015-10-09 01:30 Moonseazj 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Advanced Software Engineering The First Class Part I 1 Install Essential Dependecies sudo apt-get update sudo apt-get install -y build-essential openssl curl libcurl3-dev libreadline6 libreadline6-d... 阅读全文
posted @ 2015-09-19 10:23 Moonseazj 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 记录一个简单的栈溢出的实例,具体的分析以后加进去。 程序源代码buffer.c: #include #include void fun1(char *input) { char buffer[10]; strcpy(buffer,input); printf("Call fun1,buffer=%s\n",buffer); } void fun2() { printf("Call fun2"... 阅读全文
posted @ 2015-06-03 10:02 Moonseazj 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 今天一个同学过来问我,打开的word文档,刚输入的文字在未保存之前,存储在计算机的什么位置,我回答说存储在内存中。 然后她缓缓地回答我说,内存中找不到word中刚输入的文本。但是能够找到txt在内存中刚输入的未保存的数据。 我想这应该是文件编码的问题,word以其特定编码方式将输入的内容进行编码存储在内容中,直接读取内容查找明文应该是找不到的,而txt这种文本文件在内容中是直接以明文的形式进行存储... 阅读全文
posted @ 2015-05-28 17:02 Moonseazj 阅读(107) 评论(0) 推荐(0) 编辑