Skip to content

Instantly share code, notes, and snippets.

View cfanoulis's full-sized avatar

Charalampos Fanoulis cfanoulis

View GitHub Profile
@cfanoulis
cfanoulis / message.txt
Created February 1, 2022 09:46
Key rotation statement 2022/02/01
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I hereby confirm the rotation of keys from 49ADCECC to 0B613272.
This message is signed by the old key (49ADCECC)
Ad Astra,
CF
-----BEGIN PGP SIGNATURE-----
@cfanoulis
cfanoulis / PagedDisplay.ts
Last active November 24, 2020 07:08
PagedDisplay v2
/*
Copyright © 2020 Charalampos Fanoulis
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:
The above copyright notice and this permission notice (including the next paragraph) shall be included
@cfanoulis
cfanoulis / PagedDisplay.ts
Created October 25, 2020 10:51
(Bad) port of RichDisplay from Klasa
import { EventIterator, EventIteratorOptions } from '@sapphire/event-iterator';
import { mergeDefault } from '@sapphire/utilities';
import { wrapAroundNumber } from '@utils/util';
import { Message, MessageEmbed, MessageReaction, ReactionEmoji, User } from 'discord.js';
export interface PagedDisplayOptions extends Partial<EventIteratorOptions<[MessageReaction]>> {
noPageNumber?: boolean;
emojis: {
previousPage: string;
nextPage: string;
@cfanoulis
cfanoulis / docs.d.ts
Created February 3, 2020 13:37
doctypes klasa
export interface Root {
meta: Meta;
custom: Custom;
classes: Class[];
typedefs: Typedef[];
externals: External[];
}
export interface Meta {
generator: string;
@cfanoulis
cfanoulis / README.md
Created October 25, 2019 08:37
pika-fetch

This script isn't mine. Favna made it, so all rights go to him.

Keybase proof

I hereby claim:

  • I am cfanoulis on github.
  • I am cfanoulis (https://keybase.io/cfanoulis) on keybase.
  • I have a public key whose fingerprint is 59EA 1352 EDFE F1B3 36FC 9A0E 850A 3C48 49AD CECC

To claim this, I am signing this object:

@cfanoulis
cfanoulis / poslo-rant.md
Created June 10, 2019 07:49
Poslovich - Why Bbox isn't on SpigotMC
Why aren't we on Spigot?
  • Exactly because we preferred to keep BentoBox temporarily away from users that may not understand how to use it - there are a lot of kids on SMC that would have overwhelmed us with support requests.
Why aren't we adding BentoBox on SpigotMC?
  • We will soon, once we think that the plugin can be easily installed and used by those who are not used to configuring plugins.
Why aren't there addons on SpigotMC?
  • Why won't there be? Because they're not plugins, they're not eligible to be published here.