摘要: 1. 启动 Mitmproxy mitmproxy -p 8081 -s your_script.py mitmdump.exe --mode upstream:http://127.0.0.1:8887 --listen-port 8081 -q -s .\mitm.py 使用 -p 指定端口,- 阅读全文
posted @ 2025-12-02 11:16 liv_vil 阅读(10) 评论(0) 推荐(0)
摘要: 卷积神经网络 例子引入 一张图片判断是不是考拉 图片尺寸1920x1080x3 ~ 6 million 隐藏层神经元(neuron) ~ 4 million 如果用ANN 人工神经网络 全部全连接 计算量太大 人脑如何判断是不是考拉 这是考拉的眼睛吗? 耳朵? 鼻子? -> 考拉的头 这是考拉的手吗 阅读全文
posted @ 2025-11-04 14:22 liv_vil 阅读(11) 评论(0) 推荐(0)
摘要: 以前的脚本发现不生效了 放在GitHub 地址 https://github.com/liulimingking/BlockBaiduToplist 效果 使用方法 新建文件夹把下方两个文件拷到txt,并分别改扩展名并命名为content.js和manifest.json Chrome浏览器地址栏输 阅读全文
posted @ 2024-04-10 00:18 liv_vil 阅读(90) 评论(0) 推荐(0)
摘要: ###cmd(以管理员身份运行) vue ui 新建 选择路径 创建选项 选择手动配置 下一步 router vuex开 formatter关 下一步 历史记录能开就开 如果没有选上 等会安装完router 到index.js改成 const router = new VueRouter({ mod 阅读全文
posted @ 2023-04-11 00:15 liv_vil 阅读(35) 评论(0) 推荐(1)
摘要: ###打开命令行terminal ctrl+alt+t ###复制粘贴 ctrl+shift+c ctrl+shift+v ####/usr/share/applications/ 这个文件夹可以创建桌面快捷方式 ###换源 1 备份修改 sudo cp sources.list sources.b 阅读全文
posted @ 2022-10-19 23:06 liv_vil 阅读(854) 评论(0) 推荐(0)
摘要: ##表 用户表 -- -- Table structure for table `user` -- USE dachuang; CREATE TABLE `user` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `username` VARCHAR(50) DEF 阅读全文
posted @ 2022-04-21 11:14 liv_vil 阅读(196) 评论(0) 推荐(1)
摘要: ##06. 从尾到头打印链表 class Solution { public: //两个指针一起走 一次翻转一个方向 最后head.next =null ListNode* reverse1(ListNode *head){ if(!head)return NULL; auto a=head,b=h 阅读全文
posted @ 2022-04-13 10:04 liv_vil 阅读(24) 评论(0) 推荐(1)
摘要: ##09. 用两个栈实现队列 没啥意思 不要想复杂了 就是暴力 class CQueue { public: CQueue() { } /* 一个主栈 一个缓存栈 来回导 得到队头 copy后一端变空了 */ stack<int>stk,cache; void copy(stack<int>&a,s 阅读全文
posted @ 2022-04-13 09:38 liv_vil 阅读(23) 评论(0) 推荐(0)
摘要: #初始化 数组初始化在class外的话 要memset 在主函数里面memset 在class内不用 ##062. 实现前缀树 class Trie { public: /** Initialize your data structure here. */ int son[100010][26],c 阅读全文
posted @ 2022-03-31 22:12 liv_vil 阅读(33) 评论(0) 推荐(0)
摘要: ##088. 爬楼梯的最少成本 class Solution { public: int minCostClimbingStairs(vector<int>& cost) { int n=cost.size(); vector<int>f(n+1); f[0]=cost[0],f[1]=cost[1 阅读全文
posted @ 2022-03-25 20:22 liv_vil 阅读(30) 评论(0) 推荐(0)