Skip to content

Instantly share code, notes, and snippets.

@TAG-Epic
TAG-Epic / socketfix.py
Last active December 5, 2022 11:22
Modified version of AlexFlipnote's LavaLink fix. LICENCED UNDER THE MIT LICENSE.
"""
Restores the old "on_socket_response" event
Just load this cog and it should fix your lavalink/slash command issues
Remember to set "enable_debug_events" to True in the bot!
"""
import zlib
import discord
from discord.ext import commands
@TAG-Epic
TAG-Epic / pokescraper.py
Last active March 25, 2021 23:13
Automatically download pokemon info and artwork
import os
from typing import Dict, List, Any, Union
# import requests
from bs4 import BeautifulSoup
from shutil import copyfileobj
import os
import json
import pymongo
import sys
## Epic theme ##
## Built on clean theme ##
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="white"; fi
PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}@%{$fg_bold[red]%}$(hostnamectl --static) %{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)'
# git theming
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg_no_bold[green]%}%B"
ZSH_THEME_GIT_PROMPT_SUFFIX="%b%{$fg_bold[blue]%})%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%} ✓"
@Soheab
Soheab / API's.md
Last active November 23, 2025 13:27
See here some of the API's you can use in your discord bot or anything

Some APIs for you.

Here are some APIs you can use in your Discord bot or any other project. For any help or questions on how to use one, please contact the owner of the API and not me.

A bigger list of APIs can be found at: https://github.com/public-apis/public-apis


[TOKEN] = API requires a token to access some if not all endpoints.

Basic
=====
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master.
[Mod] + [j / k] - focus on next/previous window in current tag.