上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 226 下一页
摘要: 回车、换行、空格的ASCII码值 回车,ASCII码13换行,ASCII码10空格,ASCII码32Return = CR = 13 = '\x0d'NewLine = LF = 10 = '\x0a' ASCII码表 信 息在计算机上是用二进制表示的,这种表示法让人理解就很困难。因此计算机上都配有 阅读全文
posted @ 2020-11-23 21:57 牧之丨 阅读(4348) 评论(0) 推荐(0) 编辑
摘要: Spring Boot热部署 热部署的使用 引入依赖 <!-- spring boot热部署的依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artif 阅读全文
posted @ 2020-10-31 20:16 牧之丨 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 实验环境: 1 2 Linux ubuntu/Centos 64 x86_64 x86_64 x86_64 GNU/Linux 1、根据官网说明安装gmssl 1 2 3 4 5 $ unzip GmSSL-master.zip $ cd GmSSL-master $ ./config no-saf 阅读全文
posted @ 2020-10-29 16:24 牧之丨 阅读(1679) 评论(0) 推荐(0) 编辑
摘要: 背景 java可以通过Runtime来调用其他进程,如cmd命令,shell文件或脚本等。 基本用法 Runtime执行时返回一个Process对象,利用该对象完成脚本执行。下面的例子中,Linux的/home/目录下有一个删除指定日期文件的脚本deletefile.sh,Java调用该脚本的方法如 阅读全文
posted @ 2020-10-21 10:49 牧之丨 阅读(659) 评论(0) 推荐(0) 编辑
摘要: netstat -anvp |grep 10001 查询端口的时候报错提示 意思是缺少协议。 解决方案在Mac上正确使用的方法是:即-f需要加上地址族,-p需要加上协议TCP或者UDP等 a)如果需要查询inet,netstat -anvf inet b)如果需要查询TCP, netstat -an 阅读全文
posted @ 2020-10-20 14:39 牧之丨 阅读(2422) 评论(0) 推荐(0) 编辑
摘要: @Slf4j @Component public class MessageConsumer { @Autowired private PpcRequestMessageListener ppcRequestMessageListener; @Autowired private RabbitTemp 阅读全文
posted @ 2020-10-15 23:13 牧之丨 阅读(543) 评论(0) 推荐(0) 编辑
摘要: import java.util.Properties; import java.util.function.Consumer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.a 阅读全文
posted @ 2020-10-15 18:38 牧之丨 阅读(2032) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fingerboy/p/6424248.html刚上手thrift,安装上面花了时间,我在上面的链接中照着安装的。下面记录发生的问题:当我正确安装到bison 后,还是有问题,无法正确的make,make后报错如下: 问题一:fatal error: 阅读全文
posted @ 2020-10-13 08:00 牧之丨 阅读(616) 评论(0) 推荐(0) 编辑
摘要: @Data @Accessors(chain = true) public class PpcProcessResult { public static volatile int globalThreadStatus = DEFAULT_PPC_THREAD_STATUS; private Stri 阅读全文
posted @ 2020-10-12 23:21 牧之丨 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 一、二进制(原码、反码、补码) 二进制的最高位是符号位(“0”代表正数,“1”代表负数); Java中没有无符号数; 计算机以整数的补码进行运算; 1. 原码:将一个整数转换成二进制表示 以 int 类型为例,int类型占4个字节、共32位。 例如,2 的原码为:00000000 00000000 阅读全文
posted @ 2020-10-12 23:20 牧之丨 阅读(1285) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 226 下一页