mkdir myrepo && cd myrepo
git initExample commands show moving the "data" directory from oldrepo to newrepo and includes all history.
-
Clone a fresh copy of oldrepo.
git clone git@github.com:USERHERE/oldrepo.git
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
| ##-- Aliases --## | |
| alias ll='ls -l' | |
| alias k='kubectl' | |
| alias ke='kubectl exec -it' | |
| alias kc='kubectx' | |
| alias kn='kubens' | |
| ##-- Completions and Prompt --## |
Analyzing your project via the cljdoc-analyzer locally will ensure that when your project is pushed to clojars, the API docs will have a much better chance of successfully generating.
Install the cljdoc-analyzer.
clojure -Ttools install io.github.cljdoc/cljdoc-analyzer '{:git/tag "RELEASE"}' :as cljdocExtend your GPG key expiry
-
Find the ID of the expiring key. Note your key ID.
gpg --list-secret-keys
-
Start editing the key.
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
| #!/bin/bash | |
| url=$1 | |
| echo | \ | |
| openssl s_client -showcerts -servername ${url} -connect ${url}:443 2>/dev/null | \ | |
| openssl x509 -inform pem -noout -text |
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
| ;; These protocols are also available in: https://github.com/wdhowe/clj-contrib | |
| (defprotocol Errors | |
| "A protocol for finding errors in a collection." | |
| (errors [coll] "Returns a map of the `:counts/errors`, which are entries with `:error` keys.")) | |
| (extend-protocol Errors | |
| clojure.lang.Sequential | |
| (errors | |
| [coll] |
Notes from Rich Hickey's Simplicity Matters slides.
"Simplicity is the ultimate sophistication." -Leonardo da Vinci
| Complexity | Simplicity |
|---|