1.fork函数 作用:创建一个子进程 函数原型:pid_t fork(); 返回值: 两个返回值,一个是父进程的返回值,其值为子进程的进程id;一个是子进程的返回值,为0代表创建成功,-1代表创建失败。 循环创建n个进程: 1 #include <stdio.h> 2 #include <unis ...
分类:
系统相关 时间:
2021-02-17 14:48:51
阅读次数:
0
安装 #!/bin/bash # Kali GNU/Linux Rolling apt-get install pasystray 常见错误列表 #1 (pasystray:30116): pasystray-WARNING **: [notify] unable to show notificat ...
分类:
其他好文 时间:
2021-02-17 14:46:33
阅读次数:
0
T4模板 <#@ template debug="false" hostspecific="false" language="C#" #> <#@ output extension=".cs" #> <#@ assembly name="System.Data" #> <#@ assembly na ...
分类:
移动开发 时间:
2021-02-17 14:41:02
阅读次数:
0
目录结构 引用路径 <link rel="stylesheet" href="../static/layui/css/layui.css" type="text/css"/> application.properties spring.mvc.static-path-pattern=/static/ ...
分类:
编程语言 时间:
2021-02-17 14:04:34
阅读次数:
0
在/home/用户名/.bashrc 最后一行添加如下代码: alias chrome='google-chrome --proxy-server="127.0.0.1:8889" '#打开代理chrome 在终端运行:source ~/.bashrc 打开谷歌浏览器 ...
分类:
系统相关 时间:
2021-02-16 12:39:11
阅读次数:
0
https://blog.csdn.net/xizanni8476/article/details/80323846?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.contr ...
分类:
系统相关 时间:
2021-02-16 12:37:52
阅读次数:
0
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: KVM版本:5.9.1 QEMU版本:5.0.0 工具:Source Insight 3.5, Visio 文章同步在 ...
分类:
系统相关 时间:
2021-02-16 12:27:04
阅读次数:
0
资料1: https://wladimir-tm4pda.github.io/source/git-repo.html sync命令: repo sync [project-list ] Downloads new changes and updates the working files in y ...
分类:
其他好文 时间:
2021-02-15 12:26:44
阅读次数:
0
1.需求 /** * 需求:每两个元素输出一次 */2 代码 package com.nx.streaming.lesson03; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.streaming.api ...
分类:
其他好文 时间:
2021-02-15 12:25:40
阅读次数:
0
服务器下安装nginx sudo apt-get install nginx nginx的文件配置 服务地址:/etc/init.d/nginx 配置地址:/etc/nginx/ 如:/etc/nginx/nginx.conf Web默认目录:/usr/share/nginx/http/ 如:usr ...
分类:
其他好文 时间:
2021-02-15 12:10:22
阅读次数:
0