Skip to content

Instantly share code, notes, and snippets.

View PolyRocketMatt's full-sized avatar
🏳️‍🌈

Matthias PolyRocketMatt

🏳️‍🌈
View GitHub Profile

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@jvanmelckebeke
jvanmelckebeke / p-np-npc.md
Last active June 19, 2020 07:18
toevoeging overzicht

complexiteit klassen P, NP, NPC

overzicht van relatie tot probleemklassen overzicht relatie tot probleemklassen

P

formeel

alle ja/nee problemen die opgelost kunnen worden met een deterministische Turingmachine binnen polynomiale tijd.

Begrijpelijk gezegd

alle ja/nee problemen die kunnen opgelost worden met een uitvoeringstijd die een veelterm is afhankelijk van de invoerlengte.

complexiteit klassen P, NP, NPC

P

formeel

alle ja/nee problemen die opgelost kunnen worden met een deterministische Turingmachine binnen polynomiale tijd.

Begrijpelijk gezegd

alle ja/nee problemen die kunnen opgelost worden met een uitvoeringstijd die een veelterm is afhankelijk van de invoerlengte.

Voorbeeld

@weilueluo
weilueluo / Java types by args and return
Last active December 29, 2022 00:09
Differences between Supplier, Consumer, Callable, Runnable, Function, BiFunction, Predicate, UnaryOperator, BinaryOperator
Supplier () -> x
Consumer x -> ()
Callable () -> x throws ex
Runnable () -> ()
Function x -> y
BiFunction x,y -> z
Predicate x -> boolean
UnaryOperator x1 -> x2
BinaryOperator x1,x2 -> x3
@DerFrZocker
DerFrZocker / CustomDimension.java
Created February 5, 2022 12:34
A simple class to change the dimension type of a world. For Spigot and Minecraft version 1.18.1.
/*
* MIT License
*
* Copyright (c) 2022 Marvin (DerFrZocker)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
/**
* Copyright (c) <2022> <Yann Thorimbert, Bastien Chopard, Matthias Kovacic>
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions: