1 . goto beyond compare
folder
cd "/Applications/Beyond Compare.app/Contents/MacOS/"
2 . rename BCompare
to BCompare.real
mv BCompare BCompare.real
1 . goto beyond compare
folder
cd "/Applications/Beyond Compare.app/Contents/MacOS/"
2 . rename BCompare
to BCompare.real
mv BCompare BCompare.real
https://github.com/FiloSottile/mkcert |
refer: https://blog.csdn.net/chen134225/article/details/109856696 | |
yum install centos-release-scl | |
yum list dev\*gcc | |
yum install devtoolset-8-gcc devtoolset-8-gcc-c++ | |
echo "source /opt/rh/devtoolset-8/enable" >> ~/.zshrc | |
. ~/bashrc |
ref: | |
https://github.com/pyenv/pyenv-installer | |
https://github.com/pyenv/pyenv#getting-pyenv | |
1. install pyenv | |
``` | |
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
``` |
解决:
xcode Product->Scheme->Manage Schemes click '+' at the Target to select "React" and set the React is shared.
stackoverflow上 mark 的答案。
function fn1(num) { | |
console.log('fn1', num) | |
return num | |
} | |
function fn2(num) { | |
console.log('fn2', num) | |
return num | |
} |
试试: | |
1. line-height 设置为 normal | |
2. inline 元素,底部距离 (将其父元素的 font-size 设置为 0) | |
3. 字 + iconfont 的场景,不设置父元素高度由子元素撑开的时候,图标可能会有明显的偏差。 | |
``` | |
.mp-article-content-more-text { | |
position: absolute; | |
bottom: 50px; | |
left: 0; |
import Vue from 'vue' | |
// 传入一个组件配置 | |
// 创建它的实例,并且将它挂载到body上 | |
// 返回组件实例 | |
// export default function create(Component, props) { | |
// // 实例创建 | |
// // 作业:使用extend方式创建组件实例并挂载 | |
// // extend方法返回的组件构造函数 |
#!/usr/bin/env node | |
var path = require('path'); | |
var fs = require('fs'); | |
var xml2js = require('xml2js'); | |
function xmlFileToJs(filename, cb) { | |
var filepath = path.normalize(path.join(__dirname, filename)); | |
fs.readFile(filepath, 'utf8', function (err, xmlStr) { | |
if (err) throw (err); |