CSS魔法
CSS魔法
# [译] [PJA] [504] AMD 规范 > * Original: [AMD - Chapter 5. Modules - Programming JavaScript Applications](http://chimera.labs.oreilly.com/books/1234000000262/ch05.html#amd) > * Translated by: [cssmagic](https://github.com/cssmagic) ## AMD ## AMD 规范 On the...
# [译] [PJA] [503] 模块模式 > * Original: [The Module Pattern - Chapter 5. Modules - Programming JavaScript Applications](http://chimera.labs.oreilly.com/books/1234000000262/ch05.html#the_module_pattern) > * Translated by: [cssmagic](https://github.com/cssmagic) ## The Module Pattern ## 模块模式...
# [译] iOS 7 之 HTML5 综合测评:亮点、缺点和槽点 > * Original: [The HTML5 Scorecard: The Good, The Bad and the Ugly in iOS 7](http://www.sencha.com/blog/the-html5-scorecard-the-good-the-bad-and-the-ugly-in-ios7/) > * Translated by: [cssmagic](https://github.com/cssmagic) ...
# [译] [PJA] [501] 模块化的原则 > * Original: [Principles of Modularity - Chapter 5. Modules - Programming JavaScript Applications](http://chimera.labs.oreilly.com/books/1234000000262/ch05.html#principles_of_modularity) > * Translated by: [cssmagic](https://github.com/cssmagic) ## Principles of Modularity ## 模块化的原则...
# [译] [PJA] [500] 第五章 模块 > * Original: [Chapter 5. Modules - Programming JavaScript Applications](http://chimera.labs.oreilly.com/books/1234000000262/ch05.html) > * Translated by: [cssmagic](https://github.com/cssmagic) # Chapter 5. Modules # 第五章 模块 Modules are...
# 如何在 iOS 设备上配置 hosts ## 前提 iOS 设备指的是 iPhone/iPod touch/iPad 等运行 iOS 操作系统的移动设备。 为了测试网页在这些移动设备上的表现,我们往往需要使用真实的设备去访问内网的开发/测试环境。在某些时候,服务器端严格绑定域名(不允许使用 IP 地址访问),而且这个域名往往是虚拟的域名(比如 `yoursite.dev` 之类),我们就需要在移动设备上配置 hosts。 最重要的一点,你的 iOS 设备最好已经越狱了。越狱的目的不是为了安装盗版软件,而是为了获取系统的最高权限,这样才有可能修改 hosts 这样的系统级文件。(同理,在 Android 设备上修改 hosts 文件需要获取 root...
# [多图] 苹果 2013 iPhone 5c/5s 发布会简译与简评 > 9 月 10 日发布会当晚我并没有熬夜看直播,而是选择第二天一早下载官方视频慢慢看。这样也有好处,发布会 Keynote 的很多细节可以定格,慢慢听,慢慢看,慢慢品。看完官方视频之后,就会发现很多媒体报道已经没法看了,微博上的很多评论也令人哑然——不求甚解想当然的观点太多,静心思考的观点太少。(也有可能是我还没有领悟到大家吐槽的方式吧……) > > 所以,即使这个话题在快速消费的大背景下已经开始有点过气了,我还是决定把发布会的视频拿出来,简要翻译一下,再加点自己的小感想,与同好分享。 *** ## 开场  发布会就安排在苹果总部的一个小厅内。场面明显比不上 WWDC 那般宏大,不过实际上很多重要产品(比如第二代 MacBook Air 和 iPhone 4S 等等)也是在这里发布的。这次发布会也很紧凑,一个小时解决问题。...
# [译] 分分钟学会一门语言之 Ruby 篇 > * Original: [Learn X in Y Minutes: Where X = Ruby](http://learnxinyminutes.com/docs/ruby/) > * Source File: [adambard/learnxinyminutes-docs - GitHub](https://github.com/adambard/learnxinyminutes-docs/blob/master/ruby.html.markdown) > * Translated by: [cssmagic](https://github.com/cssmagic) >...
# [译] 分分钟学会一门语言之 Python 篇 > * Original: [Learn X in Y Minutes: Where X = Python](http://learnxinyminutes.com/docs/python/) > * Source File: [adambard/learnxinyminutes-docs - GitHub](https://github.com/adambard/learnxinyminutes-docs/blob/master/python.html.markdown) > * Translated by: [cssmagic](https://github.com/cssmagic) >...
[译] 程序员的困境
# [译] 程序员的困境 > * Original: [Programmer's Dilemma - I.M.H.O. - Medium](https://medium.com/i-m-h-o/231d7499a75) > * Translated by: [cssmagic](https://github.com/cssmagic)  Recently I interviewed tens of candidates for a kernel programmer's position....