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
@marcuspocus
marcuspocus / TextitleExtension
Created January 16, 2011 11:06
Une extension pour Play! Framework qui permet de faire un rendu html d'une chaine écrite en Textile.
package ext;
import java.io.StringWriter;
import jj.play.org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
import jj.play.org.eclipse.mylyn.wikitext.core.parser.builder.HtmlDocumentBuilder;
import jj.play.org.eclipse.mylyn.wikitext.textile.core.TextileLanguage;
import play.templates.JavaExtensions;
public class TextileExtension extends JavaExtensions {
@carlosspohr
carlosspohr / README.md
Last active August 31, 2023 00:35
Functional Apache2 route for Gitlab 5.0

For your Ruby, you'll must install this gems:

sudo gem install passenger

sudo passenger-install-apache2-module

At this moment, you'll asked to install some Apache2's deps (three deps):

sudo apt-get install apache2-prefork-dev

@akottr
akottr / Maven.sublime-build
Last active August 1, 2022 06:47
For maven build put this file into ~/.config/sublime-text-3/Packages/User. Choose Tools -> Build System -> Maven. Ctrl+Shift+ P shows the entries (e.g mvn clean)
{
"working_dir": "$file_path",
"shell_cmd":"mvn clean install",
"variants": [
{
"name": "mvn clean install",
"shell_cmd": "mvn clean install"
},
{
"name": "mvn full build",
@jbenet
jbenet / simple-git-branching-model.md
Last active June 17, 2024 14:53
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@remibantos
remibantos / wildfly_wmq.md
Last active August 24, 2022 07:03
Message Driven Beans with Wildfly and Websphere MQ

Message Driven Beans with Wildfly and Websphere MQ

Introduction

This page describes MDB (Message Driven Bean) configuration with Wildfly (> version 8 implementing Java EE 7/8) and Websphere MQ messaging broker.

Websphere MQ Resource Adapter

Description

Websphere MQ provides a resource adapter which is able to interact with latest and even legacy Websphere MQ versions. (See this link for WMQ v8.0 Resource Adapter compatibility details)

@alicanalbayrak
alicanalbayrak / pom.xml
Last active February 20, 2019 03:02
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>
@jahe
jahe / spring-boot-cheatsheet.java
Last active May 25, 2024 03:47
Spring Boot Cheatsheet
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration
@SpringBootApplication
public class FooApplication {
public static void main(String[] args) {
// Bootstrap the application
SpringApplication.run(FooApplication.class, args);
}
}
@mcgivrer
mcgivrer / .gitignore
Last active March 20, 2024 07:45
The -Ultimate Maven Project Kit- to build project with sources, javadoc, only-one-shaded-jar, windows executable, publish artifact to git, verify version and add licenses !
/target/
/.classpath
/.project
/.vscode
/.idea
/dependency-reduced-pom.xml
/bin/
@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 <frederic.delorme@gmail.com>
* @since 2019
*/
import java.awt.Color;
@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