摘要: 看到一篇[关于AngularJS Backbone Ember.js的对比](http://www.airpair.com/js/javascript-framework-comparison),建议看一看说说个人的观点(本人学艺不精,只是个人的观点,不保证观点完全正确,请轻拍):1. backbo... 阅读全文
posted @ 2014-08-25 17:56 窅山 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 意外发现了Rime输入法(OS X上叫鼠须管'Squirrel',windows上叫小狼毫'Weasel',linux上叫中州韵'ibus-rime',连名字都起的这么牛逼),真是神器啊,流畅的速度,灵活的配置,各个os上一致的体验,正是我想要的,非常喜欢。。。我在公司用的是windows 8,自己... 阅读全文
posted @ 2014-08-20 13:26 窅山 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: 在mac上使用windows的共享目录时,在terminal中时法使用cd的,会提示"xxx 不是目录",经过一番的查找,发现了[Mac Terminal 'cd' to folder alias](http://superuser.com/questions/253984/mac-terminal... 阅读全文
posted @ 2014-08-20 13:25 窅山 阅读(622) 评论(0) 推荐(0) 编辑
摘要: JS原生并没有提供方便使用的Formatter函数,用字符拼接的方式看起来混乱难读,而且使用起来很不方便。个人感觉C#里提供的语法比较好用,如: String.Format(“Welcome to learn '{0}','{0}' is awesome,you will {1} it!","... 阅读全文
posted @ 2014-08-19 15:49 窅山 阅读(11841) 评论(7) 推荐(3) 编辑
摘要: 1.这里下载插件zip解压后,将fullscreen.dll放到gvim.exe同目录下2.执行:call libcallnr("gvimfullscreen.dll","ToggleFullScreen",0)//切换全屏模式3.上面的命令非常麻烦,可以在_vimrc中mappingmap :call libcallnr("gvimfullscreen.dll","ToggleFullScreen",0)<CR 阅读全文
posted @ 2014-01-24 10:28 窅山 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 《45 Useful JavaScript Tips, Tricks and Best Practices》http://flippinawesome.org/2013/12/23/45-useful-javascript-tips-tricks-and-best-practices/1 – Don’t forgetvarkeyword when assigning a variable’s value for the first time.Assignment to an undeclared variable automatically results in a global variab 阅读全文
posted @ 2013-12-30 09:19 窅山 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 转自:http://berzniz.com/post/68001735765/javascript-hacks-for-hipstersJavascript Hacks for HipstersJavascript is so much fun, except when it’s not.There’s always the fear of runtime errors that keeps us thinking all the time while writing code. It makes us better coders - we have no other option than 阅读全文
posted @ 2013-11-26 10:35 窅山 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 转自:http://gaslight.co/blog/how-to-succeed-in-open-source-in-ways-you-havent-considered-yetIt’s Easy to Feel Entitled in the Open Source WorldA while back, it was easy to think of open source projects as real products. I think that I thought the contributors of these projects were getting some sort o 阅读全文
posted @ 2013-11-20 13:37 窅山 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 见:http://www.guomii.com/posts/19544 阅读全文
posted @ 2013-10-10 22:56 窅山 阅读(462) 评论(0) 推荐(0) 编辑
摘要: arch 64位下直接运行android emulator会出现错误:“Failed to start emulator: Cannot run program "xxxx/sdk/tools/emulator": error=2, No such file or directory这时要解开/etc/pacman.conf里的multilib的注释执行pacman -Syu然后安装lib32-glibclib32-libstdc++5或者还有:lib32-libncurseslib32-zlib 阅读全文
posted @ 2013-09-15 00:51 窅山 阅读(430) 评论(0) 推荐(0) 编辑