上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 前言 二分(折半)查找(Binary Search),通过缩小查找区域来查找数据 查找序列是有序的(升序或者降序) 步骤 假设序列是升序的 取序列中间元素进行比较。 如果待查找元素x大于中间元素,说明x在中间元素右侧。 如果待查找元素x小于中间元素,说明x在中间元素左侧。 如果待查找元素x等于中间元 阅读全文
posted @ 2020-04-14 08:30 duchaoqun 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 基本使用 # 使用大写的O来重命名下载下来的文件: wget -c "www.baidu.com" -O baidu.index.html # 下载网站 wget -r -p -np -k -N -t 2 http://www.apple.com.cn/ wget -r -p -np -k -N -t 2 --accept=jpg https://mm.enterdesk.com # 参数c... 阅读全文
posted @ 2020-04-14 08:27 duchaoqun 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Summary 导出的 pdf 文件中,中文部分不显示 方法1:使用“华文宋体” 将STSONG.TTF直接引入到我们的项目中,或者安装到我们的服务器上。 修改文本域中的字体为“华文宋体(STsong)” 问题是:虽然该字体使用广泛,但是涉及版权问题。 方法2:开源字体“NotoSerifCJKsc 阅读全文
posted @ 2020-04-13 16:25 duchaoqun 阅读(2662) 评论(0) 推荐(0) 编辑
摘要: 背景 安全审计问题(更新版本来升级漏洞),必须升级系统SSH服务版本。 个人爱好。 问题 查看最新版本的OpenSSH软件包里的说明文件(INSTALL),它告诉我们需要依赖其他软件包,例如OpenSSL,PAM,ZLIB等。 如果升级小版本也可以修复主要漏洞(特别的人对“大版本漏洞少”存在误解):yum update openssl -y 操作系统本身有很多应用依赖于当前的OpenS... 阅读全文
posted @ 2020-04-13 14:08 duchaoqun 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 背景 Puppy Linux 移动办公小系统,最小不到60M。 安装 下载镜像文件:DownLoad IOS file 运行UltraISO,打开下载的iso镜像tahr64.iso 选择你的U盘盘符,不要选错了,点击菜单上的启动,写入硬盘镜像,这一步要注意,选择格式化U盘选择USB-HDD+(根据 阅读全文
posted @ 2020-04-13 13:59 duchaoqun 阅读(1627) 评论(0) 推荐(0) 编辑
摘要: # 生成随机数:5M277fL3ONdxx9hM openssl rand -base64 18 阅读全文
posted @ 2020-04-13 13:32 duchaoqun 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 如何在CentOS7上安装中文字体 # 安装软件 yum -y install fontconfig # 我们查看当前系统中已经有的字体 [root@loanapp opt]# fc-list /usr/share/fonts/dejavu/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Cond... 阅读全文
posted @ 2020-04-09 15:10 duchaoqun 阅读(2238) 评论(0) 推荐(0) 编辑
摘要: 问题 在IDEA中新打开这个microaut项目的时候,不能直接运行,只能打包运行,提示下面的错误: NoClassDefFoundError: io/micronaut/context/ApplicationContextBuilder 解决 阅读全文
posted @ 2020-04-09 10:15 duchaoqun 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Overview Linux 非常好用的防火墙 Prepare # Install yum install -y iptables # 安装iptables yum install iptables-services # 安装iptables-services yum update iptables # 升级iptables # Check status... 阅读全文
posted @ 2020-04-08 10:50 duchaoqun 阅读(72) 评论(0) 推荐(0) 编辑
摘要: Overview Tools > Get Tools and Features > Individual components Class Designer About 企鹅号码:848408012 企鹅群号:465073050 私人邮箱:du.chao.qun@163.com 备注说明:欢迎联系交 阅读全文
posted @ 2020-04-02 09:41 duchaoqun 阅读(348) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页