V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  SpicyCat  ›  全部回复第 79 页 / 共 86 页
回复总数  1711
1 ... 71  72  73  74  75  76  77  78  79  80 ... 86  
是个「她」?妹子?
> 说要请我吃饭,当然那是后话。不提。
后话很精彩吧,怎么就不提了呢。
2016-01-14 11:07:41 +08:00
回复了 zhe13 创建的主题 问与答 What happened to my input method
不知道怎么解决你的问题,不过有在线拼音输入法可以暂时帮你输入中文
http://www.pinyinput.com/
2016-01-14 11:00:33 +08:00
回复了 whufix 创建的主题 问与答 网易邮箱为什么这么无耻?要不收费要不用它客户端?
有没有试过用别的邮箱客户端收信看是不是删信?总觉得靠删用户信件来强推自家产品有点不可思议。
有些客户端移动邮件是先复制再删除,这样的话 163 会认为客户端删信,也会保留在 「客户端删信」文件夹内。
2016-01-14 10:22:23 +08:00
回复了 tianzhen 创建的主题 JavaScript 为什么无法更改 JS 的构造函数呢?
@banricho 这图用什么工具画的,太厉害了
2016-01-13 16:38:50 +08:00
回复了 luw2007 创建的主题 Apple macbook 电池维护终极大法
https://www.getbatterybox.com/batterydesk/is-it-bad-to-keep-macbook-plugged-in-all-day-to-charger

> The charge extremes can vary, but typically they are between 0% - 20%, and 90% - 100%. This means that when a MacBook battery is between those ranges of percentages, it will degrade faster than normal.
所以楼主你是对的,电量过饱或者过低都不好

> Will my battery overcharge if left plugged in?
> The harm doesn't come from overcharging the battery. This does not happen as the battery controller chip inside of the MacBook Pro and Air are intelligent, and stop the battery from charging past the overcharging safety threshold.
但是楼主的这种做法也是没必要的。充满了后电池控制程序会自动停止充电。
@skydiver 这有啥不能的?这又不是什么被广泛应用的库或者框架,要考虑兼容考虑各种影响。这就是个游戏,最多是 wiki 上的 solution 会 fail 。
2016-01-13 15:42:52 +08:00
回复了 123s 创建的主题 程序员 求长知识, shim 和 sham 什么区别
> es5-shim.js and es5-shim.min.js monkey-patch a JavaScript context to contain all EcmaScript 5 methods that can be faithfully emulated with a legacy JavaScript engine.
shim 完美模拟了所有 ES5 中可以被完美模拟的方法。有点绕,就是说 ES5 中有些方法,是可以在旧 JS 引擎中完美模拟了,那么 shim 就完美模拟了它们。

> es5-sham.js and es5-sham.min.js monkey-patch other ES5 methods as closely as possible. For these methods, as closely as possible to ES5 is not very close. Many of these shams are intended only to allow code to be written to ES5 without causing run-time errors in older engines. In many cases, this means that these shams cause many ES5 methods to silently fail. Decide carefully whether this is what you want. Note: es5-sham.js requires es5-shim.js to be able to work properly.
这一段别看这么多,核心意思就是 ES5 中其他无法被完美模拟的方法,就由 sham 承包了。 sham 只承诺你用的时候代码不会崩溃,至于对应的方法是不是起作用它就不保证了,它只是尽力模拟(as close as possible)

所以如果你要用的方法在 shim 中都包含了,那么就不需要 sham 。 sham 能不引用就不引用。但是如果你要用的方法只包含在 sham 中,那你要明白 sham 只是保证不崩溃,并不能保证对应方法的功能正确。
另外 sham 依赖 shim
吐槽 API 难用的,有种东西叫 Pull Request ,请贡献你们的智慧。
楼主这铜币赚的。。。
Redmine
Gitlab 有 wiki 功能
readthedoc
sphinx
2016-01-13 12:43:07 +08:00
回复了 publicAdmin 创建的主题 git 求推荐下关于 git message 的最佳实践
要通用方案就是 server hook
2016-01-13 12:30:40 +08:00
回复了 MajestySolor 创建的主题 问与答 为什么民间舆论普遍支持快播呢?
@pixstone 你知道快播和 youtube 的区别吗?
debug bashrc 本质上和 debug bash 脚本没啥区别。首先你得知道你自己的 bashrc 都干了啥,不能说从网上或者从别的账户抄一份过来能用就不管了,这样你永远也不会 debug 。
其次建议用 git 之类的工具托管 bashrc ,这样出问题了,能很快回滚到没有问题的版本,新旧版本比较,很容易定位错误。
最后, bashrc 一般不会太长,也不会太复杂,用对半注释法找错误,就是注释一半留一半,看错误在不在,找到包含错误的一半,再注释一半留一半,几次下来就定位好了。

网上说的 echo '' > .bashrc 就是清空 bashrc ,那肯定不会出错,但是你的各种配置也就没有了。
2016-01-12 15:20:27 +08:00
回复了 wysnylc 创建的主题 问与答 一个很蠢的问题, shell 到底是什么意思?
2016-01-12 14:26:33 +08:00
回复了 glchaos 创建的主题 CSS Css 大神求帮忙
给截图,给代码。
目测是巧合。
2016-01-12 13:00:48 +08:00
回复了 princeqjzh 创建的主题 Linux 我们是这样装饰自己的 Linux 云主机哒~~~~
所谓的启动云主机是什么意思? ssh 登陆?如果要在 ssh 登陆后显示 banner 也可以修改 /etc/motd 文件
2016-01-12 11:52:20 +08:00
回复了 DendimoN 创建的主题 Android 业余新手用 Android Studio 做开发,用哪本书来入门比较好?
Android Studio 不是自带 example 的吗?全跑一遍就差不多了。
1 ... 71  72  73  74  75  76  77  78  79  80 ... 86  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2219 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 62ms · UTC 04:21 · PVG 12:21 · LAX 21:21 · JFK 00:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.