Skip to content

Instantly share code, notes, and snippets.

View miditkl's full-sized avatar
🔥
discord.gg/uFdVUMH

Midian Tekle Elfu miditkl

🔥
discord.gg/uFdVUMH
View GitHub Profile
@miditkl
miditkl / discord developer tools.js
Created February 21, 2021 15:59
activates developertools/experimenttools in discord
webpackJsonp.push([[999],{"l":(m,e,r)=>{for(k in r.c)(m=r.c[k].exports)&&m.default&&m.default.isDeveloper==0&&Object.defineProperty(m.default,"isDeveloper",{get:()=>1})}},[["l"]]])
import discord
from discord.ext import commands
import tenorpy
bot = commands.Bot(command_prefix='!')
t = tenorpy.Tenor()
@commands.command()
async def gif(ctx, giftag):
"""This command will return a tenor gif if you type "!gif cat" as example."""
@miditkl
miditkl / raspberry_python.sh
Last active December 13, 2023 09:30 — forked from vbe0201/raspberry_python.sh
A shell script for installing Python 3.10.2 on your Raspberry Pi.
#!/bin/bash
# A bash script for installing Python 3.10.2 on your Raspberry Pi.
# (c) 2022 Valentin B. / Midian T. E.
#
# Open your terminal and type the following command:
# sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh
sudo apt-get update -y
sudo apt-get upgrade