How to integrate "bootstrap-vue" to "vue-cli webpack template"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"globals": { | |
"_": true | |
}, | |
"parser": "babel-eslint", | |
"extends": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gulpfile.js | |
let path = require('path') | |
let gulp = require('gulp') | |
let cleanCSS = require('gulp-clean-css') | |
let cssWrap = require('gulp-css-wrap') | |
let replace = require('gulp-replace'); | |
let cn = require('./i18n/src/cn'); | |
gulp.task('css-wrap', function () { | |
return gulp.src(path.resolve('./theme/default/index.css')) |
fuser -n tcp -k <port number>
- How to use it?
- Open the terminal from the adb tool directory.
- Input .\adb devices command to check whether the decice is connected.
- Input .\adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh to authorize the brevent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// It is available for user to load external file when lacking a web server. | |
// By using a command line: allow-file-access-from-files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Create a env: | |
virtualenv [Directory Name for placing the new virtal environment] | |
// 2. Activate the env: | |
source bin/activate | |
// 3. Deactivate: | |
deactivate | |
// 4. Check the package use of environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Create a ssh key file with private and public key: | |
ssh-keygen -t rsa -f ~/.ssh/[key_value name] -C [username] | |
// 2. Restrict access to the private key so that only myself can read it and nobody can write to it: | |
chmod 400 ~/.ssh/ssh-vm-key | |
// 3. Add the public key to the instance metadata | |
// 4. Remote login to the linux server using ssh: | |
ssh -i ~/.ssh/[key_value_name] [username]@[external address] |
NewerOlder