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 / pom.xml
Created August 19, 2018 14:08 — forked from alicanalbayrak/pom.xml
jinput native library unpack example
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.gilmour.native</groupId>
<artifactId>jinput-2</artifactId>
<version>1.0-SNAPSHOT</version>
@mcgivrer
mcgivrer / license-badges.md
Created October 30, 2018 20:58 — forked from sadv1r/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file. Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Want to add a License?

Comment this gist or write me an E-Mail ([email protected])

@mcgivrer
mcgivrer / README.md
Created January 30, 2019 23:27
Create some badges in the README.md file

README

Build & Checks

CI

Travis

Build Status

@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===*/
@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 / 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 / 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 / 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 / .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 / Hosts
Created June 21, 2020 23:36
Hosts
192.168.1.116 gitlab. Raspbuntu. Local