Skip to content

Instantly share code, notes, and snippets.

View Hay1tsme's full-sized avatar

Kevin Trocolli Hay1tsme

View GitHub Profile
@Pupix
Pupix / index.js
Last active January 11, 2025 23:32
A minimal WAMP 1.0 protocol implementation to be used with the new League of Legends client (LCU)
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
const WebSocket = require('ws');
const MESSAGE_TYPES = {
WELCOME: 0,
PREFIX: 1,
CALL: 2,
CALLRESULT: 3,
CALLERROR: 4,
@mininmobile
mininmobile / example.plugin.js
Last active July 10, 2024 23:19
Example BetterDiscord Plugin
//META{"name":"Example"}*//
class Example {
// Constructor
constructor() {
this.initialized = false;
}
// Meta
getName() { return "Example"; }
@shtrih
shtrih / EmbedAV.plugin.js
Last active October 16, 2018 11:34
[Outdated since this is built in feature] Plugin for BetterDiscord. Creates player for audio and video files (mp3, mp4, webm etc.). Works only for https links. Screenshot in comments
//META{"name":"EmbedAV"}*//
/*
Check for Updates: https://gist.github.com/shtrih/8a72a36d513ec704c7a9
How to install:
1. If you don't have it, get Discord from https://discordapp.com/apps
2. Download BetterDiscord for your platform on https://betterdiscord.net/home
3. Push the button «Raw» then Ctrl + S.
3. Place the plugin in %appdata%\BetterDiscord\plugins\.
4. Refresh Discord with Ctrl + Shift + R or just restart Discord completely.
@atimb
atimb / LICENSE.txt
Created December 8, 2011 23:32 — forked from 140bytes/LICENSE.txt
Snake game in 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Attila Incze <http://atimb.me>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE