Search results

  1. fukurou

    👨‍💻 dev automata

    def greet(): print("Hello!") def farewell(): print("Goodbye!") def add(a, b): print(a + b) # Dictionary mapping int → function actions = { 1: greet, 2: farewell, 3: lambda: add(5, 7), # using a lambda wrapper } # Using the dictionary actions[1]() # calls greet()...
  2. fukurou

    🐍 python once per hour

    from datetime import datetime class EveningGate: def __init__(self): self._triggered_today = False self._current_day = None def trigger(self): now = datetime.now() today = now.date() if self._current_day != today...
  3. fukurou

    AlgRelay

    class AlgRelay: def __init__(self): super().__init__() self.dic: dict[str, int] = {} # code 1: next mode # code 2: goal achieved # code 3: error/failure # code 4: empty str # code 5: any other str def add_next_mode(self, *keys: str) -> None: for key in keys...
  4. fukurou

    power rangers battle for the greed combos

    grn ranger: ## 🟢 Green Ranger – Simple, Real Combos (Switch Buttons Only) ### 🔹 **Basic Combo (works from almost any hit)** - **Y → X → A → B** - Dash (**Y+X**) - **X → Down+X → Down+A** - Jump → **Y → X → A** - End with **B** or **A+B** --- ### 🔹 **Mid‑Range Fireball Confirm** - **B** -...
  5. fukurou

    👨‍💻 dev soul killer

    # create_hello_file.py code = """ class HelloWorld: def hello(self): print("Hello, world!") """ with open("hello_world.py", "w") as f: f.write(code) print("hello_world.py created!")
  6. fukurou

    unitree walkthroughs

    ## 🟦 1. Connect your laptop to the robot over Wi‑Fi This part is easy: - Turn on the robot. - On the robot’s screen, find the **Wi‑Fi settings**. - Connect the robot to your home Wi‑Fi (or hotspot). - On your laptop, connect to the **same Wi‑Fi network**. Now both devices are on the same...
  7. fukurou

    railpunk digivolution

    import time def hourly(): h = time.localtime().tm_hour if hourly.last != h: hourly.last = h return True return False hourly.last = None
  8. fukurou

    weightedREsponder upgrade

    def shuffle(self) -> None: """Randomly shuffle the order of responses while preserving the list.""" import random random.shuffle(self.responses)
  9. fukurou

    👨‍💻 dev SkillSupreme

    import re def extract_skills(text: str) -> list[str]: return re.findall(r"\bDi[A-Z][a-zA-Z]*\b", text)
  10. fukurou

    workout skill

    class DiWorkOut(Skill): def __init__(self): super().__init__() self.last_date = "" self.xp_farmed:int = 0 self.accumulation:int = 0 self.max_rest_days: int = 2 self.credit: int = 0 # tolerance for fun activity @staticmethod def...
  11. fukurou

    railpunk funcs

    replacer mapper for ports, translations def word_diff(str1, str2): w1 = str1.split() w2 = str2.split() limit = min(len(w1), len(w2)) diffs = [] for i in range(limit): if w1[i] != w2[i]: diffs.append((w1[i], w2[i])) return diffs
  12. fukurou

    👨‍💻 dev legend of fudge extractor

    import re def make_extractor(pattern_str): # Escape the whole string so regex metacharacters don’t break it escaped = re.escape(pattern_str) # Replace the escaped 'fudge' with a capture group regex_str = escaped.replace(r"fudge", r"(.*)") return re.compile(regex_str) s =...
  13. fukurou

    jizzbox snippet storer

    import re text = "code xx yy ok zz" # extract "xx yy" m1 = re.search(r"code\s+(.*?)\s+ok", text) v1 = m1.group(1) if m1 else None # extract "zz" m2 = re.search(r"ok\s+(.*)$", text) v2 = m2.group(1) if m2 else None print(v1) # xx yy print(v2) # zz
  14. fukurou

    snippet summoner

    class SnippetSummonerStr: # funnels strings into lookup keys def __init__(self): self.incantations: set[str] = set() self.exclusions: set[str] = set() def getSummonerStr(self, str1:str)->str: # check for summon incantation in str start for item in...
  15. fukurou

    office libre on win 11

  16. fukurou

    👨‍💻 dev once per day module

    import datetime class TimeOfDayGreeting(Skill): def __init__(self): super().__init__() self.replied_today = False self.last_reply_date = None # Override def input(self, ear: str, skin: str, eye: str): # Check if it's a new day today =...
  17. fukurou

    SQLite spluger

    import sqlite3 from pathlib import Path class AbsDictionaryDB: def save(self, key: str, value: str): """Returns action string""" pass def load(self, key: str) -> str: return "null" class SQLiteDictionaryDB(AbsDictionaryDB): def __init__(self, db_path: str...
  18. fukurou

    👨‍💻 dev super alg genner jizzer

    class EmptyStringTracker: def __init__(self, N): self.N = N self.counter = 0 self.triggered = False def check(self, str1: str) -> bool: if str1 == "": # Only increment until N if self.counter < self.N: self.counter...
  19. fukurou

    onedrive

Top