如何在WordPress加入Google +1按钮
Google最近推出了+1按钮,如果人们特别喜欢你站点上的内容,可以点这个+1按钮把你的站点推荐给Google的搜索结果.如果想在自己的站点页面上加入这个按钮,可以去这里索取相应的代码.默认有四种尺寸可供选择,还可以选择加入已有的+1数量.设置完毕后,只要将代码的JS部分复制到head和body之间,余下的部分复制到你想要放置+1按钮的地方即可.
FIFA 12 First Official Gameplay Trailer
FIFA系列应该是我玩过最长时间游戏了,从小学时候在报纸上看到的一条新闻,说能在电脑上踢足球,那时候感觉简直就是不可思议,因为文章里没有说是哪款游戏,我还专门叫父亲打电话去报社问,结果人家也不知道.后来看到杂志里介绍FIFA和实况,才真正开始玩.记得当初的FIFA罚任意球或角球的时候,箭头都是弯的,只要按射门就能踢出非常有弧线的球,甚至有一个角度是必进无疑的.后来上了初中和高中,也没有什么时间玩了,只有每年暑假的时候在ps2上过一下瘾.后来拥有了ps3之后,开始玩实况,玩了08和09,一度认为FIFA已经没落了,一次偶然的机会在best buy里试玩了FIFA 10,突然找回了小时候的感觉,然后就开始一发不可收拾的重新爱上了FIFA.期待今年秋天的FIFA 12!
WWDC 2011
MIT公开课 – Introduction to Computer Science and Programming
在coolshell看到这套麻省理工的CS公开课,讲的非常系统,从简单的问题逐渐深入,个人认为是非常好的一套教程.视频全部都内嵌字幕,质量非常高.
1: Introduction and Goals; Data Types, Operators, and Variables Go to this video
2: Branching, Conditionals, and Iteration Go to this video
3: Common Code Patterns: Iterative Programs Go to this video
4: Abstraction through Functions; Introduction to Recursion Go to this video
5: Floating Point Numbers, Successive Refinement, Finding Roots Go to this video
6: Bisection Methods, Newton/Raphson, Introduction to Lists Go to this video
7: Lists and Mutability, Dictionaries, Introduction to Efficiency Go to this video
8: Complexity: Log, Linear, Quadratic, Exponential Algorithms Go to this video
9: Binary Search, Bubble and Selection Sorts Go to this video
10: Divide and Conquer Methods, Merge Sort, Exceptions Go to this video
11: Testing and Debugging Go to this video
12: Debugging, Knapsack Problem, Introduction to Dynamic Programming Go to this video
13: Dynamic Programming: Overlapping Subproblems, Optimal Substructure Go to this video
14: Introduction to Object-oriented Programming Go to this video
15: Abstract Data Types, Classes and Methods Go to this video
16: Encapsulation, Inheritance, Shadowing Go to this video
17: Computational Models: Random Walk Simulation Go to this video
18: Presenting Simulation Results, Pylab, Plotting Go to this video
19: Biased Random Walks, Distributions Go to this video
20: Monte Carlo Simulations, Estimating pi Go to this video
21: Validating Simulation Results, Curve Fitting, Linear Regression Go to this video
22: Normal, Uniform, and Exponential Distributions Go to this video
23: Stock Market Simulation Go to this video
24: Course Overview; What Do Computer Scientists Do? Go to this video