码迷,mamicode.com
首页 >  
搜索关键字:jar main    ( 87300个结果
003-核心技术-IO模型-NIO-基于NIO群聊示例
一、基于上节编写基础聊天 GroupChatServer package com.github.bjlhx15.netty.demo.groupchat; import java.io.IOException; import java.net.InetSocketAddress; import ja ...
分类:其他好文   时间:2021-07-29 16:18:22    阅读次数:0
springboot jar包变成系统服务
1.打开下载网址 https://github.com/winsw/winsw/releases/tag/v2.9.0 2.下载相关exe,和xml文件 3.修改xml文件 <service> <!-- jar 包名称--> <id>kkFileView-3.3.1</id> <!-- 服务名称-- ...
分类:编程语言   时间:2021-07-27 17:37:10    阅读次数:0
CreateRemoteThread盲注提权原理分析
首先我们来看下进程程注入的核心逻辑(不考虑寻找目标进程、不考虑注入内容的执行) /* 注入恶意Payload: OpenProcess 可以打开目标进程 VirtualAllocEx 在目标进程中分配一块内存区域 WriteProcessMemory 在刚刚分配的内存区域中写入恶意的Payload ...
分类:其他好文   时间:2021-07-26 16:55:06    阅读次数:0
Git 错误:OpenSSL SSL_read: Connection was reset, errno 10054
Git 中 push 错误 OpenSSL SSL_read: Connection was reset, errno 10054 ###现象 在Git Bash 中,上传(push)时,出现异常。 git push -u origin main ###处理方法 PS: 以下是我个人遇到时的几种解决 ...
分类:其他好文   时间:2021-07-26 16:53:15    阅读次数:0
ZooKeeper监听服务器节点动态上下线
需求 某分布式系统中,主节点可以有多台,可以动态上下线,任意一台客户端都能实时感知到主节点服务器的上下线。 设计 实现 public class DistributeServer { public static void main(String[] args) throws Exception { ...
分类:其他好文   时间:2021-07-21 17:32:52    阅读次数:0
rust 实现协程池
use crossbeam_channel::{Receiver, bounded}; use tokio::time::{Duration, delay_for}; #[tokio::main] async fn main() { let (s, r) = bounded(10); for i i ...
分类:其他好文   时间:2021-07-19 16:57:38    阅读次数:0
Java异常处理之throw和声明throws·12
代码出异常常见的处理方法 try catch捕获 throws 声明异常 往外抛出 语法:throws字句放在方法参数列表的右括号之后,一个方法可以声明抛出多个异常,多个异常之间用逗号隔开。 例子 public class Main{ public static void readChar() th ...
分类:编程语言   时间:2021-07-19 16:50:19    阅读次数:0
IDEA打jar包
参考案列:https://www.cnblogs.com/blog5277/p/5920560.html java Swing文本框: package com.huawi;import com.sun.deploy.util.StringUtils;import sun.misc.BASE64Dec ...
分类:编程语言   时间:2021-07-19 16:49:14    阅读次数:0
有意思的问题
#1.输出本身的代码 #include<cstdio> char s[]="#include<cstdio>%cchar s[]=%c%s%c;int main(){printf(s,10,34,s,34);}";int main(){printf(s,10,34,s,34);} ...
分类:其他好文   时间:2021-07-19 16:39:21    阅读次数:0
算法学习刷题记录-210717
3768. 字符串删减 - AcWing题库 思路 双指针的练习 C++代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; int main() { int n; string s; ...
分类:编程语言   时间:2021-07-19 16:34:51    阅读次数:0
87300条   1 2 3 4 ... 8730 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!