码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
linux shell, vim常用指令
常用linux操作指令介绍 列出文件ls: ls ./ # 列出当前目录下可见的文件和目录 ls -a # 列出当前目录下的所有文件,包括隐藏文件以及.开头的文件 ll # 列出当前目录下文件信息(执行权限,修改时间,名字等) 删除: rm <file_name> # 删除文件 rmdir <fol ...
分类:系统相关   时间:2020-07-26 00:15:30    阅读次数:92
JavaScript点击事件-一个按钮触发另一个按钮
JavaScript点击事件-一个按钮触发另一个按钮 <input type="button" value="Click" id="C" onclick="Go();"><input type="button" value="Wait" id="W" onclick="javascript:aler ...
分类:编程语言   时间:2020-07-25 23:48:35    阅读次数:89
windows 使用IIS 部署 .net core3.1
1.服务器装aspnetcore-runtime-3.1.1-win-x64.exe 下载链接:https://dotnet.microsoft.com/download/dotnet-core/3.1 2.服务器装dotnet-hosting-3.1.1-win.exe 注意:安装dotnet-h ...
分类:Windows程序   时间:2020-07-25 23:46:46    阅读次数:160
MPI小例子
MPI示例 MPI时间函数测试 #include<stdio.h> #include<mpi.h> #include<stdlib.h> #include<time.h> #include<windows.h> int main(int argc, char** argv) { int err = ...
分类:其他好文   时间:2020-07-25 23:39:51    阅读次数:64
MPI计算π
MPI计算$\pi$ 利用公式 \[ \int_0^1 \frac{4}{1+x^2}dx = \pi \] #include<stdio.h> #include<mpi.h> #include<stdlib.h> #include<time.h> int main(int argc, char** ...
分类:其他好文   时间:2020-07-25 23:38:51    阅读次数:124
MySQL日期 字符串 时间戳互转
mysql时间转换和事务 涉及的函数 date_format(date, format) 函数,MySQL日期格式化函数date_format() unix_timestamp() 函数 str_to_date(str, format) 函数 from_unixtime(unix_timestamp ...
分类:数据库   时间:2020-07-25 23:30:39    阅读次数:136
python的os命令
os常用命令 os.sep:取代操作系统特定的路径分隔符 os.name:指示你正在使用的工作平台。比如对于Windows,它是'nt',而对于Linux/Unix用户,它是'posix'。 os.getcwd:得到当前工作目录,即当前python脚本工作的目录路径。 os.getenv()和os. ...
分类:编程语言   时间:2020-07-25 23:27:40    阅读次数:74
其他元素
abbr:表示缩写词: time:提供给浏览器或搜索引擎阅读的时间 b:以前是一个无语义元素,主要用于加粗字体 q:一小段的引用文本 blockquote:大段引用文本:q和blockquote有一个 cite属性:表示引用文本地址 meta:可用于搜索引擎优化:seo link:链接外部资源(cs ...
分类:其他好文   时间:2020-07-25 11:46:42    阅读次数:100
shell脚本--sed的用法
sed在处理文本时是逐行读取文件内容,读到匹配的行就根据指令做操作,不匹配就跳过。 sed是Linux下一款功能强大的非交互流式文本编辑器,可以对文本文件进行增、删、改、查等操作,支持按行、按字段、按正则匹配文本内容,灵活方便,特别适合于大文件的编辑。详细用法参考:shell脚本--sed的用法 s ...
分类:系统相关   时间:2020-07-25 10:05:51    阅读次数:96
Shell中获取脚本的绝对路径$( cd "$( dirname "$0" )" && pwd)
获取脚本的所在路径的 DIR="$(cd "$(dirname "$0")" && pwd)" echo $DIR ...
分类:系统相关   时间:2020-07-25 09:58:03    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!