git note

获取新远程分支 从eclipse git远程时只选了一个远程分支之后,想要切换到新的远程分支在eclipse Git视图的Remote Tracki

Vue

前言 最初想使用vue+element UI搭建一个Demo项目以寻求能否解决已有项目的页面结构混乱、难以维护的痛点。在跟着vue、npm、we

Eclipse问题集

提示resource is out of sync with the filesystem 在学习webpack复制项目时经常出现resource is out of sync with the filesystem. Right-click > Refresh will always clear this. 在比较长的行末尾编辑时,

Webpack

概念1 At its core, webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph which maps every module your project needs and generates one or more bundles. 作用 在getting-started说得很清楚 传统的html

markdown测试

Footnote 1 link1. asd f a asd f a asd f a asd f a asd f a asd f a Footnote 2 link2. asd f a asd f a asd f a asd f a asd f a asd f a Inline footnote^[Text of inline footnote] definition. asd f a asd f a asd f a asd f a asd f a asd f a Duplicated footnote reference2. asd

ELK问题集

get-started-elastic-stack https://www.elastic.co/guide/en/elastic-stack-overview/6.3/get-started-elastic-stack.html#install-elasticsearch centos下start ok, curl失败,status提示which: no java in xxx. [root@localhost data]# sudo service elasticsearch start Starting elasticsearch (via systemctl): [ OK ] [root@localhost data]# curl http://127.0.0.1:9200 curl: (7) Failed connect to 127.0.0.1:9200; Connection refused [root@localhost data]# sudo service elasticsearch

Eclipse与idea比较

1.e设置模板代码后,在class名称上一行输入/*回车会自动带入模板代码,idea不行 2.e默认有序列化id不存在警告,idea需要设置 https://blog.csdn.net/tiantiandjava/article/details/8781776

Centos7笔记

https://www.cnblogs.com/moxiaoan/p/5683743.html CentOS7使用firewalld打开关闭防火墙与端口 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop

Docker基本命令

Docker基本命令 #docker帮助 docker --help #docker镜像列表 docker images #docker运行容器列表 docker ps #停止容器 docker stop <docker ps中的container

virtualbox安装centos与docker

通过virtualbox安装CentOS-7-x86_64-Minimal-1804.iso后网络模式选择桥接重启 #禁用防火墙 systemctl stop firewalld #yum install net-tools ifconfig

maven错误集

1. 编译时突然死机,重启后编译报错 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project erp: Failed to install metadata com.sjdf:erp/maven-metadata.xml: Could not parse metadata D:\maven_repo\com\sjdf\erp\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) -> [Help 1] 删除D:\maven_repo\

idea快捷键

http://www.cnblogs.com/tonycody/p/3257601.html 【常规】 Ctrl+Shift + Enter,语句完成 “!”,否定完成,输入表达式时按 “!”键 Ctrl+E,最近的文件 Ctrl+Shift+E,最近更改的文件 S

idea配置

配置maven,jdk 显示空格 File -> Settings -> Editor -> General -> Appearance -> Show whitespaces 空格的点显示太小,如何居中或者更清晰?(字号调大仍然太小) 使用微软雅黑字体 File -> Settings -> Appearance ->

git忽略已经被提交的文件

git忽略已经被提交的文件 https://www.jianshu.com/p/2345b2aede59 git rm –cached xxx.xx *(所有) 在.gitignore中添加要忽略的文件 commit push 其他成员pull,working directory

linux笔记

//centos6 //显示linux发行版本信息 cat /etc/issue cat /etc/os-release //查看内存 free -m //防火墙 vi /etc/sysconfig/iptables service iptables status service iptables restart //加权限 chmod u+rwx filename //后台运行 nohup java -jar erp-log.jar > base-service.log 2>&1 & //vi复制行

spring-boot错误集

项目迁移至spring-boot 添加spring-boot <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.0.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>2.0.1.RELEASE</version> </dependency> 编译时报错 [proguard] java.io.IOException: Can't read [D:\maven_repo\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar] (Can't process class [META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class] (Unsupported class version number [53.0] (maximum 52.0, Java 1.8))) [proguard] at proguard.InputReader.readInput(InputReader.java:188) [proguard] at proguard.InputReader.readInput(InputReader.java:158) [proguard] at

hugo问题集

1.关于主题 最先使用了一个叫code-editor的主题,按照官方文档中Menu的介绍试了下,始终没成功。于是去主题中换成docdock发现