$ 的使用 渲染效果 $primary-color: #333; body { color: $primary-color; } body { color: #333; } & 的使用,使用当前容器名称 a { font-weight: bold; &:hover { text-decoration... ...
分类:
Web程序 时间:
2019-12-23 19:21:36
阅读次数:
145
git checkout . #本地所有修改的。没有的提交的,都返回到原来的状态git stash #把所有没有提交的修改暂存到stash里面。可用git stash pop回复。git reset --hard HASH #返回到某个节点,不保留修改。git reset --soft HASH#返 ...
分类:
其他好文 时间:
2019-12-23 18:31:29
阅读次数:
69
Git如何优雅的进行版本回退:git reset 和 git revert区别 https://blog.csdn.net/fly910905/article/details/88635673 ...
分类:
其他好文 时间:
2019-12-23 16:34:54
阅读次数:
57
###在master将文件拷贝到kubernetes节点上 scp /etc/kubernetes/admin.conf dataexa-k8s-node-01:/etc/kubernetes/ ###环境变量生效 echo "export KUBECONFIG=/etc/kubernetes/ad ...
分类:
其他好文 时间:
2019-12-23 13:03:50
阅读次数:
86
一:add后的回退代码 1.在原有已经的基础上,又新增加了一个小需求 经过修改,添加到暂存区。 这个时候,会存在modified文件: 2.然后,又说需求不需要存在了 可以进行丢弃 在reset后,需要checkout。 二:commit的回退代码 1.目前文件中的情况 2.进行一次commit 仓 ...
分类:
其他好文 时间:
2019-12-23 00:21:58
阅读次数:
116
在执行python3 manage.py migrate时出现以下错误 ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's Strict Mode fixes man ...
分类:
其他好文 时间:
2019-12-22 14:24:51
阅读次数:
100
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, i ...
分类:
Web程序 时间:
2019-12-21 18:16:52
阅读次数:
95
Description Given a list of Connections, which is the Connection class (the city name at both ends of the edge and a cost between them), find edges th ...
分类:
其他好文 时间:
2019-12-21 12:00:30
阅读次数:
76
题目概览 html5中的form怎么关闭自动完成? :before和:after中单冒号和双冒号的区别是什么,这两个伪元素有什么作用? javascript的作用域的理解 http都有哪些状态码? 题目解答 html5中的form怎么关闭自动完成? 概念:HTML5 中有个新属性autocomple ...
分类:
其他好文 时间:
2019-12-21 09:47:27
阅读次数:
119
package main import ( "time" "fmt" ) func main() { timer := time.NewTimer(3*time.Second) ok := timer.Reset(1*time.Second) //把以前3秒重置1s fmt.Println("ok=... ...
分类:
其他好文 时间:
2019-12-21 00:24:52
阅读次数:
82