Skip to content

Instantly share code, notes, and snippets.

View miditkl's full-sized avatar
🎯
Focusing

Midian Tekle Elfu miditkl

🎯
Focusing
View GitHub Profile
@miditkl
miditkl / delonghi_device_info.py
Created January 25, 2026 11:51
This script logs into your De'Longhi account, retrieves an authentication token, and then fetches information about your registered coffee machines or other De'Longhi comfort devices.
#!/usr/bin/env python3
"""
De'Longhi Device Info Retriever
This script logs into your De'Longhi account, retrieves an authentication token,
and then fetches information about your registered coffee machines or other
De'Longhi comfort devices.
It's designed as a simple, command-line tool that leaves no trace on your system,
as it cleans up the temporary token file it creates.
:root {
--bg-color: #f5f5f5;
--header-bg: #ffffff;
--accent-color: #007bff;
--text-color: #333333;
--link-color: var(--accent-color);
--border-color: #dddddd;
--input-bg: #ffffff;
--input-border: #cccccc;
}
@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