rem是相对于根元素html的font-size。 1rem = html的font-size 移动端适配通常使用rem。 在开发时,设计稿通常为750px物理像素 ,所以用750设计稿举例对应的iphone6的375px逻辑像素。(物理像素是逻辑像素的2倍) 375 / 7.5 = 50px(37 ...
分类:
移动开发 时间:
2021-06-25 17:04:48
阅读次数:
0
参考集成模式 环境准备 基于docker 运行 spark 环境准备 docker run -it -p 8080:8080 datamechanics/spark:jvm-only-3.1-latest sh // 启动master /opt/spark/sbin/start-master.sh ...
分类:
其他好文 时间:
2021-06-25 16:43:35
阅读次数:
0
[root@es02-010007081131 dumpbackup]# more /home/script/backup/mysql_dumpbackup.sh #!/bin/bash . /etc/profile . ~/.bash_profile backup_date=`date "+%Y% ...
分类:
数据库 时间:
2021-06-24 18:11:54
阅读次数:
0
需求: 商品列表保存到文件中,通过脚本读取修改。 **多谢各位支持** 商品清单{test1.json}: {"iphone":{"5999":{"美国公司生产":"价格贵,性能好"}},"哇哈哈":{"15":{"中国":"好喝不贵,都喜欢"},},"ThinkPad X1":{"9999":{" ...
分类:
编程语言 时间:
2021-06-24 17:48:35
阅读次数:
0
源码地址 https://github.com/hku-mars/loam_livox Ubuntu16.04安装ROS Kinetic详细过程 https://blog.csdn.net/weixin_43159148/article/details/83375218 sudo sh -c 'ec ...
分类:
Web程序 时间:
2021-06-24 17:41:41
阅读次数:
0
//获取标准输出//第一种result = sh returnStdout: true ,script: "<shell command>"result = result.trim()//第二种result = sh(script: "<shell command>", returnStdout: ...
分类:
系统相关 时间:
2021-06-23 17:14:46
阅读次数:
0
创建编写 build.sh 脚本文件,内容如下: #!/usr/bin/env bash # # Generated by: https://github.com/swagger-api/swagger-codegen.git # frameworkVersion=net40 # sdk must ...
分类:
其他好文 时间:
2021-06-22 18:25:47
阅读次数:
0
简单设置环境变量,以及密码 1.把mysql命令加入环境变量 [root@master01 ~]# vim /etc/profile.d/mysql.sh #!/bin/bash export MYSQL=/application/mysql export PATH=$PATH:$MYSQL/bin ...
分类:
数据库 时间:
2021-06-20 18:49:27
阅读次数:
0
脚本位置 cd /home/hadoop/bin 脚本内容 vi kafka.sh #输入以下内容 #!/bin/bash case $1 in "start" ){ for(( i = 1;i <= 3;i = $i +1));do echo hadoop0$i kafka $1 ssh hado ...
分类:
其他好文 时间:
2021-06-20 18:41:23
阅读次数:
0
1、创建topic 使用 kafka-topics.sh脚本 kafka-topics.sh --create --partitions 3 --replication-factor 2 --topic test --zookeeper hadoop01:2181,hadoop02:2181,had ...
分类:
其他好文 时间:
2021-06-20 18:38:22
阅读次数:
0