Skip to content

Instantly share code, notes, and snippets.

View Vinetos's full-sized avatar
⌨️
I don't code... I think ?

Valentin Vinetos

⌨️
I don't code... I think ?
View GitHub Profile
div.content-wrapper {
background: #31383F;
}
#dashboard > div.menu {
background: #24292E;
}
#header > div {
background: #31383F;

Keybase proof

I hereby claim:

  • I am vinetos on github.
  • I am vinetos (https://keybase.io/vinetos) on keybase.
  • I have a public key ASCPISJbNogqAYsrDmKsPOy1KZQLV9DxeULjMZ-I7h9COgo

To claim this, I am signing this object:

# This is a Temporary solution until openJDK 10 will be added to travis configuration.
# Specify language
language: java
# Disable other otherJDK (or unavailible)
# jdk:
# - oraclejdk8
# Download jdk installer
before_install:
@Vinetos
Vinetos / Generate HTML5 Javadoc with Gradle.gradle
Last active May 5, 2018 08:03
Generate HTML5 Javadoc with Gradle
// Configure javadoc generation
javadoc {
doFirst {
// Generate HTML5 javadoc
options.addBooleanOption('html5', true)
// OPTIONAL - Define window and doc titles
options.setWindowTitle('My Project | Javadoc')
options.setDocTitle('My Project')
@Vinetos
Vinetos / Scoreboard_v1_7_R4.java
Last active July 12, 2021 02:42
An scoreboard api using nms | 1.8.X/1.9.X/1.10.X/1.11.X : https://gist.github.com/Vinetos/69b875e90af55634b3e0591dea59dec4
package fr.vinetos.util.scoreboard;
import fr.vinetos.util.Reflection;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.lang.reflect.Field;
import java.util.Collections;
import java.util.UUID;
package fr.vinetos.util.scoreboard;
import fr.vinetos.util.Reflection;
import net.minecraft.server.v1_7_R4.PacketPlayOutScoreboardTeam;
import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.entity.Player;
import java.lang.reflect.Field;
import java.util.*;
package fr.vinetos.util.scoreboard;
import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.entity.Player;
import java.lang.reflect.Field;
import java.util.*;
/**
package fr.vinetos.util.scoreboard;
import fr.krilouja.game.team.Team;
import net.minecraft.server.v1_8_R3.IScoreboardCriteria;
import net.minecraft.server.v1_8_R3.PacketPlayOutScoreboardScore;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.lang.reflect.Field;
import java.util.Collections;
package fr.vinetos.util.scoreboard;
import org.bukkit.Bukkit;
import org.bukkit.DyeColor;
import org.bukkit.entity.Player;
import java.lang.reflect.Field;
import java.util.*;
/**
@Vinetos
Vinetos / Reflection.java
Last active October 25, 2017 07:17
A class to use easily the reflection with a plugin
package fr.vinetos.util;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.scoreboard.Scoreboard;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;