Skip to content

Instantly share code, notes, and snippets.

View nothub's full-sized avatar
💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
View GitHub Profile
@nothub
nothub / steam.desktop
Created August 12, 2020 23:35
unfuck steam
/usr/games/steam %U -no-browser -nofriendsui steam://open/minigameslist
package not.hub.test;
class UnsoundTypeBreakage<T, U> {
final Constrain<? super T> constrain;
final U u;
UnsoundTypeBreakage(T t) {
u = coerce(t);
constrain = getConstrain();
@nothub
nothub / AnsiFormat.java
Last active July 30, 2020 18:35
ANSI Formatting
package not.hub.ansi;
/**
* ANSI formatting codes
* <p>
* SGR
* Code Effect Note
* 0 Reset / Normal All attributes off
* 1 Bold or increased intensity As with faint, the color change is a PC (SCO / CGA) invention.[28][better source needed]
* 2 Faint or decreased intensity aka Dim (with a saturated color). May be implemented as a light font weight like bold.[29]
package not.hub.discord.utils;
import java.time.Instant;
import java.util.Collection;
import java.util.Set;
import java.util.stream.Collectors;
public class Snowflake implements Comparable<Snowflake> {
private static final long DISCORD_EPOCH = 1420070400000L;