Search results

  1. fukurou

    👨‍💻 dev Chrome compressor

    class Tokenizer: exclusions: set[str] = { "i", "me", "my", "mine", "you", "your", "yours", "am", "are", "was", "were", "have", "has", "do", "did", "is", "this", "that", "those" } @staticmethod def clean_text(text: str) -> str: """Remove exclusion...
  2. fukurou

    👨‍💻 dev Chrome compressor

    class KeysFunnel(PopulatorFunc): def __init__(self): super().__init__() self.regex = "funnel" self.context = "standby" self.exclusions: set[str] = {"i", "me", "my", "mine", "you", "your", "yours", "am", "are", "was", "were"...
  3. fukurou

    jizzbox snippet storer

    class SnippetStore(PopulatorFunc): def __init__(self): super().__init__() self.regex = "snippet" self.exclusions: set[str] = set() def populate(self, railbot: RailChatBot, str1: str): keyword = "code" pattern = rf"{keyword}\s+(.*?)\s+ok\s+(.*)"...
  4. fukurou

    jizzbox snippet storer

    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...
  5. fukurou

    jizzbox snippet storer

    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...
  6. fukurou

    jizzbox snippet storer

    import re text = "code xx yy ok zz" keyword = "code" pattern = rf"{keyword}\s+(.*?)\s+ok\s+(.*)" v1, v2 = re.fullmatch(pattern, text).groups() print(v1) # xx yy print(v2) # zz
  7. fukurou

    jizzbox snippet storer

    v2: import re text = "code xx yy ok zz" # Strict full‑structure match v1, v2 = re.fullmatch(r"code\s+(.*?)\s+ok\s+(.*)", text).groups() print(v1) # xx yy print(v2) # zz
  8. 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
  9. 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...
  10. fukurou

    office libre on win 11

  11. fukurou

    👨‍💻 dev once per day module

    class OncePerDayGate: def __init__(self): self.triggerable = True def reset(self): self.triggerable = True def check(self, event_happened: bool) -> bool: if self.triggerable and event_happened: self.triggerable = False return True...
  12. fukurou

    👨‍💻 dev once per day module

    import schedule # in terminal: pip install schedule import time class Greeter: def __init__(self): self.count = 0 self.job = schedule.every(5).seconds.do(self.say_hello) self.active = True def say_hello(self): self.count += 1 print(f"Hello...
  13. 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 =...
  14. fukurou

    Advanced convo builder

    def respondLatest(self, ear): if ear not in self.dic: return "" # Assuming RefreshQ.peek() or similar gets top of stack return self.dic[ear].peek() or "" railbot beefup
  15. fukurou

    Advanced convo builder

    import re from typing import override from LivinGrimoirePacket.AXPython import RailChatBot class PopulatorFunc: def __init__(self): self.regex = "" def populate(self, railbot: RailChatBot, str1: str): _ = self _ = railbot _ = str1 class...
  16. fukurou

    Advanced convo builder

    import re from typing import override from LivinGrimoirePacket.AXPython import RailChatBot class PopulatorFunc: def __init__(self): self.regex = "" def populate(self, railbot: RailChatBot, str1: str): _ = self _ = railbot _ = str1 class...
  17. fukurou

    [MEDIA]

  18. fukurou

    👨‍💻 dev Skill tree dev

    class Shinka(Skill): def __init__(self, base_skill:Skill): super().__init__() self.upgrades: list["Shinka"] = [] self.active_upgrade = -1 self.base_skill = base_skill def input(self, ear: str, skin: str, eye: str): for i in range(len(self.upgrades)): self.upgrades[i].input(ear, skin...
  19. fukurou

    👨‍💻 dev Skill tree dev

    now I shall shit!
  20. fukurou

    👨‍💻 dev Skill tree dev

    @owly get over here! we need extra dark coding force for this shit in the ass man! kuchiyouse no jutsu!
Top