*: normalize colons (#7913)

This commit is contained in:
Seth Falco
2022-03-27 07:25:15 +02:00
committed by GitHub
parent f63fedd585
commit 27ff55fc2e
88 changed files with 144 additions and 144 deletions

View File

@@ -4,7 +4,7 @@
> 主要用于汇编 `gcc` 的输出以供 `ld` 使用。
> 更多信息:<https://www.unix.com/man-page/osx/1/as/>.
- 汇编文件,将输出写入 a.out:
- 汇编文件,将输出写入 a.out
`as {{文件.s}}`

View File

@@ -6,10 +6,10 @@
`brightness -l`
- 设置亮度到 100%::
- 设置亮度到 100%:
`brightness {{1}}`
- 设置亮度到 50%::
- 设置亮度到 50%:
`brightness {{0.5}}`

View File

@@ -7,11 +7,11 @@
`carthage update`
- 仅针对 IOS 平台,升级依赖文件 :
- 仅针对 IOS 平台,升级依赖文件
`carthage update --platform ios`
- 仅更新依赖,但不编译它们 :
- 仅更新依赖,但不编译它们
`carthage update --no-build`
@@ -19,6 +19,6 @@
`carthage bootstrap`
- 重新编译特定依赖项 :
- 重新编译特定依赖项
`carthage build {{依赖包}}`

View File

@@ -3,7 +3,7 @@
> 设置或显示系统日期。
> 更多信息:<https://ss64.com/osx/date.html>.
- 使用默认区域设置的格式显示当前日期 :
- 使用默认区域设置的格式显示当前日期
`date +"%c"`

View File

@@ -4,7 +4,7 @@
> `launchd`加载放置在适当位置的基于 XML 的`*.plist`文件,并根据其定义的计划运行相应的命令。
> 更多信息:<https://manned.org/launchctl>.
- 每当用户登录时,自动将 plist 文件加载到 `launchd` :
- 每当用户登录时,自动将 plist 文件加载到 `launchd`
`launchctl load ~/Library/LaunchAgents/{{我的脚本}}.plist`

View File

@@ -14,6 +14,6 @@
`networksetup -getairportnetwork {{en0}}`
- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network:
- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network
`networksetup -setairportnetwork {{en0}} "{{无线网 SSID}}" {{密码}}`

View File

@@ -2,7 +2,7 @@
> Swift 和 Objective-C Cocoa 项目的依赖关系管理。
- 为当前项目初始化包含默认内容的 podfile:
- 为当前项目初始化包含默认内容的 podfile
`pod init`
@@ -10,7 +10,7 @@
`pod install`
- 列出所有可用的 pod:
- 列出所有可用的 pod
`pod list`
@@ -26,6 +26,6 @@
`pod update {{pod_名}}`
- 从 Xcode 项目中删除 CocoaPods:
- 从 Xcode 项目中删除 CocoaPods
`pod deintegrate {{xcode_项目}}`

View File

@@ -19,7 +19,7 @@
`sips --resampleWidth {{960}} {{目标 / 文件夹 / 所有图片文件}}`
- 将图像从 CMYK 转换为 RGB:
- 将图像从 CMYK 转换为 RGB
`sips --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}`

View File

@@ -7,7 +7,7 @@
`textutil -info {{foo.rtf}}`
-`foo.rtf` 转换为 `foo.html`:
-`foo.rtf` 转换为 `foo.html`
`textutil -convert {{html}} {{foo.rtf}}`
@@ -15,10 +15,10 @@
`textutil {{foo.rtf}} -convert {{txt}}`
-`foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10:
-`foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10
`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}`
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入HTML 标题设置为"多个文件":
- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入HTML 标题设置为"多个文件"
`textutil -cat {{html}} -title "多个文件" -output {{index.html}} *.rtf`

View File

@@ -10,6 +10,6 @@
`xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
- 显示 SDK:
- 显示 SDK
`xcodebuild -showsdks`

View File

@@ -2,7 +2,7 @@
> 用 Xcode 打开要编辑的文件。
- 用 Xcode 打开文件 :
- 用 Xcode 打开文件
`xed {{文件名}}`