Shell条件判断 1、基本语法: [ condition ](注意 condition 前后要有空格) 条件非空即为true,[]返回false 2、常用条件判断 1.整数间比较=字符串的比较 -lt小于(less than) -le小于等于(less equal) -eq等于(equal) -g ...
分类:
系统相关 时间:
2020-07-07 00:35:47
阅读次数:
94
###题目描述 Bessie the cow, always a fan of shiny objects, has taken up a hobby of mining diamonds in her spare time! She has collected \(N\) diamonds \(( ...
分类:
其他好文 时间:
2020-07-06 19:44:16
阅读次数:
76
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
项目开发过程中我们可能会定义一些公共样式、变量、mixin...,在任意单文件中可以随时自由的引用这些公共样式和变量,那么我们就可以使用style-resources-loader,这篇文章将介绍如何使用它。 一、预处理器安装 根据不同预处理器(Sass/Less/Stylus),安装响应的webp ...
分类:
Web程序 时间:
2020-07-06 12:46:29
阅读次数:
166
默认把styleExt改成less或者scss { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { " ...
分类:
其他好文 时间:
2020-07-06 12:37:10
阅读次数:
126
import 'package:flutter/cupertino.dart'; class RightBackDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Cupertino ...
分类:
其他好文 时间:
2020-07-06 10:31:34
阅读次数:
179
举例说明,现在我要创建一个batch.ch脚本,完成两件事,1.创建一个more.txt文件,2.在这个文件中写入:“我日你大爷” ...
分类:
系统相关 时间:
2020-07-05 12:03:04
阅读次数:
73
http://www.vulcanware.com/cpp_pdf/index.html http://www.vulcanware.com/resume.html http://www.vulcanware.com/more_cpp.html 老外个人简历例子代码 ...
分类:
其他好文 时间:
2020-07-03 15:46:49
阅读次数:
59