加载中
天下熙熙皆为利来 天下攘攘皆为利往

原文:  故曰:“仓廪实而知礼节,衣食足而知荣辱。”礼生於有而废於无。故君子富,好行其德;小人富,以适其力。渊深而鱼生之,山深而兽往之,人富而仁义附焉。富者得埶益彰,失埶则客无所...

AlmaLinux-9 安装docker

cat /etc/docker/daemon.json { "registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn", "https://mirror.ccs.tencentyun.com", "https://reg-mirror.qiniu.com", ......

2022/09/01 19:09
578
linux 时间设置

每次安装虚拟机多多少少都有一点时间问题, 比较麻烦, 就统一汇到这里吧. 总有一条你需要: 查看时间: date 查看时区: date -R 默认显示 24 小时制 export LC_TIME=POSIX 或者放到 /etc/profi...

2022/09/01 19:01
109
JFinal加载arp和route的util类

这是很早以前就写好的, 主要是方便加载JFinal的数据库操作activerecord和路由信息router. 意义就是增加arp和route不需要改jfinal的core-config了. 很早以前我就写过一套基于java-rapidframe...

下载网易音乐VIP歌曲

今天测试一个工具来听收费歌曲, 但不是特别好使,主要是因为原作者(unblock163.sh)弃更了 , 更主要的原因是因为netease的API升级了, 我也是在部署server的时候才发现日志有错误. 大概是这个样...

2022/08/28 00:22
213
修改注册表值scancode map来屏蔽键盘上的键

抄自: 修改注册表值scancode map来屏蔽键盘上的键_不知名的程序员的博客-CSDN博客 键值: Windows10 修改键位映射 - 灰信网(软件开发博客聚合) (1)“Scancode Map”是注册表中 [HKEY_LOCA...

hex
2022/08/27 15:47
146
获取单位的招标信息

用hutool下载网页, 用jsoup解析html页面. package com.yh.zhaobiao; import cn.hutool.core.io.FileUtil; import cn.hutool.core.swing.DesktopUtil; import cn.hutool.core.thread.ThreadU...

2022/08/15 21:41
87
用chromedriver79下载图片

很多年前写着玩的代码, 也没啥用了, 就留这里吧. package clipconverter; import java.io.File; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.StringUtils; impo...

2022/08/13 16:49
120
动态密文-加解密

import console; import crypt; import crypt.bin; math.randomize(); var passport_key = function(str,encrypt_key){ var encrypt_key = crypt.md5(encrypt_key,false); var j=1; var tmp ...

2022/08/12 14:20
72
Google Authenticator OTP

Google Authenticator OTP: /* Google Authenticator OTP Author: zhuzb.com */ class Google2FA{ ctor( ){ this.keyRegeneration = 30; // 密钥生成间隔周期时间(单位/秒) this.otpLength ...

2022/08/12 14:16
343
aardio获取RSA公私秘钥对

//通过以下代码获取 import crypt.rsa; import crypt.bin; var rsa = crypt.rsa(); rsa.genKey(); var publicKey = crypt.bin.encodeBase64(rsa.exportPublicKey());//RSA公钥 var privateK...

2022/08/12 13:59
109
C3P0关闭多余的日志,

### log4j.properties log4j.logger.jdbc.audit=ERROR log4j.logger.jdbc.resultset=ERROR log4j.logger.jdbc.connection=ERROR log4j.logger.jdbc.sqlonly=ERROR......

2021/04/10 17:25
393
aardio的文件下载服务器[代码片段]

一直在看aardio的代码, 最近看到一个form嵌入echarts图表的例子,感觉还不错, 但从远端下载echarts.min.js不稳定,偶尔会无法展示,于是就弄了个nginx来本地下载js的方式, 展示效果还不错. 见此...

2020/08/08 19:23
827
myeclipse6.5 blue 注册码 生成 代码

wmhx --- jLR8ZO-655444-64675856613096637

2016/12/04 13:41
259
内嵌tomcat启动的代码

新建java工程,结构如下: 代码如下: public class App { static Tomcat tomcat8 = null; public static void main(String[] args) throws Exception { tomcat8 = new Tom......

2016/11/15 12:35
1K

没有更多内容

加载失败,请刷新页面

返回顶部
顶部