上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: String.format 1、字符串左对齐,不足10位的右侧补空格:[123 ] String.format("%-10s", "123"); 2、字符串右对齐,不足10位的左侧补空格:[ 123] String.format("%10s", "123"); 3、整数格式化10位,不足左侧补0:[ 阅读全文
posted @ 2023-11-08 13:31 翠微 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 【CentOS7】rsync文件同步 阅读全文
posted @ 2023-09-04 14:58 翠微 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 【Java Web】行锁for update begin; select * from system_role where id_ = '1626887644786495491' for update; update system_role set version_ = 0 where id_ = 阅读全文
posted @ 2023-08-09 21:56 翠微 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 格式 struct 名称 struct Rectangle { int width; int height; }; int area(struct Rectangle rectangle); int area(struct Rectangle rectangle) { return rectangl 阅读全文
posted @ 2023-08-03 22:55 翠微 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 【RabbitMQ】禁用AMQP配置中的明文身份验证机制 参考博文 https://blog.csdn.net/u013551615/article/details/126314195 1、生成rabbitmq证书 #克隆生成证书的仓库到/ycx目录 git clone --depth 1 http 阅读全文
posted @ 2023-07-25 10:57 翠微 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: 【Rust】IO操作 1、控制台读取一行字符串 let mut line = String::new(); std::io::stdin() .read_line(&mut line) .expect("Failed to read line"); 阅读全文
posted @ 2023-07-20 14:37 翠微 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 【Git】合并远程和本地的多次提交 阅读全文
posted @ 2023-07-13 10:50 翠微 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 【Nginx】配置项说明 1、add_header X-Frame-Options 在 server 节点 页面不允许在frame中展示,即在相同域名的页面中嵌套也不允许 add_header X-Frame-Options 'DENY'; 页面可以在相同域名页面的frame中展示,正常情况下我们通 阅读全文
posted @ 2023-07-04 17:59 翠微 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://blog.csdn.net/m0_56305656/article/details/121928757 阅读全文
posted @ 2023-07-04 10:08 翠微 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 【ElasticSearch】索引(删除) 阅读全文
posted @ 2023-06-17 16:18 翠微 阅读(17) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
点击右上角即可分享
微信分享提示