前言 Python的语法和其它编程语言的语法有所不同,编写Paython程序之前需要对语法有所了解,才能编写规范的Python程序。 输入输出 print() # 打印显示input() # 输入内容 变量 name = None # 占位(必须要声明一个变量但不确定写什么数据的情况下可以写None ...
分类:
编程语言 时间:
2020-07-07 19:41:28
阅读次数:
76
安装此插件:Easy Compile "easycompile.compile": { "less": true }, "easycompile.less": { "sourceMap": true }, ...
分类:
其他好文 时间:
2020-07-07 17:31:06
阅读次数:
52
http://lesscss.cn/ Less 是一门 CSS 预处理语言,它扩展了 CSS 语言,增加了变量、Mixin、函数等特性,使 CSS 更易维护和扩展。 Less 可以运行在 Node 或浏览器端。 ...
分类:
其他好文 时间:
2020-07-07 15:59:21
阅读次数:
121
这里主要是有一点: 1 Math.ceil(d1) ceil 方法上有这么一段注释:If the argument value is less than zero but greater than -1.0, then the result is negative zero 如果参数小于0且大于-1 ...
分类:
其他好文 时间:
2020-07-07 13:28:09
阅读次数:
80
出现这个报错通常是因为使用了AopContext.currentProxy()函数却没有添加相应的配置造成的。 通过注解添加配置(加在类上): @EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true) 或通过xml配置文 ...
分类:
其他好文 时间:
2020-07-07 10:21:40
阅读次数:
203
这两天在配置webpack4.0的时候,出现了下面的问题 module: { rules: [{ test: /\.css$/, use: [{ loader: 'style-loader', options: { insertAt: "top" }, }, 'css-loader'] }, { t ...
分类:
Web程序 时间:
2020-07-07 09:24:32
阅读次数:
131
Shell条件判断 1、基本语法: [ condition ](注意 condition 前后要有空格) 条件非空即为true,[]返回false 2、常用条件判断 1.整数间比较=字符串的比较 -lt小于(less than) -le小于等于(less equal) -eq等于(equal) -g ...
分类:
系统相关 时间:
2020-07-07 00:35:47
阅读次数:
94
functional greater / less code sort(a + 1, a + n + 1, greater<int>());//从大到小排序 sort(a + 1, a + n + 1, less<int>());//其实这个没必要,因为sort默认的就是从小到大 bits/stdc ...
分类:
其他好文 时间:
2020-07-06 17:52:50
阅读次数:
50
前端开发过程中往往样式和标签要分开编码,随着前端css预编译技术的丰富,sass,less等都可以用来快速编写,实际这些预编译的样式层级和html部分的嵌套层级是一致的,重复编写拖慢编码效率。 我开发的习惯都是先写好 css 结构,这里使用 less 或者 sass 都可以,然后快速生成 html ...
分类:
Web程序 时间:
2020-07-06 12:55:39
阅读次数:
73
In htis lesson you will learn to talk about your uniqueness or obsessions. 在这堂课上,你将学习谈论你的独特性或痴迷(强迫症)。 课上内容(Lesson) uniqueness(n.) n. 独特性;独一无二;单值性 uniq ...
分类:
其他好文 时间:
2020-07-06 12:47:09
阅读次数:
53