在 Debian 10 下交叉编译 ffmpeg
先踩坑总结一下… # 安装依赖 (Ubuntu 可能有些包不同) apt-get install git zlib1g-dev libtool-bin cmake clang meson autogen gperf nasm unzip pax mercurial subversion ed texinfo bison flex cvs yasm automake autoconf pkg-config...
先踩坑总结一下… # 安装依赖 (Ubuntu 可能有些包不同) apt-get install git zlib1g-dev libtool-bin cmake clang meson autogen gperf nasm unzip pax mercurial subversion ed texinfo bison flex cvs yasm automake autoconf pkg-config...
第一种方法:各种串联 mount | sed 's#^.*on \(.\+\) type .\+$#\1#' | grep '^/tmp' | sort -r | xargs -d$'\n' umount 第二种方法: awk echo -e "$(awk '$2 ~ "^/tmp" { print $2 }' /proc/mounts)" | sort -r | xargs -l umount...
Jenkins 下的 Docker 插件会传入 构建宿主机 的 jenkins 用户 id ( uid ) 与 组 id ( gid ) 传入进去。 在单一或固定 uid/gid 机器的环境下,这个选择没有问题。但如果部署的机器里的 jenkins...
“替代包” 的这个特性从 [email protected] 开始提供(yarn 好像初版就有了?)。 比如我不爽 tape 包引入了一大堆没必要的 polyfill,而作者却不希望做出应对: [email protected]/tape#444 The size of...
const escapeRegex = s => (s || '').replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); const r = (strs, ...exps) => new RegExp(strs.raw.map((x, i) => x + escapeRegex(exps[i])).join('')); 利用方法: const js = `}(__0x12345, 0x123));`; const varName =...
因为 @babel v7 会默认不对 node_modules 下的文件进行编译(或需要单独放入一个 .babelrc 之类的配置文件?),利用 include 和 ignore 这些组合配置也不能让它无视掉这个设定。 最后只好对...