A - Circle #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int r; int main(){ cin >> r; cout << r * r << end ...
分类:
其他好文 时间:
2021-02-24 13:15:50
阅读次数:
0
@echo on For /f "tokens=*" %%i in ('dir /a-d /b /s "*.exe"') do ( D:\RuanJian\Qt\Qt5.14.2\5.14.2\msvc2017_64\bin\windeployqt.exe "%%i" --debug)Pause P ...
分类:
其他好文 时间:
2021-02-24 13:10:34
阅读次数:
0
页面引入BootStrap和JQuery <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFe ...
分类:
其他好文 时间:
2021-02-24 12:59:05
阅读次数:
0
For 语法:for (initialisation; condition; increment/decrement) action #for 语句首先执行初始化动作( initialisation ),然后再检查条件( condition )。如果条件为真,则执行动作( action ),然后执行 ...
分类:
其他好文 时间:
2021-02-23 14:17:54
阅读次数:
0
创建型-单例模式 class SingletonOne { private static $singletonOne = null; public function ok() { echo 'ok'; } public static function getInstance(){ if (self: ...
分类:
Web程序 时间:
2021-02-23 14:14:02
阅读次数:
0
?曾经在你的应用程序中使用过异步处理吗?在处理不需要立即执行的任务时,异步代码似乎是不可避免的。Apache Kafka是最常用和最健壮的开源事件流平台之一。许多公司和开发者利用它的强大功能来创建高性能的异步操作,用于微服务的数据集成,以及用于应用程序健康指标的监控工具。这篇文章解释了在.NET应用 ...
分类:
Web程序 时间:
2021-02-23 14:04:35
阅读次数:
0
NumPy(Numerical Python)是Python中科学计算的核心库,支持大量的维度数组与矩阵运算,在数组处理上功能真的很强,在Python中调用numpy进行数组相关计算就很方便。 看图像处理相关代码的时候常常会遇到一些numpy相关语法,简洁高效,看不懂就影响阅读的质量与速度,这篇文章 ...
分类:
编程语言 时间:
2021-02-22 12:37:15
阅读次数:
0
盘符切换 查看当前目录下的所有文件 dir 切换目录 cd (change directory) cd.. 返回上级 清理屏幕 cls (clear screen) 退出终端 exit 查看电脑IP ipconfig 打开应用 calc mspaint notepad ping 命令 ping ww ...
分类:
其他好文 时间:
2021-02-22 12:02:05
阅读次数:
0
#awk awk是一个强大的文本分析工具,相对于grep的查找,sed的编辑,awk在其对数据分析并生成报告时,显得尤为强大。简单来说awk就是把文件逐行的读入,默认以空格为分隔符将每行切片,切开的部分再进行各种分析处理。 awk是行处理器,相比较屏幕处理的优点,在处理庞大文件时不会出现内存溢出或是 ...
分类:
其他好文 时间:
2021-02-22 11:58:48
阅读次数:
0
see https://www.cnpython.com/qa/221588 key point: run('docker ps -a | grep {} | awk "{print $1}"'.format(container_name)) KeyError: 'print $1'solution ...
分类:
编程语言 时间:
2021-02-22 11:52:53
阅读次数:
0