ISCC 2024 练武题 misc趣题记录

Number_is_the_key 题目 The answers to the questions are hidden in the numbers. 文件是空白的xlsx文件 我的解答: 乱点发现有些单元格加粗了,有些没有,一眼丁真二维码,写个脚本替换一下颜色 exp: from openpyx

.NET 中 Channel 类简单使用

Channel 是干什么的 The System.Threading.Channels namespace provides a set of synchronization data structures for passing data between producers and consume

使用 Docker 部署 VS Code in The Browser

1)介绍 GitHub:https://github.com/coder/code-server 在日常学习工作中,Vscode 已成为我们首选的代码编辑器。然而,其局限性在于当我们从家到公司移动时,难以保持连续的编码体验。针对这一痛点,虽然市面上已有如 Visual Studio Codespac

Linux内核之I2C协议

I2C协议标准文档 THE I2C-BUS SPECIFICATION VERSION 2.1 JANUARY 2000: https://www.csd.uoc.gr/~hy428/reading/i2c_spec.pdf I2C全称Inter-IC,又写作IIC,有些又归类为TWI(Two-Wi

[转帖]Monitoring and Tuning the Linux Networking Stack: Sending Data

https://blog.packagecloud.io/monitoring-tuning-linux-networking-stack-sending-data/ TL;DR This blog post explains how computers running the Linux kern

[转帖][笔记] BGP in the Data Center (O'Reilly 2017)

http://arthurchiao.art/blog/bgp-in-data-center-zh/ 关于本文 本文是我在读 BGP in the Data Center ( O’Reilly, 2017)时的读书笔记。原书很短,只有 90 页不到,但理论和实践兼备,是现代 数据中心和 BGP 入门

[转帖]Cheat sheet: understanding the pmap(1) output

https://www.labcorner.de/cheat-sheet-understanding-the-pmap1-output/ pmap(1) can be used to list the individual address areas which are mapped into a

[转帖]SystemTap Beginners Guide -profiling

Next ⁠5.3. Profiling The following sections showcase scripts that profile kernel activity by monitoring function calls. ⁠5.3.1. Counting Function Call

[转帖]Migrating to utf8mb4: Things to Consider

Back to the Blog 29Mar2022 By Sveta Smirnova Insight for DBAs, Insight for Developers, MySQL Character Sets, MySQL, MySQL character se, mysql-and-vari

[转帖]《AWK程序设计语言》笔记(1)—— AWK入门与简单案例

原文为 《The AWK Programming Language》,GitHub上有中译版,不过有些内容翻译的比较奇怪,建议跟原版对照着看 https://github.com/wuzhouhui/awk 本篇的小案例基本均基于文件 emp.data,三个字段分别为:员工名、每小时工资、工作时长,

[转帖]Welcome to the di-kafkameter wiki!

https://github.com/rollno748/di-kafkameter/wiki#producer-elements Introduction DI-Kafkameter is a JMeter plugin that allows you to test and measure th

[转帖]经典话语

Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present. Bil Keane Inspirational, Life, Motivational 1610

[转帖]linux查看端口及端口详解

https://www.cnblogs.com/the-tops/p/6126941.html 今天现场查看了TCP端口的占用情况,如下图 红色部分是IP,现场那边问我是不是我的程序占用了tcp的链接,,我远程登陆现场查看了一下,这种类型的tcp链接占用了400多个,,后边查了一下资料,说ESTAB

[转帖]Linux中查看各文件夹大小命令du -h --max-depth=1

https://www.cnblogs.com/the-tops/p/8798678.html 最近排查服务器异常的时候,常会遇到磁盘慢的情况,这个时候,查找那个文件夹占用的内存的时候常用到这个命令:du -h --max-depth=3 一般的文件夹都超不过4层; 具体使用的时候,可以根据当前路径

[转帖]Linux下清理内存和Cache方法见下文:

https://www.cnblogs.com/the-tops/p/8798630.html 暂时目前的环境处理方法比较简单: 在root用户下添加计划任务: */10 * * * * sync;echo 3 > /proc/sys/vm/drop_caches; 每十分钟执行一次,先将脏数据写回

浅析静态应用安全测试

摘要:根据Forrester的 The State Of Application Security, 2022一文的预测,应用安全性的缺失将仍然是最常见的外部攻击方式,因此SAST将会在可预见的未来一直被重视。 本文分享自华为云社区《SAST-静态应用安全测试》,作者: gentle_zhou 。

大数据-业务数据采集-FlinkCDC The MySQL server is not configured to use a ROW binlog_format

Caused by: org.apache.kafka.connect.errors.ConnectException: The MySQL server is not configured to use a ROW binlog_format, which is required for this

allowedOrigins cannot contain the special value "*"

Spring Boot的版本高于 2.4以后 ,原来的配置已经不适合目前的版本 将代码中的`allowedOrigins`改为`allowedOriginPatterns` ```java @Configuration public class WebConfig implements WebMvc

【Azure App Services】多次操作App Service伸缩实例遇见限制操作记录

"message": "You have exceeded the maximum amount of scale changes within the past hour(23 changes and limit is 20). Please retry later."

CF98C Help Greg the Dwarf 题解

CF98C Help Greg the Dwarf 题解 为什么不三分? 首先我们考虑如何求出答案。 如图,考虑设夹角为 \(\theta\),那么可以得到表达式: \[[\cfrac a {\tan \theta} - (l \cos \theta - b)] \sin \theta \]整理可得