Skip to content

Instantly share code, notes, and snippets.

View helenhash's full-sized avatar
🎯
Focusing

Helen helenhash

🎯
Focusing
  • Hue, Viet nam
View GitHub Profile
@helenhash
helenhash / Maven.md
Last active November 6, 2024 05:17

Note some way to use Maven in project

Maven wrapper

Instead of installing many versions of it in the operating system, we can just use the project-specific wrapper script.

mvn -N wrapper:wrapper -Dmaven=3.5.2 -> Create maven wrapper in your project.

build project

@helenhash
helenhash / redis.md
Last active November 6, 2024 05:17

Redis Setup & Testing

What

Redis is an open-source, in-memory data structure store often used as a database, cache, and message broker.

It supports various data structures like strings, hashes, lists, sets, and sorted sets

Keys

  • Replication: Supports master-slave replication, making it suitable for high-availability setups.
  • Pub/Sub Messaging: Allows message publishing and subscribing, making it useful for real-time messaging applications.

Jenkins Setup (Jenkins with GitLab, Java Maven Project)

Prerequisite: For testing purpose, we can setup Jenkins, GitLab server with Docker. Ref: Jenkin Install With Gitlab using Docker

Install Plugins/ Tools

Plugin

Go to Manage Jenkins > Manage Plugins.

  • GitLab Plugin
  • Git plugin (if not already installed)