This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Created for SwiftData Photo_Camera | |
| // by Stewart Lynch on 2024-02-18 | |
| // | |
| // Follow me on Mastodon: @[email protected] | |
| // Follow me on Threads: @StewartLynch (https://www.threads.net) | |
| // Follow me on X: https://x.com/StewartLynch | |
| // Follow me on LinkedIn: https://linkedin.com/in/StewartLynch | |
| // Subscribe on YouTube: https://youTube.com/@StewartLynch | |
| // Buy me a ko-fi: https://ko-fi.com/StewartLynch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| struct ContentView: View { | |
| var body: some View { | |
| WavingText() | |
| .foregroundStyle(.white) | |
| .frame(maxWidth: .infinity, maxHeight: .infinity) | |
| .background(Color(hue: 220/360, saturation: 0.3, brightness: 0.9)) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Workout data model | |
| struct WorkoutData { | |
| let name: String | |
| let date: Date | |
| let duration: TimeInterval | |
| let exerciseCount: Int | |
| let effortPercentage: Double | |
| } | |
| struct WorkoutExpandedCard: View { |
OlderNewer