自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 资源 (4)
  • 收藏
  • 关注

原创 windows脚本@SSH连接状态监听

这个脚本能够实现对远程服务器SSH连接状态的监听和告警,开发背景用来监听使用做内网穿透带来的不稳定问题。

2023-06-13 11:56:28 132

原创 换汽水瓶

有这样一道智力题:“某商店规定:三个空汽水瓶可以换一瓶汽水。小张手上有十个空汽水瓶,她最多可以换多少瓶汽水喝?”答案是5瓶,方法如下:先用9个空瓶子换3瓶汽水,喝掉3瓶满的,喝完以后4个空瓶子,用3个再换一瓶,喝掉这瓶满的,这时候剩2个空瓶子。然后你让老板先借给你一瓶汽水,喝掉这瓶满的,喝完以后用3个空瓶子换一瓶满的还给老板。如果小张手上有n个空汽水瓶,最多可以换多少瓶汽水喝?import ja...

2020-05-08 10:41:38 325

原创 二维数组中的查找

在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。public class Solution { public boolean Find(int target, int [][] array) { int len=array[0]....

2020-05-07 14:32:30 259

原创 Mac Brew Tomcat Idea

Tomcat安装即配置:安装:brew install tomcat查看路径:brew ls tomcat──────────────────────── 2m 54s 16:59:47 ─╮╰─❯ brew ls tomcat ─╯/usr/local/Cellar/tomcat/9.0.34/bin/ca...

2020-05-05 17:25:43 386

原创 IDEA连接阿里云服务器LAMP中的MySQL

连接指南要点1.购买并配置阿里云服务器2.配置服务器中的MySQL3.Idea连接云MySQL要点1.购买并配置阿里云服务器我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:购买并配置 (略);必须实现本地主机能够连上云服务器,在Idea的Termina中输入命令:ssh root@云主机IP输...

2020-05-01 01:30:36 1248

原创 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean

SpringBoot、ElasticSearch、MySql框架搭建异常原pom.xml:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i...

2020-03-29 20:34:35 2115

原创 pom:2.12.4 from/to alimaven (http://maven.aliyun.com/nexus/content/groups/pu。。。

1.下载证书2.安装证书密码:changeit3.解决问题

2020-03-27 09:38:01 1465

原创 中文字符串按空格提取信息

str="北京-海淀区 3-4年经验 本科 招2人 03-25发布"原因:正则、各种函数均无法分隔方案:通过hashCode值分隔,并存入数组中//字符串以空格分隔public interface StringToList { static String[] fun(String str){//str="北京-海淀区 3-4年经验 本科 ...

2020-03-25 22:47:17 305

原创 Python爬取金庸人物

Step:目标文章:鹿鼎记实现功能: 人物统计 云图程序源码:-- coding: utf-8 --"""Created on Sat Jul 7 16:57:02 2018@author: fslq"""#初步获取文本import osimport os.pathimport codecsimport jiebaimport numpy...

2019-11-07 13:03:07 375

原创 慢启动、拥塞避免

参考源:https://blog.csdn.net/smilesundream/article/details/71149434// CongestControl.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。//#include "pch.h"#include <iostream>#include <windows.h>#inclu...

2019-10-27 19:17:11 197

原创 OA平台项目编程

OA平台项目编程结果文档结果文档1项目概述1.1项目背景与意义OA信息管理系统是一个高度集成的客户信息处理系统,通过对现实应用场景中的需求分析与功能实现,并将各种功能进行整合,从而达到在一个系统中可以显示客户信息、索引客户信息提高工作效率、降低管理成本等目的。企业级OA信息管理系统可以管理数据库中的所有客户信息,还需要提供各种方式的检索查询功能.通过该系统的管理,能够大大减少用户的工...

2019-10-21 20:14:14 839

原创 端口扫描(C#)

实现条件:VS2017、SharPcap 4.2.0、能够通过ARP映射物理地址的网络(电脑与路由器直连)实现成果:TCP CONNECT已实现、TCP SYN 已实现、TCP FIN已实现(由于操作系统原因,无法得到正确结果)、ICMP Ecno(不完美实现:ICMP数据包无法更新校验和,故通过PING函数实现)、网段扫描实现...

2019-06-13 15:26:02 545

转载 C# TCP通信(阉割版)

#客户端代码:using System;using System.Windows.Forms;using System.Net;using System.Net.Sockets;namespace WindowsClient{ public partial class Form1 : Form { public Form1() { ...

2019-06-11 14:47:59 263

原创 Windows Server2016搭建简单邮箱交互程序

效果截图必备条件Windows Server2016桌面版MDaemon(从官网下)Outlook 2007步骤:一.开启Windows Server2016系统的 DNS服务器***和***SMTP服务器在电脑的中开启2.配置DNS服务器(注意:使用浏览选项)1.创建正向查找区域:下一步->>直到***区域名称***页面,输入***fn***-...

2019-06-11 11:29:13 9302 6

原创 C#硬件访问(摄像头、麦克风)

#需要引用:AForge类库、Microsoft.DirectXusing System;using System.Windows.Forms;namespace CameraTest{ public partial class Form1 : Form { public Form1() { Initialize...

2019-05-11 11:32:30 4306 2

原创 Servlet&Filter实现留言板

#代码如下://web.xml<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http:...

2019-05-09 12:30:28 693

原创 C#饼状图柱状图

在这里插入代码片#代码如下:using System;using System.Collections;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Data.SqlClient;using System.Drawing;using Syst...

2019-05-01 00:32:23 1941

原创 C#实现网页&定时网页窗体

#父窗体代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading;using Syst...

2019-04-30 21:51:02 701

原创 system、stat、fopen、fread、fwrite、fclose调用

#代码:#include<stdio.h>#include<stdlib.h>#include<sys/stat.h>#include<sys/types.h>int main(){ FILE *sourse,*backup;//输入流、输出流 char *s,ch[1024]; int netway; s...

2019-04-25 11:35:28 604

转载 生产者与消费者

#代码:#include<stdio.h>#include<pthread.h>#define N 20#define OVER -1struct strbuff//定义缓冲区结构体{ int buffer[N];//缓冲数组,每个数组仅存一个整数,装N个数组,装满就取,取出就装... pthread_mutex_t lock;//互斥体lock...

2019-04-25 11:35:02 210

原创 JSP简单购物篮程序

#截图:欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。代码:// Product.javapackage entity;public class Product { private Integer id; privat...

2019-04-25 11:33:03 373

转载 Linux文件访问程序

#代码如下:#include<stdio.h> #include<time.h> #include<linux/types.h> #include<dirent.h> #include<sys/stat.h> #include<unistd.h>#include<string.h>char *wda...

2019-04-25 01:49:52 290

原创 有名管道读写

#读代码:#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <string.h>#include <fcntl.h>#include <sys/select.h>#include <sys/stat.h>#incl...

2019-04-25 01:46:27 964 1

原创 UDP客户端与服务端通信

#客户端代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<sys/socket.h>#include<netinet/in.h>#include<arpa/inet.h>#include<netdb.h>#include...

2019-04-25 01:40:46 293

原创 守护进程

#代码如下:#include<sys/types.h>#include<unistd.h>#include<stdio.h>#include<stdlib.h>#include<sys/wait.h>#include<time.h>#include<signal.h>#include<sys/...

2019-04-25 01:36:48 192

原创 TCP客户端与服务端通信

#客户端代码:#include <stdio.h> #include <sys/socket.h> #include <sys/types.h> #include <stdlib.h> #include <netinet/in.h> #include <errno.h> #include <string.h...

2019-04-25 01:25:43 270

原创 线程同步与互斥

代码如下:#include<stdio.h>#include<stdlib.h>#include<pthread.h>#include<sys/time.h>int a=10;int b=20;pthread_t thread[2];pthread_mutex_t mux;void addthread(){ printf(...

2019-04-25 01:20:53 197

原创 猜数游戏

#代码如下:#include<stdio.h>#include<stdlib.h>int main(){ int sign=1,result,revels,num=0; printf("\t\t猜数游戏\n"); printf("请选择难度:\n\t1.简单\n\t2.中等\n\t3.困难\n"); s...

2019-04-25 01:18:21 160

原创 时间函数

#代码如下:#include<stdio.h>#include<time.h>int main(){ time_t timep; struct tm *p; int i,j,k,l,a; printf("请输入任务截止时间,分别输入日期1~31,小时0~23、分、秒对应的数字\n"); scanf("%d%d%d%d",&i,&j,&amp...

2019-04-25 01:16:37 188

原创 两种素数算法效率

#代码如下:#include<stdio.h>#include<sys/time.h>#include<unistd.h>#include<stdlib.h>#include<math.h>int main(){ int n,sign; double t; struct timeval tv1,tv2; struct...

2019-04-25 01:12:59 208

原创 Linux脚本命令

Linux脚本命令代码功能代码如下:代码功能1.列出当前文件夹下脚本程序和c程序;2.输入脚本名或程序名,进行编辑并自动编译运行;代码如下:#!/bin/bashecho "已有如下脚本和C程序"ls -lecho "请输入脚本名或C程序名"read DORPvi $DORPcat $DORPif [[ "$DORP" =~ c$ ]] then gcc $DORP -...

2019-04-25 01:03:25 468

Win32DiskImager

安装kali,必备工具,解压文件直接运行

2020-01-06

OA_Plate.rar

这是生产实习项目实战代码,小组分工,各施其职,共同完成的web项目

2019-10-21

UE4赛车游戏.rar

根据siki学院教程-Unreal初级案例-赛车游戏入门,手把手撸的游戏小项目,其中修复部分教程中存在的BUG

2019-10-21

端口扫描.rar

端口扫描.rar,诚信至上,劳动可贵

2019-06-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除