git init
or
| #!/usr/bin/env lumo | |
| (ns spacedl.spacedl | |
| (:require [cljs.nodejs :as node] | |
| [clojure.pprint :refer [pprint]] | |
| [clojure.string :as string :refer [join split starts-with?]] | |
| [cljs.core :refer [*command-line-args*]])) | |
| (node/enable-util-print!) | |
| (.on js/process "uncaughtException" #(js/console.error %)) |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
| function ls --description 'List contents of directory' | |
| command ls -lFG $argv | |
| end | |
| function subl --description 'Launches sublime text in a new window' | |
| command subl -n $argv | |
| end | |
| function code --description 'Launches visual code studio in a new window' | |
| command code -n $argv |
Created by Christopher Manning