Skip to content

Instantly share code, notes, and snippets.

View ABD-01's full-sized avatar
💭
Why are we here?

ABD ABD-01

💭
Why are we here?
View GitHub Profile
from timeit import default_timer as timer
class benchmark(object):
def __init__(self, msg, fmt="%0.3g"):
self.msg = msg
self.fmt = fmt
def __enter__(self):
self.start = timer()
@ABD-01
ABD-01 / pollos.c
Created April 24, 2020 12:19
A program, that presents a Counter of a restaurant which take your order, review it, and finally checkout, and Many other features. (the code runs good in Ubuntu). Amazing use of Structures and pointers.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
typedef char *string ;
struct dish
{
string name;
@codingdudecom
codingdudecom / 80s-fonts-text-effect-10-css-stranger-things-text-effect.markdown
Created July 22, 2019 12:05
80s Fonts Text Effect 10: CSS Stranger Things Text Effect
@EvieePy
EvieePy / bot_example.py
Last active April 3, 2025 19:21
A Cogs Example for the rewrite version of - discord.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.