Linux-C-GetUserName code //getUserName.c #include <iostream> #include <string> using namespace std; #ifdef linux #include <unistd.h> #include <pwd.h> ...
分类:
系统相关 时间:
2021-01-11 11:16:12
阅读次数:
0
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:
其他好文 时间:
2021-01-11 11:11:15
阅读次数:
0
nginx-ingress基于gRPC协议通信 此文档演示如何通过nginx-ingress将流量路由到gRPC服务上。 环境 环境 版本 kubernetes 1.17.4 Rancher v2.4.5 nginx-ingress 0.25.1 示例 以下gRPC应用基于ingress自带的示例, ...
分类:
其他好文 时间:
2021-01-11 11:10:01
阅读次数:
0
tomcat9.0配置跨域 在web.xml添加: <filter> <filter-name>ExpiresFilter</filter-name> <filter-class>org.apache.catalina.filters.ExpiresFilter</filter-class> <in ...
分类:
其他好文 时间:
2021-01-11 11:02:02
阅读次数:
0
package com.unrealimage.structure;public class For_Demon03 { public static void main(String[] args) { //首先声明这是在做99乘法口诀表 for (int i = 1; i <=9; i++) { ...
分类:
其他好文 时间:
2021-01-11 10:47:58
阅读次数:
0
方法 //main方法 public static void main(String[] args) { int sum=max(1,2); int sum2=add(1,2); System.out.println(sum); System.out.println(sum2); } //加法 pu ...
分类:
编程语言 时间:
2021-01-11 10:44:24
阅读次数:
0
一般模式 语法 功能描述 yy 复制光标当前一行 y数字y 复制一段(从第几行到第几行) p 箭头移动到目的行粘贴 u 撤销上一步 dd 删除光标当前行 d数字d 删除光标(含)后多少行 x 删除一个字母,相当于del X 删除一个字母,相当于Backspace yw 复制一个词 dw 删除一个词 ...
分类:
系统相关 时间:
2021-01-11 10:28:03
阅读次数:
0
package 集合; import java.util.ArrayList;import java.util.Collection;import java.util.List;import java.util.TreeMap; public class Map { public static vo ...
分类:
其他好文 时间:
2021-01-08 11:37:55
阅读次数:
0
1.Arch Linux 安装指南 需要修改的地方:在2.11安装基本系统这一部分,安装的不是base-devel,这个已经过时了,会导致grub引导失败,所以应该把 pacstrap /mnt base base-devel 替换为 pacstrap /mnt base linux linux-f ...
分类:
系统相关 时间:
2021-01-08 10:54:14
阅读次数:
0
8.表结构说明 下面是学生表的(Student)的结构说明 字段名称 字段解释 字段类型 字段长度 约束 s_id 学号 字符 10 PK s_name 学生姓名 字符 50 Not null s_age 学生年龄 数值 3 Not null s-sex 学生性别 字符(男:1女:0) 1 Not ...
分类:
数据库 时间:
2021-01-07 11:46:41
阅读次数:
0