Skip to content
View Fripe070's full-sized avatar
  • School
  • Jupiter
  • 21:43 (UTC +02:00)

Organizations

@Breadcord @Breadcord-Toasts
Block or Report

Block or report Fripe070

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Fripe070/README.md

Hi, I'm Fripe!

import time
from datetime import datetime
from typing import Any, Literal, Callable


class Fripe(Student):
    def __init__(self, name: Literal["Fripe", "froop"] = "Fripe") -> None:
        self.name = name
        self.born_at = datetime.min
        self.skills = []

    def do_work(
        self,
        work: Callable,
        /,
        time_limit_seconds: int = -1,
        *work_args: Any,
        **work_kvargs: Any,
    ) -> Any:
        if time_limit_seconds == -1:
            return
            
        portion_to_use_for_work = 1 / 4
        self.procastinate(max(0, time_limit_seconds) * 1/portion_to_use_for_work)
        return work(*work_args, **work_kvargs)

    def procastinate(self, seconds: int, /) -> None:
        time.sleep(seconds)

Popular repositories Loading

  1. FripeBot FripeBot Public archive

    The code for my Discord bot!

    Python 5 3

  2. Crystal Crystal Public

    Python 2 1

  3. Stable-Diffusion-WebUI-Colab Stable-Diffusion-WebUI-Colab Public archive

    A colab for AUTOMATIC1111's stable diffusion web UI

    Jupyter Notebook 1

  4. BreadcordTorment BreadcordTorment Public

    Python 1

  5. ThonkMod ThonkMod Public

    Forked from sjalkote/ThonkMod

    A repository for learning to mod Minecraft with the Forge MDK.

    Java

  6. TGoT TGoT Public

    The Game Of Thonk is a simple game I am developing to learn Unity and C#.

    C# 1