- copy
VSCode.idekeybindingsto~/Library/Developer/Xcode/UserData/KeyBindings - in Xcode preferences -> key bindings, select VSCode
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
| // | |
| // Notify.swift | |
| // | |
| import Foundation | |
| class Notify { | |
| static let shared = Notify() | |
| func send(event: NSNotification.Name) { |
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
| // | |
| // Shell.swift | |
| // | |
| // Created by Tanner Bennett on 6/25/22. | |
| // Copyright Tanner Bennett (c) 2022 | |
| // | |
| import Foundation | |
| extension StringProtocol { |
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
| # System Preferences -> Accessibility -> Display -> Reduce motion | |
| tell application "Messages" to activate | |
| tell application "Messages" | |
| set chatCount to (count of chats) | |
| end tell | |
| tell application "System Events" | |
| tell process "Messages" |
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
| // | |
| // AppDelegate.swift | |
| // Dock Shooter | |
| // | |
| // Created by Shihab Mehboob on 01/11/2021. | |
| // | |
| import Cocoa | |
| @main |
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
| /** | |
| * MacEditorTextView | |
| * Copyright (c) Thiago Holanda 2020-2021 | |
| * https://twitter.com/tholanda | |
| * | |
| * MIT license | |
| * Modified by https://github.com/cjwcommuny for TextKit 2 | |
| */ | |
| import Combine |
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
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| .tabbrowser-tab .tab-close-button { | |
| opacity: 0; | |
| margin-left: -4.5px !important; | |
| margin-right: 2px !important; | |
| } | |
| .tabbrowser-tab:not(:hover) .tab-close-button { | |
| display: none; |
- Add a filter to git config by running the following command in bash inside the repo:
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'
-
Create a
.gitattributesfile inside the directory with the notebooks -
Add the following to that file:
NewerOlder