访问容器
docker exec -it <CONTAINER ID> /bin/bash
拷贝容器文件至本地
docker cp <IMAGE>:<容器路径> <本地路径>
拷贝本地文件至容器
docker cp <本地文件> <IMAGE>:<容器路 …
docker exec -it <CONTAINER ID> /bin/bash
docker cp <IMAGE>:<容器路径> <本地路径>
docker cp <本地文件> <IMAGE>:<容器路 …
Hi folks, As a front end developers we need to deal with different data models which come from the server side. We have to format them , change them and yes! we need to validate them. Mainly JSON at these days. In most cases back end data not …
read moreMac + Google
// package.json
{
"scripts": {
"build": "gulp build"
}
}
错误:
Error: Cannot find module '../lib/completion'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/staticDisk/repository/jenkins …// utils.j
exports.cssLoaders = function (options) {
...
return {
css: generateLoaders('postcss', {
plugins() {
return [require('postcss-px2rem')({ remUnit: 75 })]
}
}),
...
}
}
// vue-loader.conf.js
module.exports = {
...
postcss: [require('postcss-px2rem')({ remUnit: 75 })],
...
}
func measure(title: String!, call: () -> Void) {
let startTime = CACurrentMediaTime()
call()
let endTime = CACurrentMediaTime()
if let title = title {
print("\(title): ")
}
print("Time - \(endTime - startTime)")
}
func doSomeWork() {
measure("Array") {
var ar = [String]()
for i in 0...10000 {
ar.append("New elem \(i)")
}
}
measure("Image") {
let url = NSURL(string: "http://lorempixel.com/1920 …连接WIFI的时候点开高级设置,把IP和端口填进去。
点击更多,选择双绿高匿的IP
如果不行就换个IP试试
教程是贴吧看到的: http://tieba.baidu.com/p/3548595778
read more