Skip to content

Instantly share code, notes, and snippets.

View xpepper's full-sized avatar
💭
😏

Pietro Di Bello xpepper

💭
😏
View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 10, 2024 18:39
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@xpepper
xpepper / Sam Newman - Confusion In The Land Of The Serverless.md
Last active January 29, 2020 13:05
Notes from Sam Newman's talk "Confusion In The Land Of The Serverless" at CraftConf

Some info about Rust

RUST came out from Firefox to solve problem related to: performance and security.

Why Rust is "faster" compared to C++, C or other compiled language?

  • Similar to these languages
  • Strong Type System
  • Rust compiler uses LLVM suite: Rust compiles to LLVM bytecode and then to assembly language
  • You can write less code compared to other programming language

Clean-Architecture

Notes, comments and errata on Robert C. Martin's Clean Architecture

Reading the book

The book has 34 chapters, with a maximum of 22 pages (chapter 14). Even while involved as a programmer in a project, it should be possible to read one chapter per day, so you can finish the book in about 2 months.

Errata

@xpepper
xpepper / Keeping a branch up-to-date with master.md
Last active May 2, 2020 15:50
Keeping a branch up-to-date with master

Keeping a branch up-to-date with master and then merge back the branch to master

git checkout new-feature # Go to the feature branch named "new-feature"
git rebase master

# Now your feature have all the commits from master!
# this is because "git rebase master" reads like "git, please rebase my commits on top on the commits from master"

@jthodge
jthodge / universal-switcher
Created September 6, 2020 22:07
Show macOS app switcher across all monitors
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock