V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  geelaw  ›  全部回复第 138 页 / 共 173 页
回复总数  3446
1 ... 134  135  136  137  138  139  140  141  142  143 ... 173  
2017-08-12 13:39:21 +08:00
回复了 islujw 创建的主题 JavaScript JS 获取 body 内 class 的数字字符串
var result = / postid-([-_0-9a-zA-Z]+) /.exec(' ' + document.body.className + ' ');
result = result && result[1];

// 以上代码可以覆盖绝大多数情况了
这很沿袭 C# 的说法,因为 C# 的泛型参数只能是类型……

泛型 = generics = 书写一段适合很多类型的代码
2017-08-12 10:18:39 +08:00
回复了 hkcdntop 创建的主题 Windows 有不登陆微软账户来激活 Office 的方法吗?
@hkcdntop
@sephinh

那你可能要小心该授权能否用于商业,很少听说微软的商业授权要求微软账户绑定,毕竟现在有企业专用的体系了。
2017-08-12 07:47:34 +08:00
回复了 hkcdntop 创建的主题 Windows 有不登陆微软账户来激活 Office 的方法吗?
你确定你购买的电脑包含了 Office 的授权而不是预装的可供试用的 Office ?

单纯注册登录微软账户不会激活你的 Office。Office 可以用产品密钥或者订阅( which 是一个微软账户或者 Office 365 tenant 账户)激活。
2017-08-12 00:21:38 +08:00
回复了 abc612008 创建的主题 分享创造 新做了个网页解密网站,试试你能到第几关
@malusama snowb.png ,然后两张快速切换或者 xor
2017-08-11 23:14:34 +08:00
回复了 abc612008 创建的主题 分享创造 新做了个网页解密网站,试试你能到第几关
服务器似乎挂了?
2017-08-11 14:52:46 +08:00
回复了 lml12377 创建的主题 程序员 想问问各位 restful 风格的 url 设计问题
page=几 这种设计容易导致错过一些内容。一个简单的想法是传入看到的最后一个对象 id,下次从下一个开始返回。

更好的方法是让客户端不需要知道怎么查看“下一页”,把分页 API 的下一页地址在本次查询返回。
2017-08-11 11:14:25 +08:00
回复了 jiangzhuo 创建的主题 iPhone 如何倒转 iPhone 的屏幕显示
需要程序自己支持,比如 Appareil photo 就支持。

如果你只是想要点 Home,可以用 AssistiveTouch。当然鉴于很多软件都没法在倒置的手机上有希望的旋转,也没什么用。

两种绕过方法:用 iPhone SE ;用双击 Home 降低屏幕一半的功能,然后改掉握上边的习惯。
2017-08-11 11:03:47 +08:00
回复了 jtam 创建的主题 Apple 请问 iPhone 和 Android Phone 之间传照片的优雅姿势有哪些?
@geelaw *而是看见了 15 楼
2017-08-11 11:03:24 +08:00
回复了 jtam 创建的主题 Apple 请问 iPhone 和 Android Phone 之间传照片的优雅姿势有哪些?
@BXIA 电子邮件怎么能算是点对点呢?

@MartinWu 如果你不着急回复而是看见了你 15 楼你就不会有这个问题了
2017-08-11 00:47:17 +08:00
回复了 islujw 创建的主题 CSS @keyframes 如何精确设置三分之一的时间点?
@islujw 那你让另一个动画也不完美就好了。而且我想象不到你要怎么设置两个动画才会“久而久之”地不同步。

或者把问题极小化详细描述到底是怎么一个需求。
2017-08-11 00:22:32 +08:00
回复了 islujw 创建的主题 CSS @keyframes 如何精确设置三分之一的时间点?
并不会久而久之出错,只是你每次看到的动画其实都不是完美的 1/3 而已。
2017-08-10 22:21:36 +08:00
回复了 jtam 创建的主题 Apple 请问 iPhone 和 Android Phone 之间传照片的优雅姿势有哪些?
@quinaeus 所以结论是 iOS 没有实现(事实)标准的蓝牙文件传输协议。
2017-08-10 21:52:54 +08:00
回复了 iParanoid 创建的主题 酷工作 [北京-搜狐] windows 10 UWP 工程师招聘 [15k~30k]
顶一个(虽然很想去但是心有余力不足啊
2017-08-10 19:28:15 +08:00
回复了 malagebidi 创建的主题 奇思妙想 放弃你的梦想
这很勃学
2017-08-10 19:20:53 +08:00
回复了 jtam 创建的主题 Apple 请问 iPhone 和 Android Phone 之间传照片的优雅姿势有哪些?
@MartinWu 有个东西叫蓝牙
2017-08-10 06:20:44 +08:00
回复了 starvedcat 创建的主题 问与答 这两种命令的学名是什么?
第二个可以叫“命令(行)解释器”。

另外这个分类有很大的问题,比如一个程序可以选择只接收用户有限长度的输入,用户不需要明显地表示“结束”。
2017-08-10 05:23:03 +08:00
回复了 Tedko 创建的主题 酷工作 可爱的 Sujitech 来招人了[iOS/运营]
支持一发 :-)
2017-08-09 23:55:42 +08:00
回复了 solaro 创建的主题 问与答 PHP 如何读取大文件( 1G 文本文件),并且正则匹配查找内容
对于固定的表达式把它编译成固定的代码就好了
2017-08-09 21:05:31 +08:00
回复了 mmv 创建的主题 程序员 这种情况,我能告赢微软吗?
至少在我国不会成功。

> Microsoft gives no other express warranties, guarantees, or conditions. Microsoft excludes all implied warranties and conditions, including those of merchantability, fitness for a particular purpose, and non-infringement. If your local law does not allow the exclusion of implied warranties, then any implied warranties, guarantees, or conditions last only during the term of the limited warranty and are limited as much as your local law allows. If your local law requires a longer limited warranty term, despite this agreement, then that longer term will apply, but you can recover only the remedies this agreement allows.
> If Microsoft breaches its limited warranty, it will, at its election, either: (i) repair or replace the software at no charge, or (ii) accept return of the software (or at its election the Microsoft branded device on which the software was preinstalled) for a refund of the amount paid, if any. These are your only remedies for breach of warranty. This limited warranty gives you specific legal rights, and you may also have other rights which vary from state to state or country to country.
> Except for any repair, replacement, or refund Microsoft may provide, you may not recover under this limited warranty, under any other part of this agreement, or under any theory, any damages or other remedy, including lost profits or direct, consequential, special, indirect, or incidental damages. The damage exclusions and remedy limitations in this agreement apply even if repair, replacement or a refund does not fully compensate you for any losses, if Microsoft knew or should have known about the possibility of the damages, or if the remedy fails of its essential purpose. Some states and countries do not allow the exclusion or limitation of incidental, consequential, or other damages, so those limitations or exclusions may not apply to you. If your local law allows you to recover damages from Microsoft even though this agreement does not, you cannot recover more than you paid for the software (or up to $50 USD if you acquired the software for no charge).

即使成功了也是填平性质的,你只能收到软件退款,当作你从来就没有机会使用这个软件一样。

另外,以上的情况是你购买了零售版本的软件,OEM 的情况又有不同。
1 ... 134  135  136  137  138  139  140  141  142  143 ... 173  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   996 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 63ms · UTC 20:08 · PVG 04:08 · LAX 13:08 · JFK 16:08
Developed with CodeLauncher
♥ Do have faith in what you're doing.