在 terminal 里格式化输出 json

利用 json 管道命令,在 terminal 里格式化输出 json

terminal curl json cli

erb 中的 partial 可选参数

Optional Parameters in View Partials

erb partial

ls 搜索过滤资源

ls 文件较多的时候,需要搜索过渡一些资源

ls list

ls 只列前几行

有一些数据量特别大的情况下,ls 会很慢,这时候可能只需要几条数据 即可

shell ls list 大数据 性能

HTML无referrer

可以无 referrer 限制的用别人的图片等资源

referrer 外链 never meta html

HTML无缓存请求

HTML 的 meta 里的关于缓存的一些设置。

cache pragma cache-control expires

.npmrc中调用环境变量

如何在npmrc中调用系统的环境变量

npm npmrc 环境变量