05 2023 档案

摘要:# windows访问eks pods ## 安装AWS CLI 网址为 https://awscli.amazonaws.com/AWSCLIV2.msi。 查看aws版本。 ``` aws --version ``` ## 配置AWS CLI凭证 `eksctl` 和 AWS CLI 均要求您在 阅读全文
posted @ 2023-05-31 13:23 AngDH 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 09:06 AngDH 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 13:59 AngDH 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 13:20 AngDH 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-27 17:14 AngDH 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-27 14:02 AngDH 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-25 22:41 AngDH 阅读(5) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> struct Role { int hp; int mp; int damage; }; bool Act(Role& Acter,Role& beAct) { beAct.hp -= Acter.damage; return beAct.hp < 0; } 阅读全文
posted @ 2023-05-23 22:39 AngDH 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> int main() { int* p; { std::unique_ptr<int[]> a{std::make_unique<int[]>(50)}; a[2] = 240; p = a.get(); std::cout << p[2]; } std::c 阅读全文
posted @ 2023-05-22 00:26 AngDH 阅读(6) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> int a{ 100 }; int main() { int a{160}; { std::cout << a << std::endl; char a = 'a'; std::cout << a << std::endl; std::cout << ::a 阅读全文
posted @ 2023-05-21 15:54 AngDH 阅读(4) 评论(0) 推荐(0) 编辑
摘要:APScheduler==3.5.3flask==2.0.3flask-compress==1.10.1Flask-SQLAlchemy==2.5.1logparser==0.8.2requests==2.21.0six==1.12.0SQLAlchemy==1.4.15w3lib==1.17.0J 阅读全文
posted @ 2023-05-12 17:33 AngDH 阅读(37) 评论(0) 推荐(0) 编辑
摘要:在 CentOS 上格式化硬盘并挂载,可以按照以下步骤进行操作: 首先,使用 fdisk 命令分区并格式化硬盘。假设要格式化的硬盘为 /dev/sdb,可以使用以下命令: fdisk /dev/sdb 然后按照提示进行分区操作。 n: 创建一个新分区 d: 删除一个分区 p: 显示分区表 w: 将分 阅读全文
posted @ 2023-05-10 18:56 AngDH 阅读(693) 评论(0) 推荐(0) 编辑
摘要:asyncio.Semaphore是一个异步信号量,用于协调多个协程对共享资源的访问。 异步信号量在协程中的使用方式与线程中的普通信号量类似,但是它是非阻塞的。当信号量的计数器为0时,协程将会被阻塞,直到其他协程释放了该信号量。 import asyncio async def worker(sem 阅读全文
posted @ 2023-05-08 12:14 AngDH 阅读(1069) 评论(0) 推荐(1) 编辑
摘要:这个函数会执行类似于 ps aux | grep python | awk '{print $2}' | xargs kill -9 的Linux命令。你可以将参数 process_name 替换为你想要杀死的进程名。 import subprocess def kill_process(proce 阅读全文
posted @ 2023-05-08 11:42 AngDH 阅读(256) 评论(0) 推荐(0) 编辑
摘要:https://github.com/JSREI 递归代理 https://github.com/JSREI/js-deep-proxy 阅读全文
posted @ 2023-05-07 16:27 AngDH 阅读(28) 评论(0) 推荐(0) 编辑
摘要:(function() { let _Function = Function; Function = function Function(string) { if (string.indexOf("bugger") > -1) { console.log("Hook Function debugge 阅读全文
posted @ 2023-05-07 15:04 AngDH 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-07 10:09 AngDH 阅读(5) 评论(0) 推荐(0) 编辑
摘要:查看网络 阅读全文
posted @ 2023-05-06 13:36 AngDH 阅读(2) 评论(0) 推荐(0) 编辑
摘要:npm i http-server -g http-server -p 8881 http://localhost:8881/ main.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-eq 阅读全文
posted @ 2023-05-06 08:20 AngDH 阅读(62) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示