Skip to content

Instantly share code, notes, and snippets.

View EricPedley's full-sized avatar

Eric Pedley EricPedley

View GitHub Profile
import XMonad
import XMonad.Layout (Tall, Full)
import XMonad.Util.EZConfig (additionalKeys)
myLayouts = layoutTall ||| layoutFull
where
layoutTall = Tall 1 (3/100) (1/2)
layoutFull = Full
myKeys conf@(XConfig {modMask = modKey}) =
@EricPedley
EricPedley / pylonmain.ts
Last active March 26, 2021 21:45
Pylon discord bot script
interface Dict<TValue> {
[key:string]:TValue
}
discord.on('MESSAGE_CREATE', async (message) => {
if (message.author.bot) {
const channel = await message.getChannel() as discord.GuildTextChannel;
if (channel.name != 'bot-usage')
await message.reply(
'https://tenor.com/view/discord-mods-discord-mods-soap-dont-drop-the-soap-gif-17881140'
@EricPedley
EricPedley / onetoughpuzzle.ipynb
Last active December 5, 2020 05:01
OneToughPuzzle.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.