V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  Mutoo  ›  全部回复第 35 页 / 共 194 页
回复总数  3862
1 ... 31  32  33  34  35  36  37  38  39  40 ... 194  
2020 年 6 月 17 日
回复了 sugarkeek 创建的主题 分享发现 注册 Heroku 时提示我的密码已经泄露
config.js 之类的不依赖其它模块,直接用 copy-webpack-plugin 复制到 build 目录即可。
...
plugins: [
new CopyPlugin([
{ from: 'configs/prod.env.js', to: 'env.js' },
]),
...
}
大意就是从现在开始,20 分钟左右,演出开始。不用太纠结。

例子:
when do we deploy the new version ? (啥时候发新版本)
in 20 minutes (再等个 20 分钟左右)
2020 年 6 月 11 日
回复了 lysS 创建的主题 YouTube 油管为啥不增加弹幕这种及其先进的功能啊?
因为老外看电影的时候不会小声讲话吧。
2020 年 6 月 11 日
回复了 JCZ2MkKb5S8ZX9pq 创建的主题 程序员 才知道 Foobar 是这意思
除了 foobar 还有很多会意词,一般我只用到 qux:
foo, bar, baz, qux, quux, quuz, corge, grault, garply, waldo, fred, plugh, xyzzy, and thud
2020 年 6 月 10 日
回复了 littlePigzzf 创建的主题 奇思妙想 球友们,你们公司还有在降薪吗?
上个月降 10%,本月降 5%,下个月恢复。
2020 年 6 月 10 日
回复了 zzzzeno 创建的主题 问与答 求帮忙想个网名
没什么想法,不过「扩散性百万亚瑟王」是 12 年一款很火的日本手游。
同送

Hello from JetBrains,

Only few days left before your coupon code for 1-year individual subscription for All Products Pack is gone! It expires on June 12, 2020. Take this chance to subscribe to All Products Pack and save 20%.

At checkout in our store, click 'Have a discount code' and enter the following code:

6C6WA-U8SK2-UAM3G-9UFP9-THK3R

If you already own an individual subscription for All Products Pack, feel free to share this coupon with a friend. Just remember each coupon can only be redeemed once and it is valid only for the purchase of an individual license.

The JetBrains Team
The Drive to Develop
2020 年 6 月 10 日
回复了 gulullu 创建的主题 Apple 美区 HBO 订阅试用了后忘记取消了,申请退款会同意吗?
一般理由合理都会同意退款。
2020 年 6 月 10 日
回复了 Visitor233 创建的主题 程序员 你在程序中用过那些数学公式?
@sisylocke 电影中出现的这个公式有误,10 后面的是指数,而不是乘数。
https://zh.wikipedia.org/wiki/%E7%AD%89%E7%BA%A7%E5%88%86
2020 年 6 月 10 日
回复了 Zach369 创建的主题 程序员 如何反编译写好的前端代码?
尝试一下 .map 文件,如果存在的话,下载下来后,可以用这个工具还原出带目录结构的源码
https://github.com/mutoo/webpack-sourcemap-unpacker#
有些小开发商为了方便线上 debug 会在 production build 的时候启用 sourcemap
https://webpack.js.org/configuration/devtool/#root

方便调试的同时暴露源码。不过对其它前端来说可是大好消息,可以下载下来学习、分析。
为些我还写了一个 sourcemap 解压工具
https://github.com/mutoo/webpack-sourcemap-unpacker
2020 年 6 月 9 日
回复了 Visitor233 创建的主题 程序员 你在程序中用过那些数学公式?
二次函数,三角函数等等,例如:
https://blog.mutoo.im/2020/05/critterpedia-plus-devlog/
2020 年 6 月 9 日
回复了 plusDiscuss 创建的主题 Chrome 以后 Chrome 源码中, blacklist 全部 改成 blocklist
此外还有 master/slave 改成了 main/sub
2020 年 6 月 5 日
回复了 nkchn 创建的主题 问与答 都 2020 年了,为啥如此重要的网站还只是支持 IE 浏览器
典型懒政,并且没有把钱花在应该花的地方。
澳洲这边的政府项目都挺与时俱进的,基本上每年更新。花纳岁人的钱请合同工维护。
2020 年 6 月 4 日
回复了 dbldong 创建的主题 程序员 都 2020 年了, 还有公司只能用 jquery 开发的吗
在重构公司的老 ng 项目,新项目用 react 写,于是现在过度期还引入了 ngReact 混合开发。
@meteor957 pickBy 的 callback 传入 (value, key) 返回 true 表示保留,false 表示忽略。逻辑自己组装,非常灵活。
字面量的话没办法。但是事后去掉 null/undefined 还是比较简单的。例如用 lodash 的 pickBy
const isNotNull = value=>value!==null;
const o = _.pickBy({ name: v }, isNotNull);
1 ... 31  32  33  34  35  36  37  38  39  40 ... 194  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1122 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 56ms · UTC 18:06 · PVG 02:06 · LAX 11:06 · JFK 14:06
♥ Do have faith in what you're doing.