Skip to content

Instantly share code, notes, and snippets.

View HKGx's full-sized avatar
👀

Hubert HKGx

👀
  • Poland
View GitHub Profile
@HKGx
HKGx / ContentType.cs
Created November 24, 2018 22:23
Full list of mime-types. Extracted directly from https://www.iana.org/assignments/media-types/media-types.xhtml Some of them are empty, idk why.
using System.Reflection;
namespace ServerMeWell.Mime
{
public enum ContentType
{
[MimeMeta("application/1d-interleaved-parityfec")] D_INTERLEAVED_PARITYFEC,
[MimeMeta("application/3gpdash-qoe-report+xml")] GPDASH_QOE_REPORT_XML,
[MimeMeta("application/3gpp-ims+xml")] GPP_IMS_XML,
@HKGx
HKGx / Facebook Hidden Reactions.user.js
Last active July 31, 2018 19:16
fixed some ids lul
// ==UserScript==
// @name Facebook Hidden Reactions
// @description Adds new hidden reactions
// @match *://*.facebook.com/*
// @version 1.1
// @grant none
// @run-at document-body
// ==/UserScript==
//
// Original code: https://p0358.net/facebook_reactions.user.js
@EvieePy
EvieePy / bot_example.py
Last active April 24, 2024 09:30
A Cogs Example for the rewrite version of - discord.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.