码迷,mamicode.com
首页 >  
搜索关键字:echo    ( 13483个结果
什么是 hash?
1、什么是Hash Hash也称散列、哈希,对应的英文都是Hash。基本原理就是把任意长度的输入,通过Hash算法变成固定长度的输出。这个映射的规则就是对应的Hash算法,而原始数据映射后的二进制串就是哈希值。活动开发中经常使用的MD5和SHA都是历史悠久的Hash算法。 echo md5("这是一 ...
分类:其他好文   时间:2021-06-18 19:01:19    阅读次数:0
05 函数
函数的定义 # 方式一 start () { echo "nginx start .... [OK]" #return 0 } stop () { echo "nginx stop .... [FAIL]" } # 方式二 function start { echo "nginx start ... ...
分类:其他好文   时间:2021-06-17 16:37:05    阅读次数:0
bugku-file_get_contents
打开题目 是一串代码 1 <?php 2 extract($_GET); 3 if (!empty($ac)) 4 { 5 $f = trim(file_get_contents($fn)); 6 if ($ac $f) 7 { 8 echo "<p>This is flag:" ." $flag< ...
分类:其他好文   时间:2021-06-17 16:32:24    阅读次数:0
Linux命令之定时调度-crontab
以上cron命令格式为:* * * * * [root run-parts] command 前面五个*号代表时间,用数字,数字的取值范围和含义如下: 第一个*:分钟 (0-59)[整数] 第二个*:小時(0-23)[整数] 第三个*:日期(1-31)[整数(必须是指定月份的有效日期)] 第四个*: ...
分类:系统相关   时间:2021-06-10 17:51:30    阅读次数:0
把批处理(bat)做成Windows服务(Server)
1、工具软件 instsrv.exe 和 srvany.exe,下载:https://pan.baidu.com/s/1PI6qMjdVkuYyjRLokt7xRw 密码:fc1o 2、编辑 bat bat代码示例: @echo:apython transfer.pyping 127.0.0.1 - ...
分类:Windows程序   时间:2021-06-10 17:42:10    阅读次数:0
Tidb 主机系统参数优化shell
#!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser ...
分类:数据库   时间:2021-06-08 23:43:55    阅读次数:0
centos7 清理缓存(buff/cache)
背景:服务器运行过程中发现内存不够用,缓存的又太多 现象: 解决办法: 1、同步数据到磁盘 [root@localhost ~]# sync 2、根据需求清除对应缓存 [root@localhost ~]# echo 3 > /proc/sys/vm/drop_caches 参数说明: 0 //默认 ...
分类:系统相关   时间:2021-06-07 20:40:37    阅读次数:0
【ROS学习】ROS中常用的指令
查看rosbag坐标系 rostopic echo topic_name | grep frame_id 打印话题数据 rostopic echo topic_name 查看话题消息频率 rostopic hz topic_name ...
分类:其他好文   时间:2021-06-07 20:25:45    阅读次数:0
Gerrit+replication 同步Gitlab
配置环境:gerrit 192.168.1.100gitlab 192.168.1.1011.创建秘钥 [root@gerrit ~]# ssh-keygen -m PEM -t rsa 2.添加hosts 解析 [root@gerrit ~]#echo "192.168.1.101 gitlab" ...
分类:其他好文   时间:2021-06-06 19:34:13    阅读次数:0
Windows10 没 hosts 文件
1. win+r 输入 cmd,回车 2. 输入:for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P 回车 3. C:\Win ...
分类:Windows程序   时间:2021-06-05 18:24:08    阅读次数:0
13483条   上一页 1 2 3 4 5 ... 1349 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!