Skip to content

Instantly share code, notes, and snippets.

View johannvonissou's full-sized avatar
:shipit:
miam

Johann von Issou johannvonissou

:shipit:
miam
View GitHub Profile
@johannvonissou
johannvonissou / graph.py
Last active August 18, 2020 15:25
Fractal
#!/bin/python3
from time import time
import pygame
import math
c = lambda z: z*z - 1.476
REFRESH_TIMES = 20
COLOR = (255,255,0)
from tkinter.messagebox import *
from tkinter import *
import math
def valid(win, n):
"""
Affiche une boite de dialogue informative communiquant le résulat
win: fenetre tkinter
n: nombre d'itérations
Retourne None
@johannvonissou
johannvonissou / FireScoreboard.java
Last active February 24, 2018 23:15
Simple Minecraft Spigot Scoreboard (1.8.8)
package fr.glowstoner.fireapi.bukkit.nms.scoreboard;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import fr.glowstoner.fireapi.bukkit.nms.FireReflection;
@johannvonissou
johannvonissou / FireReflection.java
Created February 24, 2018 00:24
Minecraft Spigot Reflection class (1.8.8)
package fr.glowstoner.firehub;
import java.lang.reflect.Field;
public class FireReflection {
public static final String VERSION = "v1_8_R3";
public static final String PATH = "net.minecraft.server.v1_8_R3";
public static Class<?> getClass(String cname) {