Skip to content

Instantly share code, notes, and snippets.

@gaelrech
gaelrech / clojure-learning-list.md
Last active February 9, 2025 18:09 — forked from ssrihari/clojure-learning-list.md
An opinionated list of excellent Clojure learning materials
[
{
"type": "section",
"block_id": "section1",
"text": {
"type": "mrkdwn",
"text": "Pick a % dropdown list"
},
"rollout": {
"action_id": "rol",
@gaelrech
gaelrech / pre-push
Last active May 20, 2022 16:58
Pre-push/commit template for clojure
#!/bin/sh
# In case we need to know what is coming inside this script....a
# remote="$1"
# url="$2"
PURPLE='\033[0;35m'
NO_COLOR='\033[0m'
printf "${PURPLE}>>>>>>> lein lint-fix...\n\n${NO_COLOR}"
@gaelrech
gaelrech / git-examples.md
Last active February 10, 2023 14:38
Git examples

Git Examples

Collection of examples so I have a central place to look for this stuff.

How to sign previous unsigned commits

git rebase -i HASH

#in the rebase file, add a line to exec a new commit to sign...
@gaelrech
gaelrech / custom-colors.css
Created June 3, 2021 20:46
mkdocs-material custom css sample
/* modifying svg background for showing puml diagrams in Dark Mode */
.md-typeset img{
background-color:white;
}
.md-typeset table:not([class]) th{
min-width:0;
}
:root {
/* Default color shades
/* --md-default-fg-color: hsla(0, 0%, 0%, 0.87); */
@gaelrech
gaelrech / class.iuml
Created June 3, 2021 20:41
plantuml useful class functions
'Relationship functions
!unquoted function creates($to, $direction = "")
!return "." + $direction + ".> " + $to + ":creates"
!endfunction
!unquoted function implements($to, $direction = "")
!return "." + $direction + ".|> " + $to + ":implements"
!endfunction
!unquoted function uses($to, $direction = "", $n = "" , $m = "")
!return "-" + $direction + "-> " + $to + ":uses"
!endfunction
@gaelrech
gaelrech / mkdocs.yaml
Created June 3, 2021 20:36
mkdocs sample yaml file
site_name: <name>
# Site tree
nav:
- First Tab: README.md
repo_url: <github_url>
repo_name: <git_name>
# Configuration