macOS 里关于“名字”的那些事

1 2 3 4 5 6 7 8 9 10 11 12 # System Configuration Utility scutil --get NAME --set NAME NAME: ComputerName: Mac 给人看的名字: 系统设置=>通用=>关于本机=>名称 LocalHostName: Mac 在局域网里的网络名: 系统设置=>通用=>共享=>本地主机名 HostName: Mac 给 Shell 看的内核名,run command `hostname` to show,NO GUI # Looking fo help? run `tldr scutil`

2026/2/9
articleCard.readMore

将 CapsLock 映射为 Escape,对于macos

ENV: macbook-air-m1, Tahoe 26.2 系统设置 => 键盘 => 键盘快捷键 => 修饰键 =>【接下来自行修改即可】

2026/2/7
articleCard.readMore

拔智齿后的食谱

流食 五谷杂粮糊 黄豆、红豆、黑豆、薏米、花生 => 豆浆机 => 放凉 蛋花汤 一碗水、俩鸡蛋、食用盐、生抽、香油 => 放凉 香蕉牛奶饮 一根香蕉一杯奶 => 豆浆机 => 放凉 凉拌嫩豆腐 一盒嫩豆腐,放生抽食用 小米稀饭 小米、白薯、燕麦 => 煮粥 => 放凉 黑芝麻杂粮糊 现成的黑芝麻糊、五谷杂粮 => 豆浆机 => 放凉 青食钙奶饼干泡牛奶 四片 + 一袋牛奶 => 微波炉 => 温温地即可 软质食物 土豆泥、红薯泥、南瓜泥、山药泥、胡萝卜泥 荞麦面条、大米、杂粮豆浆 肉蛋堡、青椒碎末炒鸡蛋碎末、绿豆饼、红豆饼 黑芝麻糊 + 红豆 + 扁桃仁 => 豆浆机 => 放温

2026/1/24
articleCard.readMore

理解并应用生成式(大)语言模型(LLM),提升职场人士工作效能

LLM 的本质 LLM => Large Language Model => 大语言模型 你可以把它想象成一个通过阅读整个互联网而成为“文字接龙”世界冠军的超级大脑。 你输入 → 就像给出了接龙的开头几个字。 它输出 → 它根据从海量文本中学到的“下一个词最可能是什么”的概率,一个字一个字地接下去,直到生成一段完整的、通顺的回答。 总结来说,大语言模型是一个用海量数据和算力训练出来的、能够模拟和生成人类语言的巨型概率模型,是一个用数据和数学模拟语言规律的复杂函数。它功能强大且通用,但本质上仍是基于统计规律的“模式大师”,而非拥有理解力和意识的智能体。 “大” 是它当前最突出的特征,体现在三个方面: 数据大:训练数据来自整个互联网,规模以万亿词汇计。 参数大:模型内部的“知识连接点”多达数百亿至数万亿个。 算力大:训练和运行需要巨大的计算资源。 局限: 知识有时效性:知识截止于训练数据,无法知晓最新事件(但是可以联网搜索,比如腾讯元宝就有这个功能) 不理解真实世界:它处理的是文本符号和统计规律,而非真实世界的物理逻辑和情感。 AI 的幻觉,详见下文 LLM:eg:deepseek 的用法技巧 撰写高质量输入(提示词)的技巧 LLM 的本质是一个输入输出程序,这意味着: 【结构化的(eg: markdown)、表达清晰充分的、引导性强的】输入(即:好问题),能获得更棒的输出(good question can get good answer) 结构化能帮助 LLM 精准辨识:对于输入,哪些部分应当被识别为一个完整的意义单元 赋予 LLM 特定的角色 & 约束其回答范畴(即:规则限制,eg:让其只能给出法律相关的回答) 这能让 LLM 身临其境地充分理解当前需求的场景上下文,以便给出更准确、更符合预期的内容 复杂问题可拆解成 n 个小问题,让 LLM 逐个击破 可给 LLM 提供高质量输出的例子,让其模仿 既然如此,编写高质量输入能不能总结出来套路/范式/模板/框架?这不就省事了么,也便于引导 AI,产出更准确、更符合预期的内容 5W1H Who What Why When Where How BROKE Background 说明背景 Role 定义角色 Objectives 实现什么 Keyresult 具体效果 Evolve 循环改进(eg: 可以改进输入,可以改进输出,可以让 AI 不断重新回答优中选优…) … 上述套路/范式/模板/框架的本质就是【高效表达的方法论】 这也太复杂了,既然我不太会写高质量的输入,那就让 AI 来写! AI智能体: eg: Kimi-提示词专家 AI智能体 https://www.coze.cn/ coze 平台提供了一些很好的提示词模板;也允许我们自定义提示词模板,保存到提示词模板个人仓库里,便于以后复用。 赋予 LLM 特定角色(编写提示词) 插件(第三方工具集) 知识库 知识库是一系列文档的集合,能够存储,管理、检索大量的知识数据 是智能体的重要信息扩展来源和知识支撑,能帮助智能体在回答问题时提供准确和详细的答案 能有效降低AI幻觉 腾讯的知识库应用:ima 记忆系统 人类的记忆 感官记忆 视觉记忆 听觉记忆 触觉记忆 长时记忆 显性的、陈述性的记忆 语义记忆(概念、事实、…) 外显记忆(生活事件) 隐性的、程序性的记忆(无意识、技能) 短时记忆(工作记忆) 对应到AI的记忆 短时记忆:上下文学习,短暂且有限,因受到transformer架构的上下文窗口长度的限制 长时记忆:智能体在查询时可关注的外部存储,可通过快速检索进行访问 感官记忆:对原始输入(包括文本、图像或其它模态)的嵌入表示 工作流 在 AI Agent 中,支持通过可视化的方式,对【大语言模型、插件、代码块、…】等功能进行组合, 来确保系统可以高效、准确地执行复杂的业务流程 这就是工作流 爆火的通用智能体:Manus 字节旗下的通用智能体:扣子空间 总结 LLM -> 提示词工程 -> 工作流(链式调用)-> 智能体(广义上的)-> 多智能体系统 未来的 AI 智能体 即:狭义上的 AI 智能体 以 LLM 为大脑,以工具为手臂,以循环为模式的任务执行系统 DeepSeek 的深度思考模式是什么鬼? 深度思考模式调用的是【推理型模型】,与【指令型模型】不同 指令型模型,对提示词的依赖程度高,好的提示词,效果立竿见影,eg: DeepSeek V3 聪明又听话,高效又便捷,适合大多数任务,即规范性任务 推理型模型,对提示词的依赖程度低,eg: DeepSeek R1, Kimi1.5 … 聪明但没有那么听话的分析推理官,适用于创意思考、分析推理、… 深度思考模式下,编写高质量输入的套路/范式/模板/框架 背景信息:AI 需要了解上下文 直接需求:注意结构化(eg: markdown) 约束条件 有时候 AI 会一本正经地胡说八道? 即:AI 生成看似可信、但实际上不准确、虚构或与事实不符的内容,就像人类的幻觉一样,这是 AI 对现实世界理解不完整所导致的现象 这被称为“AI的幻觉” 如何从应用层面尽可能地解决 AI 的幻觉? 提供尽可能具体清晰的输入,避免模糊或者有歧义的表述 明确限制 AI 的回答范畴,这能避免 AI 在回答的过程中引入不相关的内容,比如可以限定 AI 只能给出法律范畴内的回答 必要时,可以要求 AI 提供信息来源或出处,以便我们后续的核实和验证 还可以将一个 AI 给出的回答作为输入,输入给另一个 AI,让第二个 AI 对第一个 AI 的回答的正确性和合理性进行评估和矫正,这种 AI 之间的相互校对有利于减少单一 AI 错误信息的传播 在一些重要场景中,必要时需要引入我们人类的审核环节,可以通过专家反馈或者用户反馈,对 AI 的输出进行定期审查和矫正 【AI 终究只是一个辅助】 日常怎么跟 AI 打交道? 想像成你自己是曹操,AI们都是你的文臣/军师 你要做到【兼听则明、不轻信AI的输出、要有自己的思考、不透漏机密】 AI-PPT 全套快速制作 AI智能体: eg: kimi-PPT助手 部分网站/应用提供自定义PPT模板的功能: eg: https://www.aippt.cn/ 单页快速美化 用好 AI 工具 用好 WPS 的 AI 功能 https://ai.wps.cn/ LLM 赋能公文处理 AI工具补充:秘塔、纳米AI搜索 大模型本地化部署,以处理涉密文件(这是考虑到数据安全的做法) 一:信息搜集 注意信息来源可信度,通常来说可信度较高的信息来源有:政府网站、党报官媒、期刊论文(CSSCI期刊>核心期刊>普通期刊) 自己要对所得信息的(真实性、有效性、正确性、…)有自己的判断和见解 二:分析处理(擅长批量) 三:文本生成 AI 的作用不是替你写出文稿 而是帮你减轻诸如【搜索信息,改写,扩写,缩写,…】等重复性劳动 帮助你发散思维,做你的智囊团 而你作为真正的主角,要在脑海里有【好公文】的样子,并指挥 AI 和你一起朝着正确的方向努力

2026/1/15
articleCard.readMore

proxy搭建稳如老狗的原理(老白版)

将经过加密的数据流量伪装成https协议的流量 将服务端节点放在web服务的后面,这能有效对抗“重chong放攻击” 提速操作 线路长度(是否绕路) 线路质量(CN2 GIA) 协议设计 VPS https://bandwagonhost.com

2026/1/10
articleCard.readMore

混音原理,Linux混音实操,有线麦克风录音+混录系统BGM+耳返监听

背景知识: 在Linux音频系统中,“输出设备” = 这个设备可以接收声音,然后播放出来,并非声音的生产者,它只是声音的播放者 而“输入设备”负责采集声音,是声音的起点,声音从输入设备开始传播 如此一来,就不难理解TUI工具pulsemixer的output标签下的内容,output即输出设备,下含 1.有线麦克风(因为我的这个麦克风有用于播放声音的3.5mm耳机孔,我的这个麦克风可以接收声音然后播放出来,所以是输出设备) 2.电脑内置声卡(能接收声音然后播放<无论是接耳机还是接扬声器>,当然是输出设备) 3.虚拟混音池(接收音乐播放器的声音、接收麦克风的声音;并且能播放给录音软件等物件儿;当然是输出设备) 也不难理解TUI工具pulsemixer的input标签下的内容,input即输入设备,下含 1.有线麦克风 2.电脑内置声卡 ~~ 每个输出设备都有一个对应的监听口,这些监听口都是输入设备,即Monitor of … 简言之:每个“喇叭”都有个“窃听器”,录音软件只需要接窃听器,就能录到喇叭正在播放的声音 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 #!/bin/bash # ======================================= # 音乐(电脑播放的)-> 流入水池,即:采集BGM # # 你的人声 -> 流入水池,即:采集人声 # # 水池有俩出水口: # # 出水口A -> 录音软件录音,即:同时录到BGM和人声 # # 出水口B -> 耳返监听,即:同时听到BGM和人声 # ======================================= echo "=== 查找音频设备 ===" UGREEN_IN=$(pactl list short sources | rg input | tail -1 | awk '{print $2}') echo "你的输入设备:$UGREEN_IN" PC_OUT=$(pactl list short sinks | rg "alsa_output" | head -1 | awk '{print $2}') echo "你的输出设备:$PC_OUT" pactl unload-module module-null-sink 2>/dev/null pactl unload-module module-loopback 2>/dev/null echo "=== 创建虚拟混音池 ===" pactl load-module module-null-sink sink_name=record_pool echo "=== 配置音频流 ===" pactl set-default-sink record_pool pactl load-module module-loopback source="$UGREEN_IN" sink=record_pool latency_msec=5 pactl load-module module-loopback source=record_pool.monitor sink="$PC_OUT" latency_msec=5 echo "✅配置完成!" echo "在 Simple Screen Recorder 中:" echo "1. 勾选 'Record audio'" echo "2. Source 选择: 'Monitor of record_pool......'" echo "3. 开始录制" 注意:latency_msec=5 是指明的低延迟参数,因为是软件实现的监听

2025/12/12
articleCard.readMore

Linux 搜索最佳实践【入门版】

搜文件名 yazi, z ref: https://yazi-rs.github.io/docs/plugins/builtins/#usage 搜文本内容 vim, ripgrep | fzf, <C-f> ref: https://github.com/junegunn/fzf.vim 搜历史命令 shell, fzf, <C-r> ref: https://github.com/junegunn/fzf

2025/12/11
articleCard.readMore

线材库存

macbookair-m1-charger: 1 asus-ac-adapter: 1 philips-usb-1-4: 1 notCommon-mobileHDD-cable: 1 common C-C: 1 C-interface wire-headset: 1 3.5-interface wire-headset: 1 A-C: 2 3-C: 1 HDMI-HDMI: 1

2025/10/26
articleCard.readMore

药品库存

请注意药品有效期 & 药品性状 药品名称数量有效期至 洛索洛芬那片1盒2027-11 复方氨酚烷胺片2片2027-12 复方对乙酰氨基酚片1盒2029-02 连花清瘟颗粒4顿2027-01 麝香痔疮栓1盒2026-10 复方嗜酸乳杆菌片1盒2026-09 荜铃胃痛颗粒1盒2027-02 头孢克肟片4粒2026-06 马来酸曲美布汀分散片7/20片2026-07 泮托拉唑钠肠溶片1盒2026-06 醋酸地塞米松片1盒2028-06 <++><++><++>

2025/10/25
articleCard.readMore

pacman

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 pacman -S <package_name> 有一定风险!!! 有可能静默安装旧包 有可能安装成最新包,但静默安装旧依赖 pacman -Sy 刷新本地数据库 pacman -Syy 强制!刷新本地数据库 如果直接跟包名,仍然有风险,比如假设你的系统中安装了libvpx-1.14,当你执行pacman -Sy firefox,此时系统会直接安装最新版firefox和libvpx-1.15(最新版),但是你的系统中的ffmpeg依赖libvpx-1.14,此时依赖链断裂,系统崩溃 pacman -Su 基于旧数据库升级包 有一定风险!!! 有可能静默升级成旧包 有可能升级成最新包,但安装了旧依赖 如果跟包名,基于旧数据库升级指定包,就更有风险了,毕竟上面基于新数据库升级指定包都有风险 pacman -Syu 刷新本地数据库然后更新所有软件包(更新系统) pacman -Syu <package_name> 这是安装软件包的标杆做法 --- pacman -R 卸载包,保留所有依赖和配置文件 pacman -Rs 卸载包,卸载无用依赖 pacman -Rsc 卸载包,卸载无用依赖,卸载配置文件 --- -Q 查询所有已安装的包 -Qd 仅查询依赖(dependence) -Qdt 仅查询独立的依赖(dependence independent) -Qdtq 仅查询独立的依赖(dependence independent)q for --quiet 仅显示包名,不显示版本号 -Qs ,关键词,本地查询 --- -Ss 关键词,联网查询 -Ss '^package_name$',精准匹配包名

2025/6/28
articleCard.readMore

chinese-input-method-setup

与时俱进,用fcitx5 1 2 3 4 5 6 7 8 9 10 11 12 sudo pacman -Syu fcitx5-im sudo pacman -Syu fcitx5-chinese-addons sudo pacman -Syu fcitx5-pinyin-zhwiki sudo vim /etc/environment # Add then :wq GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx # 使用i3wm,需在~/.config/i3/config文件中添加一条配置信息exec fcitx5 -d # 使用sway,需在~/.config/sway/config文件中添加一条配置信息exec fcitx5 -d,注意配置文件先从/etc/sway/config拷贝过来一份再修改 重启系统,使用fcitx5-configtool添加中文输入法,使用ctrl+space进行输入法的切换

2025/6/15
articleCard.readMore

Programming Concepts and Algorithms/Solutions

(The type of thinking that enables you to write computer programs) are called Computational Thinking Programming is great for solving problems that have a lot of computation or repetition in them. Computers only work with numbers => so Everything is a Number Hardware: bits(0, 1), can only do math. Do not need to worry about bits due to a wonderful principle called abstraction. Abstraction: Separation of interface(what-it-does/how-you-use-it) & implementation(how-it-does-it/how-it-works). Abstraction often comes in layers, and what layer you need to work at depends on what you need to do. Importance of Everything is a Number Can expose numeric properities(eg: Math with letters can be Cryptography) Interpretation of numbers/How to operate on numbers => Types eg: “1” + “1” = “11” 1 + 1 = 2 Whenever you have data you want to work with, you need to represent it as numbers. You may be able to use existing types such as strings, which already represent information as numbers, to help you out. The Green Screen Problem(Developing an Algorithm)

2025/4/5
articleCard.readMore

Programming Foundations with CSS

Web pages are often designed to accommodate [different device/different screen] so that to decide how to display and even what to dispaly. Users experience webpages differently, some users are color-blind, some can’t see well, some have trouble hearing, some can’t clicking, etc… So to ensure GoodUserExperience: web-designers must take [devices & users] into account when creating webpages. and webpages should load quickly. CSS: Cascading Style Sheets [HTML specifies the content | CSS specifies the look & formating] of webpages. This allows web-designers to separate the content from how it’s presented, which can accommodate different users and different display devices to make sure that even in other countries, these can be displayed without changing the content of the webpage. And if you’re creating thousands of webpages for a website, changing the color or font or the size of an HTML element can be localized in one place, rather than repeated in a thousand places which would make changes difficult. This is called [Maintainability] in response to changing design requirments & [Reusability] across multiple elements or even multiple webpages. CSS Basics 1 You could include CSS by either using <style> or <link> tag which are go in the <head> portion of you HTML. Selector tag_name class id combinators: select by relationship(eg: style <li> inside of <ul>: ul li { ... }) Note: You should make name descriptive.(eg: foodLi => can means food-list-items) https://developer.mozilla.org/en-US/docs/Web/CSS/Reference Q&A: whats-the-difference-between-an-id-and-a-class what-error-will-i-get-if-i-use-the-same-id-for-multiple-html-elements Colors https://www.w3.org/TR/2022/REC-css-color-3-20220118/ 140 standard color names. An important concept: Everything is a number for a computer. Red + Green + Blue, 0-255, => can specify about 16 million colors. => more than humans can distinguish. eg: Gold == rgb(255, 215, 0) because of that 0-255 is 256 possible colors, which can be presented by 两个十六进制的数字 FF == 15 * 16 + 15 == 255 D7 == 13 * 16 + 7 == 215 00 == 0 * 16 + 0 == 0 so, Gold == #FFD700 https://developer.mozilla.org/en-US/docs/Web/CSS/Tools/ColorPicker_Tool

2025/3/30
articleCard.readMore

Programming Foundations with HTML

OFFERED BY Duke UNIVERSITY https://www.dukelearntoprogram.com Let’s begin to learn how to think like a programmer: analyzing problems, designing solutions called algorithms, and translating your algorithms into programs. Reading document please, so that you will know what methods you can use in a programming language. Use https://codepen.io to play around ! HTML is [not] a programming language but rather a Markup Language. HTML is used by web browsers to display a webpage. Note: You may have written documents in which you select text and make it bold or underlined or italics, [this is a way of marking up the text to display in certain ways ! ] https://www.bilibili.com/video/BV1GkewzwEbK Metadata Elements 1 2 3 4 5 6 7 8 9 10 11 12 13 <html> - specifies using HTML standard - contains all other elements <head> - information about the page: title, css, scripts, ... <title> - specifies page title - nested inside <head></head> tags etc... Sectioning Elements 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <body> - contains all items seen on page <div> - defines section of webpage - [useful for grouping elements together to use CSS styling ! ] <h1> - section header - also <h2>, <h3>, ..., <h6> <p> - paragraphs. etc... Semantic or Style HTML Tags Tags surround [text]/[page elements] 1 2 3 4 5 <b>Make text stylistically different, Traditionally bold face, but can change</b> eg: If you have trouble seeing, then it's(<b></b>) a semantics/meaning to helps screen reader to change how text is read to you(a blind user). Adding Images, Audios/Videos 1 2 3 4 5 6 7 8 9 10 <img src="http://xyz.png" width="75%" /> <img src="http://xyz.png" /> Note: We can add Options(eg: src, width) in the image tags, which give information about what we're doing. Some Options are required!(eg: src, which means source), because of that we have to specify what image we want to display. copyright What to use for src=”..” ? In some cases, there may be concern with the person, organization or group that create the photo you display on a webpage you create. The creator has certain rights called copyrights. Many images are in the public_domain and are not copyrighted.(eg: Wikimedia commons website) Some images have what are called creative commons licenses, which specify how you can use the images, and some creative_commons_images are not copyrighted. Images Storage In some cases, there may be storage/hosting concerns. Where are the images stored that you’ve included on your webpage? And who pays. 我曾经自建图床 Suppose one million people view your webpage, it means that the image is sent from the website which stores it, across the Internet to one million users that might be scattered all over the world! Someone pays, even if it’s not you. Inline-Linking/Hot-Linking When you use a URL in a webpage you create as part of an IMG tag, you’ve included what’s called an Inline Linking, also called Hot Linking. It means that the image is stored on another site but visually it appears in the site you create. If you create a webpage with lots of views or traffic, there may be storage costs or server costs that might be a concern. => Thus some sites don’t allow hot-linking! Further reason and solution. Linking Pages Together 1 2 3 4 5 6 7 8 9 <a href="https://asd.org/en-US/HTML">EXAMPLE_LINKS</a> Note: a means anchor. href is required! You must specify some text between the start and end anchor tag, and this text will be clickable to take you to an another website. Lists 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 // unordered list <ul> <li></li> <li></li> <li></li> </ul> // ordered list <ol> <li></li> <li></li> <li></li> </ol> li tag stands for list items, [is required], and are the only type of tag you can put as direct children of ul/ol tag. inside li tags we can put much more than just text, we can put images, links or even another list. Tables 1 2 3 4 <table> <tr> => table row <th> => table header <td> => table data Test your webpage You can use private browsing to be sure that you are behaving like an anonymous user, rather than being logged in as yourself when looking at a webpage. eg: to be sure that you can see images. Be aware of… Making a webpage good isn’t easy. Webpages can be displayed on different types of divices, such as your laptop, your phone. Webpages can be used by different types of people, such as normal user, blind user. …

2025/3/25
articleCard.readMore

如何高效地学习一门编程语言

请使用英文原版教材!!! 一门语言的特定【实现】,可以是编译型或解释型 语言 = { 特性1,特性2,…,特性n } 一个世界就是一堆独立运转的节点在相互发送和处理消息。—— Alan Kay => 这揭示了 Object-Oriented 的首要特征:messaging(发送 & 处理消息)

2025/3/24
articleCard.readMore

低卡火锅蘸料

以下都无辣椒(可自行添加) 版本一 一勺香醋 一勺生抽 半勺蒜蓉 半勺小葱 半勺香菜 版本二 一勺香醋 半勺腐乳 半勺韭花酱 半勺蒜蓉 半勺小葱 半勺香菜 版本三(海鲜版) 一勺海鲜汁 半勺蒜蓉 半勺小葱 半勺香菜

2025/3/23
articleCard.readMore

使用键盘组合键启动iTerm

参考了:https://shinyu0430.github.io/2023/05/12/iterm-shortcut-mac-automator/ 用键盘组合键启动应用程序无疑是最高效的方式,话不多说,下面演示如何实现用键盘组合键启动iTerm 运行【自动操作】,即:automator 新建文稿,选取文稿类型,快速操作 搜索AppleScript,双击【运行AppleScript】 粘贴代码 1 2 3 4 5 6 7 if application "iTerm" is running then tell application "iTerm" activate end tell else activate application "iTerm" end if Command+S 保存,命名为【运行iTerm】 系统设置=》键盘=》键盘快捷键…=》服务=》通用,设置组合键即可,我设置成了[command+shift+m] Have a try!

2025/3/19
articleCard.readMore

中餐厨艺课

清炒绿叶菜:菜+油+盐+味精+鸡精=出锅,注意清洗蔬菜要用滤网!!! 清炒蔬菜更精彩的调味品:大蒜(蒜香味)、干辣椒(糊辣味)、干花椒(麻辣味) 一天一斤蔬菜,方能补充:维生素、矿物质、膳食纤维 be more healthier ! —— 冬瓜汤 && 羊肉冬瓜汤 炊具:炒菜铁锅即可、汤勺 准备食材:冬瓜适量(切片,2~3mm)、生姜(切片,2~3片)、食盐、味精、鸡精、食用油、葱花、枸杞子、羊肉片 水烧开,生姜和冬瓜下锅、转二档火(中小火)炖煮(大概10mins左右),加入羊肉片食盐味精鸡精食用油搅和搅和,2~3mins出锅撒上葱花枸杞子 —— 生抽、蚝油(都能提味增鲜) 素炒冬瓜 —— 青椒土豆丝 主料:青椒、土豆 辅料:油、大蒜、盐、味精、鸡精 —— 扬州炒饭 主料:黄瓜、胡萝卜、火腿肠、鸡蛋、大米饭(熟冷) 辅料:小葱、生姜、油、盐、味精、鸡精 步骤: 鸡蛋打散备用 黄瓜、胡萝卜、火腿肠均适量切成6mm的方丁备用 切一点姜末备用 切一些葱花备用 —— 葱油饼 冷水、面粉、鸡蛋、盐、葱花、油 —— 蒜蓉油麦菜/生菜/空心菜/菠菜… 主料:3颗油麦菜+半头大蒜 —— 素炒胡萝卜 4根红色细长的胡萝卜(滚刀块)+3瓣大蒜(切片) —— 万能凉拌菜调料 以下调料均可适量减少(for your health) 1勺盐 1勺味精 1勺白糖 3勺生抽 2勺陈醋 半勺芝麻油 半勺花椒油 2勺辣椒油 一点姜蒜末 两三个红小米椒切成小圈圈,然后用刀改小 —— 青椒炒茄子 主料:茄子、青椒 调料:油、蒜、青花椒粒、盐、鸡精、味精 —— 炒豆腐 主料:一块豆腐 调料:油、蒜、盐、味精、鸡精、干辣椒 —— 家常豆腐 主料:一块豆腐、一小块猪瘦肉 调料: 油、盐、 豆瓣酱、生姜、大蒜、 料酒、胡椒粉、 生抽、 味精、鸡精、 蒜苗、水淀粉 素面碗汁 姜蒜末、盐、味精、鸡精、生抽两勺、半勺陈醋、一点蚝油、香油

2025/1/2
articleCard.readMore

关于网卡、网口、路由器、ip、mac之间的数量对应关系

以下为观看视频 https://www.bilibili.com/video/BV124411k7uV 所交的作业,小爱同学提供了一定支持 首先,二层交换机作为一种网络设备,具有全球唯一的MAC地址 但是,二层交换机的MAC只是为了实现局域网内的数据转发,即局域网内的设备通信 所以,二层交换机本身无网卡 但是二层交换机有很多网口啊,所以这就解释了网口和网卡其实并无严格的对应关系(虽然大多数家用电脑的一个网口确实对应一张网卡) ————————— ip和mac确实都是网卡的属性 一张网卡通常具备 1 个全球唯一的mac地址 但是特殊网卡可能存在多个mac地址,比如某些网卡可能支持虚拟网络接口,可能存在多个mac地址,但不常见 一张网卡通常具备 1 个ip地址 但在一些特殊情况下,可以给 1 张网卡分配多个ip地址,比如这样可以同时连接多个不同的网络进行通信 ————————— 路由器通常具备 2 个ip,即WAN侧的ip和LAN侧的ip 但由于路由器本身就是个linux系统,所以完全可以登录进去,给他的网卡配更多ip ————————— 诚然,从理论上来说,一个路由器中可以只有1张网卡,但是在实际应用中,这样做并不好 至于为什么不好,你可以问问小爱同学【既然一张网卡可以配置多个ip,那么常见家用路由器中为什么给WAN口和LAN口使用了不同的网卡(或从逻辑和功能上认为是不同的网卡)】 简要来说大致是因为: 便于ip地址的管理 便于针对WAN口和LAN口的特定需求进行网络优化 两张网卡实现了内外网物理层面的隔离,更安全 便于故障的排查和维护 常见的情况: 路由器中有多少网卡需要具体情况具体分析 不考虑Wi-Fi功能的话,一般家用路由器通常具备LAN口网卡和WAN口网卡 考虑Wi-Fi功能的话,还会有无线网卡提供无线连接;单频路由器提供1个无线网卡工作在2.4GHz频段,双频路由器相比单频路由器再多一个无线网卡工作在5GHz频段

2024/12/23
articleCard.readMore

童言即诗

以下内容选摘自互联网络,仅仅因为觉得可爱故分享于此,如有雷同纯属巧合,侵权可删 1 2 3 4 5 6 7 8 9 10 11 《拔牙》 昨晚我的一颗牙齿 想去旅行 他一定会后悔的 再也尝不到 棒棒糖的美味了 一个小婴儿哭了,旁边的小朋友说:“阿姨你的宝宝响了!” 4 岁娃坐车上,外面阳光照他脸上,说:“我被太阳发现了!” 小孩不会读“逸”字,他说:”妈妈,这个小兔子有滑板车~“ 坐地铁遇到一个小朋友,因为地铁摇晃站不稳,这个小朋友说了句:”地铁先生你不要乱动!“ 女儿跟妈妈说怕黑,妈妈对女儿说要勇敢,她说:”我不怕红不怕绿不怕蓝不怕黄,还不够勇敢吗?“ 小朋友蹲马桶腿麻了,他突然眼睛睁好大说:”我的腿里面好疯狂啊!“ 给一个孩子上钢琴课,从大三度转到小三度音程时,他说这个音抑郁了…真的,这感觉太到位了 我儿子第一次见到黑人,头默默地埋在我怀里,很小声地问我:“叔叔是不是过期了” 我儿子小时候有一次问我要“驼背的花生”吃,原来他是要吃腰果 我儿子脚麻了,他说:“妈妈我的脚在放烟花” 我女儿洗完手,非常大声地说:“谢谢水龙头”,然后鞠躬,我当时简直是呆住了 我小女儿两三岁的时候每次拉完粑粑都要跟粑粑说再见,还要挥着手手说 风把门吹开了,小朋友说:“妈妈,风有我们家的钥匙“ 我二宝坐在安全座椅里,被遮光帘碰到了,她说:”风在踢我“ 我娃说90多岁拄着拐颤巍巍走路的老奶奶该换电池了

2024/10/19
articleCard.readMore