git init projectgit config --global user.name "Tim Berglund"git config --global user.email "tlberglund@github.com"git statusgit add <file>- Diff
git diff
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
| #!/usr/bin/env bb | |
| #_" -*- mode: clojure; -*-" | |
| ;; Based on https://github.com/babashka/babashka/blob/master/examples/image_viewer.clj | |
| (ns http-server | |
| (:require [babashka.fs :as fs] | |
| [clojure.java.browse :as browse] | |
| [clojure.string :as str] | |
| [clojure.tools.cli :refer [parse-opts]] | |
| [org.httpkit.server :as server] |
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
| (ns clojuredojo.core) | |
| (defn palindrome-detector [thing] (= (reverse thing) (seq thing)) ) | |
| (def __ palindrome-detector) | |
| (false? (__ '(1 2 3 4 5))) | |
| (true? (__ "racecar")) | |
| (true? (__ [:foo :bar :foo])) | |
| (true? (__ '(1 1 3 3 1 1))) |