Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
| import Foundation | |
| extension Character { | |
| var isEmoji: Bool { | |
| return unicodeScalars.allSatisfy { $0.properties.isEmoji } | |
| } | |
| } | |
| func recentlyUsedEmoji() -> [Character]? { | |
| #if os(iOS) |
| import SwiftUI | |
| extension Calendar { | |
| func generateDates( | |
| inside interval: DateInterval, | |
| matching components: DateComponents | |
| ) -> [Date] { | |
| var dates: [Date] = [] | |
| dates.append(interval.start) |
| // | |
| // SnapCarousel.swift | |
| // prototype5 | |
| // | |
| // Created by xtabbas on 5/7/20. | |
| // Copyright © 2020 xtadevs. All rights reserved. | |
| // | |
| import SwiftUI |
| // | |
| // NSPersistentContainer+extension.swift | |
| // CDMoveDemo | |
| // | |
| // Created by Tom Harrington on 5/12/20. | |
| // Copyright © 2020 Atomic Bird LLC. All rights reserved. | |
| // | |
| import Foundation | |
| import CoreData |
| import SwiftUI | |
| import enum Accelerate.vDSP | |
| struct AnimatableVector: VectorArithmetic { | |
| static var zero = AnimatableVector(values: [0.0]) | |
| static func + (lhs: AnimatableVector, rhs: AnimatableVector) -> AnimatableVector { | |
| let count = min(lhs.values.count, rhs.values.count) | |
| return AnimatableVector(values: vDSP.add(lhs.values[0..<count], rhs.values[0..<count])) | |
| } |
| // | |
| // PomodoroPicker.swift | |
| // pomodoro | |
| // | |
| // Created by David Rozmajzl on 1/1/22. | |
| // | |
| import SwiftUI | |
| struct PomodoroPicker<Content, Item: Hashable>: View where Content: View { |
| func scrollViewDidScroll(_ scrollView: UIScrollView) { | |
| for (i, view) in scrollView.subviews.enumerated() { | |
| var ty = 0.0 | |
| if scrollView.contentOffset.y < 0 { | |
| // We're scrolling past the top of the scroll view. | |
| // Translate each item in the scroll view by some amount based on its index and scroll offset. | |
| ty = CGFloat(i) * abs(offsetY) / 8.0 * pow(1.12, CGFloat(i)) | |
| } | |
| view.transform = CGAffineTransform(translationX: 0, y: ty) | |
| } |
| // | |
| // MacCatalystFastQuitHelper | |
| // | |
| // Copyright © 2022 Jonny Kuang. MIT | |
| // | |
| import UIKit | |
| enum MacCatalystFastQuitHelper { | |
| // | |
| // ContentView.swift | |
| // LiquidCircles | |
| // | |
| // Created by Paul Stamatiou on 10/10/22. | |
| // | |
| import SwiftUI | |
| struct ContentView: View { |