ptg2008

ptg2008

V2EX 第 679391 号会员,加入于 2024-03-08 14:26:56 +08:00
ptg2008 最近回复了
22 小时 35 分钟前
回复了 ptg2008 创建的主题 浏览器 还有没有类似类似 Arc 浏览器, 看完链接即关的浏览器
@AnselCC 这个插件我试了 感觉滑动有点不丝滑, 加上插件里面又整合了什么 AI 功能, 感觉不太纯粹
22 小时 36 分钟前
回复了 ptg2008 创建的主题 浏览器 还有没有类似类似 Arc 浏览器, 看完链接即关的浏览器
@waahii 谢谢 我去试试
18 天前
回复了 klo424 创建的主题 Edge 放弃 Edge 了
chrome 什么时候官方支持垂直标签, 我也很想不用垃圾 edge 了, 一个浏览器整的跟 360 一样到处贴狗皮膏药
不好意思 v2 的回复不太会用, 按 cmd+enter 以为换行, 直接发出去了, 我用 linux 发行版是 manjaro
1. pamac install --aur mihomo
2. sudo vim /etc/mihomo/config.yaml(在这里自己定义配置, 想必贴主应该熟悉这个配置文件, #5 是我的配置, 供参考)
3. sudo echo 1 > /proc/sys/net/ipv4/ip_forward(开启内核 ip v4 转发功能)
4. sudo systemctl enable --now mihomo.service
pr: &pr {type: select, proxies: [默认,香港,台湾,日本,新加坡,美国,其它地区,全部节点,自动选择,直连]}
p: &p {type: http, interval: 3600, health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 300}}#

# url 里填写订阅,名称不能重复
proxy-providers:
xxxx:
<<: *p
path: ./xxxx.yaml
url: ""



ipv6: false
allow-lan: true
mixed-port: 7890
unified-delay: false
tcp-concurrent: true
external-controller: :9999
external-ui: /etc/mihomo/ui
external-ui-name: xd
# 因为 linux 用的是 server 版,所以 UI 指的是 yacd 等 dashboard
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"

geodata-mode: true
geodata-loader: standard
geo-auto-update: true
geo-update-interval: 24
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"

find-process-mode: strict
global-client-fingerprint: chrome

sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- '*.rc.sunlogin.net'

tun:
enable: true
stack: system
dns-hijack: ["any:53"]
auto-route: true
auto-detect-interface: true

dns:
enable: true
listen: :53
ipv6: false
enhanced-mode: redir-host
nameserver: ["tls://8.8.4.4", "tls://208.67.222.222"]
nameserver-policy:
"geosite:cn": ["202.96.128.166", "223.5.5.5"]

hosts:
'*.ptg.com': 192.168.66.55

proxies:
- name: "直连"
type: direct
udp: true
proxy-groups:
- {name: 默认, type: select, proxies: [自动选择, 直连, 香港, 台湾, 日本, 新加坡, 美国, 其它地区, 全部节点]}
- {name: YouTube, <<: *pr}
- {name: Google, <<: *pr}
- {name: OpenAI, <<: *pr}
- {name: 国内, type: select, proxies: [直连, 默认, 香港, 台湾, 日本, 新加坡, 美国, 其它地区, 全部节点, 自动选择]}
- {name: 其他, <<: *pr}
# 地区分组
- {name: 香港, type: select , include-all-providers: true, filter: "(?i)港|hk|hongkong|hong kong"}
- {name: 台湾, type: select , include-all-providers: true, filter: "(?i)台|tw|taiwan"}
- {name: 日本, type: select , include-all-providers: true, filter: "(?i)日|jp|japan"}
- {name: 美国, type: select , include-all-providers: true, filter: "(?i)美|us|unitedstates|united states"}
- {name: 新加坡, type: select , include-all-providers: true, filter: "(?i)(新|sg|singapore)"}
- {name: 其它地区, type: select , include-all-providers: true, filter: "(?i)^(?!.*(?:🇭🇰|🇯🇵|🇺🇸|🇸🇬|🇨🇳|港|hk|hongkong|台|tw|taiwan|日|jp|japan|新|sg|singapore|美|us|unitedstates)).*"}
- {name: 全部节点, type: select , include-all-providers: true}
- {name: 自动选择, type: url-test, include-all-providers: true, tolerance: 10}

rules:
- GEOIP,lan,直连,no-resolve
- GEOIP,private,直连,no-resolve
- GEOSITE,youtube,YouTube
- GEOSITE,google,Google
- GEOSITE,openai,OpenAI
- GEOSITE,cn,国内
- GEOSITE,geolocation-!cn,其他
- GEOIP,CN,国内
- MATCH,其他
有的 我用 manjaro, pamac install --aur mihomo, 配置规则如下:
41 天前
回复了 main1234 创建的主题 职场话题 求对比下 shopee 和字节的 offer
shopee 不推荐, 10%强制走, 天天抓考勤, 号称外企但没有任何人文关怀, 搞出点问题基本上就是背绩效走人, 业务都不急研发老板一直压排期, 现在情况很烂, 不如去字节卷
楼主晒出你的学信网, 当头一棒下来, 要是清北爷评论区全沉默
98 天前
回复了 w292614191 创建的主题 职场话题 公司局域网开发,家里怎么办?
闲鱼捡一台小主机, 淘宝搞个随身 wifi 个小主机用, 记住小主机不要连公司网络, 将小主机用网线和公司主机连起来, 远程到小主机, 公司主机自然触手可达
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1951 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 00:19 · PVG 08:19 · LAX 17:19 · JFK 20:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.