章节1:了解PHPPHP是什么? PHP能干什么? 开发网站输出一个属于自己的第一个PHP程序。 <?phpecho 'Hello World'; ?> <?php ?> 标识 [告诉你]echo 'Hello World'; 代码 echo [指令] 输出 echo 'echo'; CD光盘 磁带 ...
分类:
数据库 时间:
2021-04-20 15:31:27
阅读次数:
0
参考链接: https://www.rapidtables.com/convert/color/rgb-to-hsv.html https://zhuanlan.zhihu.com/p/67930839 在缺陷检测时,直接使用RGB值检测一些有色差的缺陷时,往往不容易检测,因为RGB值的变化在肉眼上 ...
分类:
其他好文 时间:
2021-04-20 15:09:32
阅读次数:
0
参考ColorComboBox做修改,并对颜色名做些修正,用于CR MVMixer产品中,聊作备忘~ 效果图: 代码: //颜色拾取框 using System; using System.ComponentModel; using System.Drawing; using System.Wind ...
数值格式 分数和前导0 分数和前导0格式的输入,当我们在excel表格中输入1/2时,会自动显示为日期类型,我们可以在单元格开始输入**"0" + "空格"来实现分数类型的输入,另外,当我们在excel中输入的数值有前导0的时候,excel会将0剔除掉,这时如果我们输入的是电话号码之类的文本,就需要 ...
分类:
其他好文 时间:
2021-04-20 14:37:43
阅读次数:
0
1.simple_php ?<?php show_source(__FILE__); include("config.php"); $a=@$_GET['a']; $b=@$_GET['b']; if($a==0 and $a){ echo $flag1; } if(is_numeric($b)){ ...
分类:
其他好文 时间:
2021-04-20 14:34:36
阅读次数:
0
1、编写脚本 createuser.sh,实现如下功能:使用一个用户名作为参数,如果 指定参数的用户存在,就显示其存在,否则添加之;显示添加的用户的id号等信息 read -p " input the user: " USER if id $USER &> /dev/null ; then echo ...
分类:
系统相关 时间:
2021-04-20 14:31:15
阅读次数:
0
Centos8.3-NIS NIS-Server 安装nis相关的软件包 dnf -y install ypserv rpcbind 修改主机名 hostnamectl set-hostname node1.skills.com 设置nis域 ypdomainname skills.com echo ...
分类:
其他好文 时间:
2021-04-20 14:04:05
阅读次数:
0
#! /bin/bash # @author # @breif auto ssh function show_usage(){ echo -e " This is Usage " echo -e " -h: which host to go,for example dev041" } functio ...
分类:
其他好文 时间:
2021-04-19 15:50:26
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
原题链接 题意:在一个环中,给每个数涂色,要求不同的相邻的数字颜色不同。 题解:很显然的是,偶数只要是 \(121212\) 就可以保证都不相同,如果是奇数环,那么要小心头尾会相遇,那么如果还是 \(1212\) 那么如果 \(a_{n-1}\) 和 \(a_{1}\) 都 \(\neq a_{n} ...
分类:
其他好文 时间:
2021-04-19 15:33:58
阅读次数:
0