Skip to content

Instantly share code, notes, and snippets.

@nicokosi
nicokosi / timeless-software-books.md
Last active August 28, 2023 07:25
Timeless sofware books listed on 2023-02-28 during the Software Crafters Paris meetup (https://www.meetup.com/paris-software-craftsmanship/events/291421743)

Timeless software books

Timeless sofware books listed on 2023-02-28 during the Software Crafters Paris meetup, see the picture on Twitter or Mastodon.

  • The Software Craftsman: Professionalism, Pragmatism, Pride - Sandro Mancuso
  • The Joy of Clojure: Thinking the Clojure Way - Michael Fogus, Chris Houser
  • Effective Java - Joshua Bloch
  • Clean Code: A Handbook of Agile Software Craftsmanship - Robert Martin
  • Systems Performance: Enterprise and the Cloud - Brendan Gregg
@ygrenzinger
ygrenzinger / MonadExs.hs
Last active December 14, 2022 07:39
Functor -> Applicative -> Monad typeclasses
-- Two datatypes
data Optional a = Some a | Empty deriving (Eq, Show)
data Or a b = A a | B b deriving (Eq, Show)
-- functor instances
instance Functor Optional where
fmap f (Some a) = Some (f a)
fmap _ Empty = Empty
instance Functor (Or a) where
@betandr
betandr / .gitconfig
Last active March 7, 2019 12:42
Git Config Aliases
co = git checkout
br = git branch
ec = git config --global -e
up = git pull --rebase --prune $@ && git submodule update --init --remote --recursive
cob = git checkout -b
cm = git add -A && git commit -m
save = git add -A && git commit -m 'SAVEPOINT'
wip = git add -u && git commit -m WIP
undo = git reset HEAD~1 --mixed
amend = git commit -a --amend