长话短说,直接列出操作方法。求解过程用到的阅读链接放在最后
设备名称:吉比特无源光纤接入用户端设备(GPON ONU)
设备类型:中国移动智能家庭网关 类型二
设备型号:H2-2
生产日期:2021/03
#! /usr/bin/env bash | |
# Author: Ryoka Kujo s1131234@gmail.com | |
# Descripthon: Network tweaking script to make Internet access available | |
# while connection to Pulse Secure VPN. | |
# network interface list can be retrieved by `networksetup -listallhardwareports` | |
# specify your network interface for internet access. | |
PUBLIC_INTERFACE=en7 | |
# specify your network interface for VPN tunnel access. | |
TUNNEL_INTERFACE=utun2 |
BLUEPRINT:0,50,5206,5204,5202,5203,5205,0,638407006633706293,0.10.28.21308,%E9%BB%91%E9%9B%BE%E5%9B%9E%E6%94%B6%E7%AB%99%EF%BC%88%E9%AB%98%E7%BA%AC%E5%BA%A6%E9%AB%98%E6%B5%81%E9%87%8F%E6%9C%89%E7%94%B5%E7%BD%91%EF%BC%89,%E8%A7%86%E9%A2%91%E8%AF%B4%E6%98%8E%E4%B9%A6%20https%3A%2F%2Fwww.bilibili.com%2Fvideo%2FBV1ZK4y1B79x%0Amodified%20by%20%40enihsyou%20%E7%9B%B8%E6%AF%94%E5%8E%9F%E7%89%88%E6%B7%BB%E5%8A%A0%E4%BA%86%E4%B8%AD%E9%97%B4%E7%9A%84%E7%94%B5%E7%BA%BF%E6%9D%86"H4sIAAAAAAAAC+y9B5QVxRM3OpvYJciiIFlBDICgSJCFBdmZuRhQERXEDBjBiFkUFVBJJsDwBxQFI4oi6JJBQSUp5oQKAqKCgYyS2fvVb7rqTrlb8r7jeee9o+w9p4efHopO1dVV1dXVaZ7n1aKS7blfSyq5jNO8pOf14f+d643K4f+/LTkywJ97ksN8jT/xpoQoX2Qf6R2S5nlJ+qXhn0n9e/Qr49UNVyYLgp5eH19jz2uRQGmTc3MaCMdl0F8+wBFemtnfS+d/4Lhb1b9Y+ttvfph/ryjZKMUwGhdnng/Bzsw8fbNKmWd//0GWkIgaGeR4lYI8YhiNizPPDZBzzDxXZZYyz/7+y8QHDCPSRuPizHMx/jYzz+WZpcyzv/+y8CnrTQ72EsNA2mhcnHnqqG3rrCqlzLO//8rgA4bBVrU0ebuvcXHmuQl/m5lnW0Yp8+zvv2z3aRyKnqNxceapqZhnVmYp8+zvv8jU35vMSzGMxsWZ50lwCDPPjlLJs9//yuKTTM4Nnth8Uqsq3jxf42xvSpjNTqKHM0o6icrh |
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
closely match default behavior on Windows systems. This makes the Command key | |
behave like Windows Control key. To use Control instead of Command, either swap | |
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
or replace @ with ^ in this file. | |
Here is a rough cheatsheet for syntax. | |
Key Modifiers |
symbol_map
section from my kitty.conf dotfile, it follows Kitty best practice to NOT use patched font in favor of multiple symbol_map
directives.
I use [Sarasa Mono][sarasa_mono] for CJK unicode ranges and [Menlo] for misc codepoints which Nerd Font doesn't cover.
Copy and paste (maybe follow by some modifacations) into your kitty.conf
, and your terminal will be beautiful.
Make kitty terminal emulator aware macOS system appearance change. But not perfect, since this script is not "listening" change event, but rather be triggered by new shell creation.
KITTY_CONFIG_DIRECTORY
(~/.config/kitty here), macos-launch-services-cmdline-dark.conf and macos-launch-services-cmdline-light.conf/* vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css */ | |
/* 从放置在底部的终端面板中移除顶部的空白 | |
在窗口多余空间不满一行的时候 这个空白尤为明显 | |
会让顶部文本和边框之间产生一段空隙 */ | |
.monaco-workbench .editor-instance .xterm, | |
.monaco-workbench .pane-body.integrated-terminal .xterm { | |
bottom: unset; | |
top: 0; | |
} |
# vim:ft=kitty | |
## name: Basic Dark | |
## author: enihsyou | |
## license: MIT | |
## blurb: Basic (dark) profile on Terminal.app for macOS. | |
#: The basic colors | |
foreground #ffffff |
本文用作整理和备忘,基本来自 一波三折的校园网IPv6 x 华硕 AC86U
#!/usr/bin/env python3.7 | |
# This script monitoring iTerm2 window state, | |
# disable font-ligatures when window size is big enough to drag FPS down, | |
# and (re-)enable ligatures when window size shrinks to acceptance range. | |
# Put this script under AutoLaunch folder to launch automatically when iTerm2 starts, | |
# as described at https://iterm2.com/python-api/tutorial/running.html#auto-run-scripts | |
import asyncio | |
import iterm2 |