Skip to content

Instantly share code, notes, and snippets.

View jav-solo's full-sized avatar

Javier Solorzano jav-solo

  • Apple
  • San Francisco Bay Area
  • 11:33 (UTC -07:00)
  • LinkedIn in/jsolor
View GitHub Profile
@jav-solo
jav-solo / sliding-icons-demo.swift
Last active February 6, 2023 19:14
Drag to re-order icons Playgrounds demo
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)
@jav-solo
jav-solo / esh-custom.el
Last active November 15, 2021 12:52 — forked from ekaschalk/esh-custom.el
Customizing your emacs shell.
;; 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)