安装 npm install vuex --save 在自定义文件夹中的index.js中书写内容 import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ state: { ...
分类:
其他好文 时间:
2020-02-22 15:34:42
阅读次数:
57
gitlab备份与恢复 建议相同版本 gitlab安装的服务器,内存,存储一定要大 一、gitlab备份 使用命令 gitlab-rake gitlab:backup:create 该命令会备份gitlab仓库、数据库、用户、用户组、用户密钥、权限等信息。(恢复后的gitlab登录口令为备份的口令) ...
分类:
其他好文 时间:
2020-02-22 12:03:33
阅读次数:
65
[toc] 1、安装docker 方法一 方法二 2、docker配置,bip网段与宿主机配置一致 3、启动docker ` ` ...
分类:
其他好文 时间:
2020-02-22 00:02:50
阅读次数:
82
GMEM是gpu里重要的资源,gpu基于framebuffer的大小生成tile,通过解析tile在主存中重建surface。这个操作就是gmem store。更多的rt,导致更多的tile,更多的store操作,更多的性能损失。 恰当地说,GMEM就像到gpu的高速的L1级缓存。从这个缓存上加载东 ...
分类:
其他好文 时间:
2020-02-21 20:45:30
阅读次数:
93
数据库创建 DROP DATABASE IF EXISTS `sql_invoicing`; CREATE DATABASE `sql_invoicing`; USE `sql_invoicing`; SET NAMES utf8 ; SET character_set_client = utf8m ...
分类:
数据库 时间:
2020-02-21 17:51:25
阅读次数:
106
.gradle.gradlew.gradlew.bat.DS_Store/gradle*.iml/build/releasebonree.txt.idea*/buildlocal.propertiesgradle-wrapper.properties ...
分类:
其他好文 时间:
2020-02-21 17:45:04
阅读次数:
51
Given a binary tree, count the number of nodes in each node’s left subtree, and store it in the numNodesLeft field. Examples 1(6) / \ 2(3) 3(0) / \ 4( ...
分类:
其他好文 时间:
2020-02-21 13:01:03
阅读次数:
75
话不多说直接上源码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" ...
分类:
Web程序 时间:
2020-02-20 16:58:37
阅读次数:
717
1.自动保存用户名和密码配置 git config --global credential.helper store 2.配置用户名和邮箱 git config --global user.name "用户名" git config --global user.email "邮箱" 3.远程获取项目 ...
分类:
其他好文 时间:
2020-02-20 13:14:08
阅读次数:
63
一、基本概念 action dispatcher:接受actions,每个application中只有一个dispatcher. store:管理application的数据。每个store都在dispatcher中进行注册,并接受actions。store中的数据改变时,会触发change事件。每 ...
分类:
其他好文 时间:
2020-02-19 19:18:44
阅读次数:
88