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 / 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 April 1, 2025 11:52
Basic Java CLI Survivor Guide
subtitle author createdAt updatedAt copyright description license
Java is a programming language developed by Oracle (formerly by Sun Microsystems).
Frédéric Delorme
2020-09-23
2025-04-01
2025
A comprehensive guide to navigating the tools and command-line utilities in the Java ecosystem.
MIT
@mcgivrer
mcgivrer / Build-README.md
Last active May 13, 2020 09:40
a buils script for java project

Build

This very useful build.sh script allow you to build any java project with the maven inspired file structure below. It is particularly adapeted to very light machine : ARM archtecture based ones a.k.a. RaspberryPi, OrangePi, BananaPi, etc ...

It is using only bash, javac, java,jar and git command line instructions.

Project Structure

@mcgivrer
mcgivrer / typora-install.sh
Last active March 22, 2020 12:10
Typora ubuntu installation
#!/bin/bash
# see https://gist.github.com/mcgivrer/954b1340305cbe8f07bcdd3895da3d16
# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
@mcgivrer
mcgivrer / DemoGame.java
Last active January 22, 2020 14:11
A Java DemoGame to play with
/**
* Project -=-=( DemoGame )=-=-
*
* This project aims at demobstrate basics for simple game.
*
* @author Frédéric Delorme <[email protected]>
* @since 2019
*/
import java.awt.Color;
@mcgivrer
mcgivrer / book.css
Last active May 15, 2019 15:08
Generate PDF-EPUB from markdown with maven
/* BB eBooks BoilerPlate EPUB */
/* Modify as Needed */
/* NOT SUITABLE for Kindle */
/* visit us @ http://bbebooksthailand.com/developers.html */
/* This adds margins around every page to stop ADE's line numbers from being superimposed over content */
@page {margin: 10px;}
/*===Reset code to prevent cross-reader strangeness===*/