This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Homestuck HTML5 Blur Fix | |
// @namespace https://gist.github.com/charagarlnad | |
// @match https://*.homestuck.com/story/* | |
// @grant none | |
// @version 1.0 | |
// @author charagarlnad | |
// @description disables anti-aliasing on homestuck html5 pages, making them much closer to the original flashes in appearance | |
// @icon https://www.homestuck.com/favicon/android-chrome-192x192.png | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[18:29:27] [main/INFO]: Setting user: test1 | |
[18:29:28] [Client thread/INFO]: LWJGL Version: 2.9.1 | |
[18:29:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DragonAPI | |
[18:29:34] [Sound Library Loader/INFO]: Sound engine started | |
[18:29:34] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DragonAPI | |
[18:29:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DragonAPI | |
[18:29:35] [Sound Library Loader/INFO]: Sound engine started | |
[18:29:36] [Sound Library Loader/INFO]: Sound engine started | |
[18:31:24] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 | |
[18:31:24] [Server thread/INFO]: Generating keypair |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Discordrb::API::Channel | |
module_function | |
def create_reaction(token, channel_id, message_id, emoji) | |
emoji = URI.encode(emoji) unless emoji.ascii_only? | |
Discordrb::API.raw_request( | |
:put, | |
["#{Discordrb::API.api_base}/channels/#{channel_id}/messages/#{message_id}/reactions/#{emoji}/@me", | |
nil, | |
Authorization: token, | |
content_type: :json] |