See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| import SwiftUI | |
| struct HeaderView: View { | |
| var body: some View { | |
| HStack { | |
| Image(systemName: "info.circle.fill") | |
| .resizable() | |
| .frame(width: 12, height: 12) | |
| Text("Section Header") | |
| .font(.system(size: 13)) |
| import SwiftUI | |
| struct RefreshControl: View { | |
| var coordinateSpace: CoordinateSpace | |
| var onRefresh: ()->Void | |
| @State var refresh: Bool = false | |
| var body: some View { | |
| GeometryReader { geo in | |
| if (geo.frame(in: coordinateSpace).midY > 50) { | |
| Spacer() |
| // | |
| // VirtualKeyboard.swift | |
| // MacBook Air M1 Zhuyin Keyboard | |
| // Written with SwiftUI ~=300 LOC, < 4hrs | |
| // Created by Ethan Huang on 2021/1/13. | |
| // Twitter: @ethanhuang13 | |
| import SwiftUI | |
| struct VirtualKeyboard: View { |
| """ To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory | |
| git clone https://github.com/myshell-ai/OpenVoice | |
| cd OpenVoice | |
| git clone https://huggingface.co/myshell-ai/OpenVoice | |
| cp -r OpenVoice/* . | |
| pip install whisper pynput pyaudio | |
| """ | |
| from openai import OpenAI | |
| import time |
Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10