03 2020 档案
摘要:wget是在linux下最常用的下载的工具,支持多种条件的下载。 普通下载 wget http://example.com/file.iso 指定保存文件名 wget ‐‐output-document=myname.iso http://example.com/file.iso 保存到指定目录 w
        阅读全文
                
摘要:首先先来看下几种标识的含义: /dev/null 表示空设备文件 0 表示stdin标准输入 1 表示stdout标准输出 2 表示stderr标准错误 先看/dev/null command > /dev/null相当于执行了command 1 > /dev/null。执行command产生了标准
        阅读全文
                
摘要:MySQL 字符串截取函数:left(), right(), substring(), substring_index()。还有 mid(), substr()。 其中,mid(), substr() 等价于 substring() 函数,substring() 的功能非常强大和灵活。 1. 字符串
        阅读全文
                
摘要:测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br>"; #localhost //获取网页地址 echo $_SERVER['PHP_SELF']."<br>"; #/bl
        阅读全文
                
摘要:从linux系统中获取的时间戳信息通常为s,将其转换的公式为: =TEXT((C4/1000+8*3600)/86400+70*365+19,"yyyy-mm-dd hh:mm:ss") 其中C4单元格所存的数据为ms因此需要除以1000 转换后的结果如下:
        阅读全文
                
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号