V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  autoxbc  ›  全部回复第 128 页 / 共 147 页
回复总数  2934
1 ... 124  125  126  127  128  129  130  131  132  133 ... 147  
@misaka19000 #5 点两次可能是 csrfToken 问题
https://www.v2ex.com/t/382940
如果会 js 可以自己修,或者每次操作先刷新下页面

我还反馈过两次标签闭合错误问题,好像也没修
https://www.v2ex.com/t/388305
2018-04-23 21:31:59 +08:00
回复了 sheiaini 创建的主题 问与答 在线播放器,有没有现成的轮子?
@sheiaini #18 基于切片的流媒体大多会生成 .ts 文件,比如 HLS 流媒体。.ts 文件的优点是切片和切片之间无缝拼接,媒体流无断帧,过渡点不卡顿

如上面所言,.ts 本身无加密,多切片复原仅需简单合并
2018-04-22 00:08:44 +08:00
回复了 sheiaini 创建的主题 问与答 在线播放器,有没有现成的轮子?
加密 token + 普通文件协议是主流技术,其实强度很差,参见 you-get 项目

流媒体尤其是商业公司的整套方案那种,大部分强度不错。没有文件概念,都是切片,要下载需要逆向通信协议,足够对冲初中级技术人员的耐心。比如 fms 或者 dash 一类的,可以考虑一下
2018-04-21 00:50:12 +08:00
回复了 iovejrj 创建的主题 问与答 手机使用流量时的是公网 IP 吗?
先确定是不是内网 ip,设备信息里看看就知道了

再确定服务绑定的网卡 ip,没设置过一般是默认内网
2018-04-20 10:10:12 +08:00
回复了 wei193 创建的主题 全球工单系统 目测新浪的一个 js 被替换了
看起来像内部员工挣外快的手法,不过这 eval packer 过于此地无银了,还不如手写拆分 url
用 Win7

不要让家人被 Win10 虐
也别假装自己是运维鼓捣 Arch
2018-04-19 01:52:06 +08:00
回复了 rppig42 创建的主题 Apple 分享一下美区 $200 Apple ID 被永久关闭的经历
下次苹果开发者大会,套一白 T 恤站门口发礼品卡,估计可以搞个团灭
2018-04-17 22:25:12 +08:00
回复了 zhou00 创建的主题 程序员 想问下大家的键盘打字习惯
大多数程序员一天的产出是 100 行可用代码
按照 10 小时工作时间,每小时只有 10 行

打字效率根本是无关紧要的,纠结这个没意义
2018-04-16 00:07:14 +08:00
回复了 bluetoy 创建的主题 Node.js Is there a module which can pretty print json format data in Nodejs?
http://jsbeautifier.org/
https://www.npmjs.com/package/js-beautify


CLI Options:
-f, --file Input file(s) (Pass '-' for stdin)
-r, --replace Write output in-place, replacing input
-o, --outfile Write output to file (default stdout)
--config Path to config file
--type [js|css|html] ["js"]
-q, --quiet Suppress logging to stdout
-h, --help Show this help
-v, --version Show the version

Beautifier Options:
-s, --indent-size Indentation size [4]
-c, --indent-char Indentation character [" "]
-t, --indent-with-tabs Indent with tabs, overrides -s and -c
-e, --eol Character(s) to use as line terminators.
[first newline in file, otherwise "\n]
-n, --end-with-newline End output with newline
--editorconfig Use EditorConfig to set up the options
-l, --indent-level Initial indentation level [0]
-p, --preserve-newlines Preserve line-breaks (--no-preserve-newlines disables)
-m, --max-preserve-newlines Number of line-breaks to be preserved in one chunk [10]
-P, --space-in-paren Add padding spaces within paren, ie. f( a, b )
-E, --space-in-empty-paren Add a single space inside empty paren, ie. f( )
-j, --jslint-happy Enable jslint-stricter mode
-a, --space-after-anon-function Add a space before an anonymous function's parens, ie. function ()
-b, --brace-style [collapse|expand|end-expand|none][,preserve-inline] [collapse,preserve-inline]
-u, --unindent-chained-methods Don't indent chained method calls
-B, --break-chained-methods Break chained method calls across subsequent lines
-k, --keep-array-indentation Preserve array indentation
-x, --unescape-strings Decode printable characters encoded in xNN notation
-w, --wrap-line-length Wrap lines at next opportunity after N characters [0]
-X, --e4x Pass E4X xml literals through untouched
--good-stuff Warm the cockles of Crockford's heart
-C, --comma-first Put commas at the beginning of new line instead of end
-O, --operator-position Set operator position (before-newline|after-newline|preserve-newline) [before-newline]
2018-04-13 00:51:22 +08:00
回复了 F2Sky 创建的主题 问与答 自定规则这样设置有什么问题吗?
PAC 里用 shExpMatch 和 dnsDomainIs 函数匹配网址,这么一个片段是看不出原因的,要看这个片段在上下文中的效果。如果是简单的匹配,dnsDomainIs 要用域名,shExpMatch 要用通配符表达式,上面的片段对两者都是无效的
2018-04-12 21:12:35 +08:00
回复了 autoxbc 创建的主题 分享发现 用持久数据给 Tampermonkey 加速百倍
@oott123 #4 适当调整 Babel,把已经实做的部分交给浏览器原生执行是可行的,应该会减少编译时间并提升性能

不过彻底去掉转义比较困难,毕竟 Babel 的功能不仅仅是 Next Generation JavaScript,很多插件是不可替代的
2018-04-10 20:04:58 +08:00
回复了 nosugar 创建的主题 程序员 [安全漏洞] 慎用部分划词翻译软件
这算比较好的了,怕的是好多扩展后台挖矿,前台弹返利

有顾虑的话可以自己动手写,一个简单的词典用不了 30 行
2018-04-10 14:40:30 +08:00
回复了 lance0z 创建的主题 程序员 2018 年使用 iPhone SE 小钢炮的烦恼
就我觉得 SE 太大了?希望教主诈尸出了 3.5 的
2018-04-06 22:46:47 +08:00
回复了 princeofwales 创建的主题 Windows 问一个 Windows 10 任务栏部分图标无法显示的问题
如果安装了 Classic Shell,那被锁定到经典开始菜单顶部的 modern 应用,启动后在任务栏上没有图标

解决方法是解除锁定;或者同时将其锁定在任务栏上
2018-04-06 21:27:51 +08:00
回复了 princeofwales 创建的主题 Windows 问一个 Windows 10 任务栏部分图标无法显示的问题
我的 Edge 一直是没图标的,bug 10 确实不是浪得虚名
2018-04-04 18:52:20 +08:00
回复了 aliasliyu4 创建的主题 问与答 小的电影网站的播放源从何而来?
很多大站的视频文件地址加密很弱,自己抓包套个播放器就行,还有专门卖解析接口的,按次付费
2018-04-03 17:32:33 +08:00
回复了 NickHopps 创建的主题 路由器 大家玩路由器都折腾了什么东西?
ls ./cgi

header.sh --- http header 伪造服务,userjs 跨域取资源时的跳板
ipip.sh --- 域名转 ip 地址服务,配合 ipip.net 自动显示当前网站服务器的归属地
playlist.sh --- 播放列表生成服务,解析出视频网站的真实文件地址,生成播放列表,提供给 ckplayer 调用
redirect.sh --- 获取重定向地址,userjs 需要知道某个地址重定向的网站时调用
referer.sh --- referer 伪造服务,userjs 跨域取资源时的跳板
youget.sh --- you-get 本地部署版,返回地址下载或生成播放列表
2018-04-02 16:38:00 +08:00
回复了 banks0913 创建的主题 宽带症候群 Wi-Fi 丢包的问题,求助
价格便宜又有准专业 QoS 的路由,只有磊科硬改和石像鬼固件,其它无解
2018-03-29 16:48:05 +08:00
回复了 Asimov01 创建的主题 Java 探讨一下 [if..else] 语句在 Java 和 JavaScrip 中的效率问题
用 node 跑了一下,没有区别

习惯上用第二种;多个特例的话,第一种会出魔鬼三角
dd 被滥用了,并不是最合适的工具。再生龙是对两个分区备份工具的封装,partimage 和 partclone 了解一下
1 ... 124  125  126  127  128  129  130  131  132  133 ... 147  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   972 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 60ms · UTC 20:54 · PVG 04:54 · LAX 13:54 · JFK 16:54
Developed with CodeLauncher
♥ Do have faith in what you're doing.