Linux 操作系统中创建线程的方式 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); 参数名 参数定义 参数解释 pthrea ...
分类:
编程语言 时间:
2021-04-08 13:36:39
阅读次数:
0
题目: Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l ...
分类:
其他好文 时间:
2021-04-08 13:31:19
阅读次数:
0
现在有两台 虚机 harbor-1 172.18.94.169 harbor-2 172.18.94.134 现在想从 harbor-1 免密登录到 harbor-2 1. 登录 harbor-1 这台机器 2. 查看 ~/.ssh 路径下是否有密钥对 如果有进行步骤4,如果没有进行步骤3生成密钥对 ...
分类:
系统相关 时间:
2021-04-08 13:31:01
阅读次数:
0
同源策略: 官方解释:同源策略是一个重要的安全策略,它用于限制一个origin的文档或者它加载的脚本如何能与另一个源的资源进行交互。它能帮助阻隔恶意文档,减少可能被攻击的媒介。 描述:例如:https://www.baidu.com https是协议,com为顶级域名,baidu是一级域名,www是 ...
分类:
其他好文 时间:
2021-04-08 13:29:27
阅读次数:
0
sed编辑器:流编辑器(stream editor)。 vim:文本编辑器。 流编辑器会在编辑器处理数据之前基于预先提供的一组规则来编辑数据流。 sed编辑器的处理流程 读入一行数据 根据给出的编辑器命令匹配数据 按照命令修改流中的数据 将新的数据输出到STDOUT sed命令格式 sed opti ...
分类:
系统相关 时间:
2021-04-08 13:24:35
阅读次数:
0
搭建公司wiki系统-confluence 一、环境 # uname -a Linux client02 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux # java - ...
分类:
其他好文 时间:
2021-04-08 13:16:28
阅读次数:
0
在线调试地址: Graphviz Online 用法: dot语法 Linux环境下用法: 参考资料: 1. Linux绘图工具之dot 2. 实验: 首先创建一个dot文件,fllow.dot vi fllow.dot digraph G { hello [shape=box]; world [s ...
分类:
其他好文 时间:
2021-04-08 13:10:42
阅读次数:
0
通过这篇文章将wsl设置为默认的终端:Windows Subsystem for Linux Installation Guide for Windows 10 1、查看wsl子系统: PS C:\WINDOWS\system32> .\wslconfig.exe /list 适用于 Linux 的 ...
分类:
Web程序 时间:
2021-04-08 13:04:23
阅读次数:
0
linux上执行wget报错:unable to resolve host address 爱摄影的coder 2018-07-21 10:25:19 7270 收藏 4 分类专栏: Linux 版权 使用wegt命令报错情况 [root@centosserver2 downloads]# wget ...
分类:
系统相关 时间:
2021-04-08 13:03:11
阅读次数:
0
linux服务器安装python虚拟环境 今天要部署一个服务化的接口程序,需要创建一个Python的虚拟环境。 1、安装虚拟环境 sudo pip install virtualenv sudo pip install virtualenvwrapper 2 安装完虚拟环境后,如果提示找不到mkvi ...
分类:
编程语言 时间:
2021-04-08 13:02:57
阅读次数:
0