(17) playing chicken teaches you Vue.js
vue-router
<a class="list-group-item" v-link="{ path: '/home'}">Home</a>
<a class="list-group-item" v-link="{ path: '/about'}">About</a>
/* Create router */
var router = new VueRouter()
Create component:
<script src="js/vue.js"></script>
<script src="j ...
Posted by jikishlove on Thu, 31 Oct 2019 07:58:48 -0700
canvas, the only front-end implementation in the whole network, supports multi graph compression and package and download
Technology stack:
canvas
JSZIP.js (the JSZIP Library of the compression and decompression plug-in on the web page side)
Filesaver.js (file saved to local library)
Direct interpretation of source code:
<div class="cont">
<div class="uploadBtn">Select pictures<input name="file" accept="image/png, image/jpeg" multipl ...
Posted by basim on Thu, 31 Oct 2019 03:22:39 -0700
FreeSql supports. NetFramework 4.0, ODBC access
It's nearly a year since FreeSql was released as an open source. At present, there are 64118 lines of code in the main warehouse. The commands counted by git command are as follows:
find . "(" -name "*.cs" ")" -print | xargs wc -l
Add in the code of several other expansion packages, there are about 70000 lines of source code.
Warehouse address: ...
Posted by erika_web on Wed, 30 Oct 2019 19:35:57 -0700
Nuxt.js + Axios + element UI project construction, and submit the project to Gitee
Article directory
Create nuxt.js project
nuxt.js directory structure
Integrate element UI and Axios
Add: push local projects to Gitee
Create nuxt.js project
Install Vue cli
npm install -g vue-cli --registry=https://registry.npm.taobao.org
Execute under project directory
vue init nuxt/starter &l ...
Posted by TheHaloEffect on Wed, 30 Oct 2019 10:02:24 -0700
[Kubernetes series] Part 8 full process practice of CI/CD
Preface
The sample code and Jenkins agent image already in this practice have been pushed and archived to github. > transmission gate
Note that the data in this practice are all intranet data. You must change it to the valid data of your own environment when testing.
Because this practice involves many components, if there is unclear opera ...
Posted by ali_p on Sun, 27 Oct 2019 22:07:12 -0700
Setting up proxy for brew/git/pip
1. How to set up HTTP/HTTPS proxy correctly
When brew is set to pass socks5 proxy, it will be found that pip does not support socks5 in fact. It can only pass http/https.
Get port first
Click on the status bar of the small rocket
HTTP Proxy Preference
Get the port number of HTTP (I am 1087)
Add the following to the. bash? Profile /. zshrc (zs ...
Posted by mimilaw123 on Fri, 25 Oct 2019 11:24:27 -0700
fabric 1.4 environmental construction and pit summary
Summary of fabric 1.4 environment construction
1. Install dependent tools
1.1 install Git
sudo apt update
sudo apt install git
1.2 install Curl
sudo apt install curl
1.3 installing docker
//To check whether Docker has been installed on the system:
docker --version
//Not installed. Use the fo ...
Posted by PhpDog on Fri, 25 Oct 2019 01:35:21 -0700
[brain burning together] Introduction to ES6 system
Why learn ES6
Master the connection and difference of ES3, ES5 and ES6
Getting started ES6
Learn to build ES6 compilation environment quickly
Learning ES6:
constant
Scope of action
Arrow function
Default parameters
Object agent
git
git clone https://github.com/cucygh/es6-webpack.git
cd es6-webpack && npm install
npm i
np ...
Posted by bjoerndalen on Wed, 23 Oct 2019 08:32:59 -0700
Play Lin UI to make small program: make a brief history of time with step bar component
Design sketch:
Introduction:
Considering the size limit of the applet, I introduce it on demand. The operation is as follows:
Download the Lin UI source code directly through git, and copy the dist directory (Lin UI component library) to your project.
git clone https://github.com/TaleLin/lin ...
Posted by sareejoh on Mon, 21 Oct 2019 12:41:41 -0700
Getting started with Git
Getting started with Git
What is Git?
Create version library information and configure user information
Submit modification process
View operation
Revocation
Version rollback
Branching operation
Storage work area
Remote warehouse
What is Git?
Git is the most advanced distributed version control ...
Posted by RedOrbit on Sun, 20 Oct 2019 12:28:41 -0700