CHAPTER 19 Ordering the World 第19章 分类世界 Our planet is home to a bewildering variety of plants and animals. We still don't know exactly how many insects or sea creatures there are. We rightly worry that the human race is reducing their number. ‘Endang…
CHAPTER 7 Science in Islam 第7章 伊斯兰中的科学 Galen did not live to see the decline of the Roman Empire, but by AD 307 it had been split in two. The new emperor, Constantine (280-337), moved his seat of power to the east- to Constantinople, now Istanbul in…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <sc…
CHAPTER 8 Out of Darkness 第8章 走出黑暗 We expect scientists to be trying to discover new things, and for science to be constantly changing. But what would science be like if we thought that everything had already been discovered? Being a top scientist mi…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <sc…
现在fedora 19出来了, 它的安装界面与跟fedora 18相同,都是metro UI. 不过现在官方已经不再推荐下载i386,而是x86-64位了,是不是现在x86-64已经把兼容性做得很好了呢? 所以我下载了x86-64的用用. 现在开始从硬盘安装fedora19, 假设你的硬盘分区为: /dev/sda1   /boot    500M /dev/sda2  /         40G /dev/sda3  /home     250G     # grub 中的 (hd0, 2),…
Guava's fluent comparator class, Ordering, explained. explained Updated Jun 27, 2013 by cpov...@google.com Example 例子 assertTrue(byLengthOrdering.reverse().isOrdered(list)); Overview 总览 Ordering is Guava's "fluent" Comparator class, which can be…
CSRF攻击原理 网站是通过cookie来实现登录功能的.而cookie只要存在浏览器中,那么浏览器在访问这个cookie的服务器的时候,就会自动的携带cookie信息到服务器上去.那么这时候就存在一个漏洞了.如果你访问了一个恶意网站,这个网站可以在网页源码中插入JS代码,使用JS代码给其他服务器发送请求.因为在发送请求的时候,浏览器会自动把cookie发送给对应的服务器,这时候相应的服务器就不知道这个请求是伪造的.从而达到在用户不知情的情况下,给某个服务器发送了一个请求. 防御CSRF攻击原理…
从今天开始,我们将完成"公开课"课程的相关功能..... 1.把course-list.html复制到templates目录下 2.这个页面的头部.底部与之前定义的base.html模板是一样的,所以我们可以继承它,编辑course-list.html 3.在app.courses下新建urls.py文件,以后我们把课程相关的url都放在这个文件下 4.编辑项目根下的urls.py,把courses下面的urls.py包含进去 urlpatterns = [ ... #课程相关url配…