Skip to content

Instantly share code, notes, and snippets.

View msaiducar's full-sized avatar
🏠
Working from home

M Said Ucar msaiducar

🏠
Working from home
  • Movinx GmbH
  • Berlin
View GitHub Profile

Current status

Single module with Cloud Native Buildpacks

mvn spring-boot:build-image -Pnative

This works, even if the Spring Boot Maven Plugin nor the Native Build Tools Plugin have been applied in the project as the native profile brings them.

@vielhuber
vielhuber / README.md
Last active November 16, 2022 18:48
Clean Code: A Handbook of Agile Software Craftmanship (Robert C. Martin) - #book

1: CLEAN CODE

  • The Boy Scout Rule: Leave the campground cleaner than you found it ("always refactor a little bit every time you work on your code")

2: MEANINGFUL NAMES

  • Use intention-revealing names ("elapsedTimeInDays" vs. "d")
  • Use pronounceable names ("generationTimestamp" vs "genymdhms")
  • Use searchable names ("realDaysPerDay" vs "d")
  • Be consistent (always use one of fetch/retrieve/get in different classes)
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@lemiorhan
lemiorhan / ReleaseViaJGitFlow.md
Last active September 3, 2024 20:35
How to make a release with Git and Maven via JGitFlow

How to make a release with Git and Maven via JGitFlow

Imagine that you are versioning your sourcecode in git and building your code via maven. You need to make releases before deploying to production regularly. What should be the strategy we need to follow for releasing?

I've used maven-release-plugin for years to make releases. It worked perfectly with maven and svn, but we started to face problems when we migrated our code to git and to make releases on git.

After checking the literature, we decided to use JGit-Flow which is a maven plugin based on and is a replacement for the maven-release-plugin enabling support for git-flow style releases via maven.

I do not want to explain the details much because there are many great posts explaining all.

@lazyfrost
lazyfrost / mutt-gmail-yandex.md
Last active September 5, 2024 11:31
Configuring mutt to work with gmail and yandex