This file contains 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
;; Emacs custom shell that I used to customize the eshell prompt on my Mac running macOS Big Sur | |
;; I copied this file in my .emacs.d/eshell/ directory and load the file in my profile file in the same directory | |
;; Note: You must install packages `dash`, `s`, `magit`, and `all-the-icons` and then run `M-x all-the-icons-install-fonts` | |
;; I did so using MELPA and it worked fine | |
;; Please see https://github.com/domtronn/all-the-icons.el for usage of icons | |
(require 'dash) | |
(require 's) | |
(require 'cl) | |
(require 'magit) |
This file contains 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 | |
import PlaygroundSupport | |
struct InspectorSidebarToolbarTop: View { | |
@State var targeted: Bool = true | |
@State private var icons = [ | |
InspectorDockIcon(imageName: "doc", title: "File Inspector", id: 0), | |
InspectorDockIcon(imageName: "clock", title: "History Inspector", id: 1), | |
InspectorDockIcon(imageName: "questionmark.circle", title: "Quick Help Inspector", id: 2) |