Skip to content

Instantly share code, notes, and snippets.

View Jookie262's full-sized avatar
🤜
Kaya ni ah!! Bisan anu ka budlay

Paul Jolou Jookie262

🤜
Kaya ni ah!! Bisan anu ka budlay
View GitHub Profile
@Jookie262
Jookie262 / 🟥 Tetra League Stats ( C- ) 🟧
Last active February 26, 2023 15:19
🟥 Tetra League Stats ( C- ) 🟧
📈 Ratings ····································· 1622.05
🕹️ APM ··········································· 12.32
🧩 PPS ············································ 0.91
🧱 VS ············································ 23.76
@Jookie262
Jookie262 / srp.md
Last active October 26, 2022 11:39
Single Responsibiity Principle

Single Responsibility Principle

The idea behind the SRP is that every class, module, or function in a program should have one responsibility/purpose in a program. As a commonly used definition, "each class should have only one sole purpose and not filled with excessive functionality".

Advantages

  • The class is easier to understand: When the class only does “one thing”, its interface usually has a small number of methods that are fairly self explanatory. It should also have a small number of member variables
  • The class is easier to maintain: Changes are isolated, reducing the chance of breaking other unrelated areas of the software. As programming errors are inversely proportional to complexity, being easier to understand makes the code less prone to bugs.
  • The class is more reusable: If a class has multiple responsibilities, and only one of those is needed in another area of the software, then the other unnecessary responsibilities hinder reusability. Having a single respon
@Jookie262
Jookie262 / I'm a night 🦉
Last active December 8, 2022 00:25
I'm a night 🦉
🌞 Morning 48 commits ██▎░░░░░░░░░░░░░░░░░░ 11.1%
🌆 Daytime 93 commits ████▌░░░░░░░░░░░░░░░░ 21.6%
🌃 Evening 173 commits ████████▍░░░░░░░░░░░░ 40.1%
🌙 Night 117 commits █████▋░░░░░░░░░░░░░░░ 27.1%
@Jookie262
Jookie262 / ♟️ Chess.com Ratings
Last active December 10, 2022 13:14
♟️ Chess.com Ratings
⚡ Blitz ..................................... 1387 📈
🚅 Bullet .................................... 1092 📈
⏲️ Rapid ..................................... 1544 📈
🧩 Tactics ................................... 2651 📈
@Jookie262
Jookie262 / FinalBoss.md
Last active September 30, 2021 05:00
Personal idea of algorithm for a game that can be won by defeating the final level’s boss.

Defeat the Final Boss

Problem: Create an algorithm for a game that can be won by defeating the final level's boss.


Understanding and Questions in the Problem:

  • The given problem is too general. We don't know if our solution is right.
@Jookie262
Jookie262 / rename_video.py
Created March 23, 2021 06:47
Renaming video easily using Python (especially for any series video like anime)
# Created by Jookie262
# Importing libraries needed for renaming the video
import os
# Location of the folder with videos
location_video = 'C:/Users/Jolou/Videos/Anime/New Anime/Black Clover/'
# counter variable
num_video_saved = 1