Skip to content

Instantly share code, notes, and snippets.

View Skyxim's full-sized avatar
🎯
Focusing

Skyxim

🎯
Focusing
View GitHub Profile
@Skyxim
Skyxim / XcodeLLM.md
Created June 17, 2024 00:35 — forked from Kyle-Ye/XcodeLLM.md
Enable XcodeLLM for ChinaSKU Mac on macOS 15 Beta 1

Warning

The following guide need to disable SIP to work.

Please confirm the risk of disabling the SIP by yourself.

Another solution which does not require disabling SIP is currently under investigation.

Step 0

Reboot into Recovery OS + Disable SIP

<html class="x-viewport" id="ext-element-7">
<head id="ext-element-4">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>pve - Proxmox Virtual Environment</title>
<link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png">
<link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png">
<link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css?ver=7.0.0">
sudo mdutil -i off
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
sudo mdutil -i on
# dns server name, default is host name
# server-name,
# example:
# server-name smartdns
#
# Include another configuration options
# conf-file [file]
# conf-file blacklist-ip.conf
@Skyxim
Skyxim / network
Created February 19, 2021 01:48
设置armbian network 与docker的macvlan模式下的容器桥接互相访问
auto eth0
iface eth0 inet manual
auto macvlan
iface macvlan inet static
#armbian地址
address 10.0.0.5
broadcast 10.0.0.255
netmask 255.255.255.0
#旁路由的ip地址
gateway 10.0.0.2