上一篇:less变量 上篇主要讲述了less的变量的基本使用,本篇我们来讲解下less的一个常用规则,那就是嵌套了(老套娃了),这个使你在使用css的时候能够用起来非常方便和爽(爽就对了) 那么什么是嵌套呢,我们首先看一个例子: <header class="page-header"> <h1 cl ...
分类:
其他好文 时间:
2020-06-16 23:44:41
阅读次数:
99
一:排序数据 /*子句:通常由一个关键字和所提供的数据组成。如果要排序数据,则要用到ORDER BY子句 ORDER BY子句取一个或多个列得名字,据此对输出进行排序。*/ eg: SELECT prod_name; FROM products ORDER BY prod_name; 二;按多个列排 ...
分类:
数据库 时间:
2020-06-16 23:40:41
阅读次数:
90
拼接字段 mysql> SELECT Concat(vend_name,'(',vend_country,')') FROM vendors ORDER BY vend_name; + + | Concat(vend_name,'(',vend_country,')') | + + | ACME(U ...
分类:
其他好文 时间:
2020-06-16 20:45:12
阅读次数:
60
按照指定顺序排序 使用场景:需要查询捆号为10,23,9...的数据,查询结果也是按照输入的顺序排列 sql: select * from store where xh in (10,23,9) order by case xh when 10 then 1 when 23 then 2 when ...
分类:
数据库 时间:
2020-06-16 20:43:29
阅读次数:
69
主键: select * from user_cons_columns a, user_constraints b where a.constraint_name = b.constraint_name and b.constraint_type = 'P' and a.table_name = u ...
分类:
数据库 时间:
2020-06-16 16:52:23
阅读次数:
119
html中 ( <div class="wave"> </div> ) css( .wave{ width: 200px; height: 200px; background-color: skyblue; margin: 0 auto; position: relative; overflow: ...
分类:
其他好文 时间:
2020-06-16 13:32:04
阅读次数:
68
概述 Metasploitable3是Metasploitable2的升级版本,它是一个虚拟靶机系统,里面含有大量未被修复的安全漏洞,它主要是用于metasploit-framework测试的漏洞目标。众所周知Metasploitable2由于年久失修,被更好的Metasploitable3给取代了 ...
分类:
Web程序 时间:
2020-06-16 13:01:08
阅读次数:
84
dmesg 命令可显示系统开机信息,一般用于故障排查和设备/驱动的加载的查询。 在日常工作中,dmesg 命令曾被用于查看硬盘加载状况: root@ubuntu:~/Desktop# dmesg | grep sda [ 3.791441] sd 32:0:0:0: [sda] 83886080 5 ...
分类:
系统相关 时间:
2020-06-16 12:49:41
阅读次数:
83
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:
编程语言 时间:
2020-06-16 12:46:45
阅读次数:
64
1.简介 Jmeter官网对逻辑控制器的解释是:“Logic Controllers determine the order in which Samplers are processed.”。 意思是说,逻辑控制器可以控制采样器(samplers)的执行顺序。由此可知,控制器需要和采样器一起使用, ...
分类:
其他好文 时间:
2020-06-16 10:21:04
阅读次数:
78