前端开发中, 做适配是少不了的, 这就用到了css中的各种长度单位, 做一下总结 在css中, 长度单位分为以下几种 绝对单位: px、in、cm、mm、pt、pc 百分比单位: vw、vh、vmin、vmax、% 相对单位: em、rem、ex、ch 各单位介绍 px 不用过多介绍, 精确像素 i ...
分类:
Web程序 时间:
2020-06-13 12:40:37
阅读次数:
85
<!DOCTYPE html> <html lang="ch"> <head> <meta charset="UTF-8"> <title>Title</title> <link href="../libs/supermap10/Build/Cesium/Widgets/widgets.css" r ...
分类:
其他好文 时间:
2020-06-13 10:56:24
阅读次数:
225
主要问题是每个石柱能站的次数有限,那石柱就对应一条边,走 \(a\) 次对应流量为 \(a\) #include<bits/stdc++.h> using namespace std; #define rg register inline int read(){ rg char ch=getchar ...
分类:
其他好文 时间:
2020-06-12 20:08:18
阅读次数:
57
距离上次写splay已经过去了10个月了,今天高兴地重拾了平衡树,赶紧过来写一下自己的写法,以后好养成习惯 需要解释的尽量在代码里注释了,就不过多说了 检查x是父亲的左儿子还是右儿子 int chk(int x) { return ch[fa[x]][1] == x; } pushup void p ...
分类:
其他好文 时间:
2020-06-11 21:56:42
阅读次数:
50
idea 选中Edit Congigurations 添加remote如下图 图中debug方式为listen (本地不通线上,线上通本地) 远程 hive 客户端修改{HIVE_HOME}/bin/ext/debug.sh 将HIVE_MAIN_CLIENT_DEBUG_OPTS、 HIVE_CH ...
分类:
其他好文 时间:
2020-06-10 13:20:11
阅读次数:
121
/** * 左补齐字符串 * @param {Number} nLen 要补齐的长度 * @param {String} ch 要补齐的字符 * @return {String} 补齐后的字符串 */ var padLeft = function (str, nLen, ch) { var len ...
分类:
Web程序 时间:
2020-06-09 12:46:53
阅读次数:
64
depot_tools_tutorial(7) Manual Page NAME depot_tools_tutorial - A tutorial introduction to the Chromium depot_tools git extensions. DESCRIPTION The Ch ...
分类:
其他好文 时间:
2020-06-08 14:17:01
阅读次数:
74
本次爬的照片网址为:http://image.baidu.com/search/index?tn=baiduimage&ps=1&ct=201326592&lm=-1&cl=2&nc=1&ie=utf-8&word=%E6%9D%A8%E5%B9%82 进去后,F12进入开发人员选项,笔者用的是Ch ...
分类:
编程语言 时间:
2020-06-07 15:13:27
阅读次数:
90
#include <cstdio> #include <iostream> using namespace std; int n,m,x; int hh,tt,a[1000001],q[1000001],f[1000001]; int read() { char ch=getchar(); int ...
分类:
其他好文 时间:
2020-06-03 13:40:21
阅读次数:
64
引入依赖1 <dependency> 2 <groupId>ch.ethz.ganymed</groupId> 3 <artifactId>ganymed-ssh2</artifactId> 4 <version>262</version> 5 </dependency> 创建Connection并 ...
分类:
编程语言 时间:
2020-06-03 00:33:24
阅读次数:
61