Skip to content

Instantly share code, notes, and snippets.

View mcgivrer's full-sized avatar
🌐
Work onto a Platform !

Frédéric Delorme mcgivrer

🌐
Work onto a Platform !
View GitHub Profile
@mcgivrer
mcgivrer / powerline-and-tmux.md
Last active March 16, 2022 23:22
Powerline and tmux
@mcgivrer
mcgivrer / create-java-project.sh
Last active May 16, 2022 15:33
Generate a Java project from scratch (v2)
#!/bin/bash
if [ $1 -eq ""]; then
#---- Display help message ---------------------------------------
echo -e "Command line: $0
Usage:
-------
$0 -n [project_name] -p [project_version] -a [author_name] -e [author_email] -j [java_version] -k [app_package_name]
where:
- p [project_name] name of the project directory to be generated (will be used capitalized as application name and main class),
- v [project_version] the version for the project to be initialized
@mcgivrer
mcgivrer / tools-survival-guide.md
Last active May 4, 2022 13:42
Tools survival guide
title created author description
Tools survival guide
2022
Fréédric Delorme
some useful information for any user or developer using Linux

Tools Survival Guide

Tmux

@mcgivrer
mcgivrer / README.md
Last active February 4, 2022 10:45
Maven POM with packaging, producing an archive containing the a jar and some launching scripts

README

The structure of this project template is as follow:

[projectRoot]
|_ src
|  |_ assembly
|  |  |_scripts
| | |_dep.xml
@mcgivrer
mcgivrer / git-survival-guide.md
Last active May 31, 2022 19:36
Humble GIT Survival Guide
title author date version description tags
Git Survival Guide
Frédéric Delorme
2022-MAY-20
1.0.5
This docuemnt intends to provide some helpt on git usage. Some parts are from their respective author (see provided links)
git,branch,tag,flow

Humble Git Survival Guide

@mcgivrer
mcgivrer / InputHandler.java
Last active April 2, 2021 23:17
A Simple InputHandler with action vs. key mapping, mainly for gaming purpose
/**
* The <code>InputHandler</code> is implementing the <code>KeyListener</code> to
* be the keyboard manager. It is mapping some <code>keyEvent</code> code to
* possible <code>ACTIONS</code>.
* <ul>
* <li>the <code>keyMapping</code> are the map containing the mapping between
* some KeyCode to <code>ACTIONS</code> values,</li>
* <li>the internal <code>keys</code> map contains all keys status as boolean
* values,</li>
* <li>the <code>actions</code> contains all Action events produced.</li>
@mcgivrer
mcgivrer / regex.md
Last active August 12, 2020 08:26
Reg Ex Survivor guide
@mcgivrer
mcgivrer / Hosts
Created June 21, 2020 23:36
Hosts
192.168.1.116 gitlab. Raspbuntu. Local
@mcgivrer
mcgivrer / .gitignore
Last active August 2, 2023 23:52
Java build script v4.2: an optimized version with javadoc generation, unit tests execution from /src/test (need Junit5 standalone CLI) and an epub generation (need pandoc) from markdown files in /docs.
# build v4.2
# Copyright 2023 Frederic Delorme (McGivrer) fredericDOTdelormeATgmailDOTcom
.settings/
target/
.idea/
*.iml
.project
.classpath
@mcgivrer
mcgivrer / basic-java-survivor-guide.md
Last active February 9, 2023 14:18
Basic Java CLI Survivor Guide
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 1 column 38
---
title: the Basic Java Survival Guide : Java is an Oracle programming language (formerly a Sun one).
author: Frédéric Delorme 
createdAt: 2020-09-23
copyright: 2020,2021
description: the mandatory how-to to survive in the maelström of tools and command line tools in the Java world ecosystem.
license: MIT
---

The Basic Java Survival Guide