Search results

  1. fukurou

    jizzzzzzzzzzzzzzzzz! 5 layer port jutsu!

    public void addResponse(String s1) { if (responses.contains(s1)) { responses.remove(s1); responses.add(s1); return; } if (responses.size() > lim - 1) { responses.remove(0); } else { urg = new UniqueRandomGenerator(responses.size() + 1)...
  2. fukurou

    elkfjoksdjflksdjfinDS

    class UniqueRandomGenerator: def __init__(self, n1: int): self.n1 = n1 self.numbers = list(range(n1)) self.remaining_numbers = [] # Declare here to avoid the error self.reset() def reset(self): self.remaining_numbers = self.numbers.copy()...
  3. fukurou

    rail port solid shit inDS

    vb.net: Public Class QuestionChecker Private Shared ReadOnly QUESTION_WORDS As HashSet(Of String) = New HashSet(Of String) From { "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should"...
  4. fukurou

    👨‍💻 dev DiPerChance

    def find_contained_substring(target: str, substrings: list[str]) -> str: """ Find the first substring contained in the target string. :param target: The string to search within. :param substrings: A list of substrings to search for. :return: The first substring found in the...
  5. fukurou

    jizzers creepers look what I got

    import os # Delay time in seconds (e.g., 60 seconds = 1 minute) delay_time = 60 # Shutdown command with delay os.system(f"shutdown /s /t {delay_time}")
  6. fukurou

    contact silojizms

    - "Pomni has the code 1234." - "The code that belongs to Pomni is 1234." - "Pomni owns the code 1234." - "The code for Pomni is 1234."
  7. fukurou

    👨‍💻 dev Eliza swift port

    class LimUniqueResponder { private var responses: [String] = [] private var urg: UniqueRandomGenerator private let lim: Int // Constructor init(lim: Int) { self.lim = lim self.urg = UniqueRandomGenerator(range: 0) } // Method to get a response...
  8. fukurou

    Eliza C# port

    public class LimUniqueResponder { private List<string> responses; private UniqueRandomGenerator urg = new UniqueRandomGenerator(0); private readonly int lim; // Constructor public LimUniqueResponder(int lim) { responses = new List<string>(); this.lim =...
  9. fukurou

    eliza port vb.aSS

    Public Class LimUniqueResponder Private responses As List(Of String) Private urg As UniqueRandomGenerator = New UniqueRandomGenerator(0) Private ReadOnly lim As Integer ' Constructor Public Sub New(lim As Integer) responses = New List(Of String)() Me.lim =...
  10. fukurou

    Eliza ports

    class LimUniqueResponder: def __init__(self, lim: int): self.responses: List[str] = [] self.lim = lim self.urg = UniqueRandomGenerator(0) def get_a_response(self) -> str: if not self.responses: return "" return...
  11. fukurou

    skill branch upgrade

    vb.net Public Class AXLearnability Private algSent As Boolean = False ' Problems that may result because of the last deployed algorithm: Public defcons As HashSet(Of String) = New HashSet(Of String)() ' Major chaotic problems that may result because of the last deployed...
  12. fukurou

    ass shit

    // Service Interface public interface MyService { void execute(); } // Service Implementation public class MyServiceImpl implements MyService { public void execute() { System.out.println("Executing service..."); } } // Service Locator public class ServiceLocator {...
  13. fukurou

    c district

    import random # Initialize scores player_score = 0 opponent_score = 0 # Choices for the game choices = ["rock", "paper", "scissors"] def check_win(player_choice, opponent_choice): """ Determines if the player wins against the opponent. Returns True if the player wins, False...
  14. fukurou

    👨‍💻 dev yoga skill

    class DiYoga(Skill): def __init__(self): super().__init__() self.UResponder: UniqueResponder = UniqueResponder() self.UResponder.addResponse("frog pose") self.UResponder.addResponse("butterfly pose") self.chat: EventChat = EventChat(self.UResponder...
  15. fukurou

    To open a .png file in Python

    pip install pillow from PIL import Image # Open an image file image = Image.open('path/to/your/image.png') # Display the image image.show()
  16. fukurou

    jizzm.JS

    livingrimoire.js // livingrimoire.js class AbsDictionaryDB { save(key, value) { // Save to DB (override me) } load(key) { // Override me return "null"; } } class Mutatable { constructor() { this.algKillSwitch = false; } // Abstract...
  17. fukurou

    deepseek API

    import requests def deepseek_chat(api_key, user_message): url = "https://api.deepseek.com/chat/completions" headers = { "Content-Type": "application/json", "Authorization": f"Bearer {api_key}" } data = { "model": "deepseek-chat", "messages": [...
  18. fukurou

    stand by mode dev

    class AXStandBy: def __init__(self, pause: int): self._tg:TimeGate = TimeGate(pause) def standBy(self, ear: str) -> bool: # only returns true after pause minutes of no input if len(ear) > 0: # restart count self._tg.openForPauseMinutes()...
  19. fukurou

    DiSpiderSense

    import java.util.Scanner; public class SpiderSenseDemo { public static void main(String[] args) { SpiderSense spiderSense = new SpiderSense(); Scanner scanner = new Scanner(System.in); while (true) { System.out.print("Enter an event: ")...
  20. fukurou

    👨‍💻 dev diinsulted

    def count_occurrences(lst, element): return lst.count(element) # Example usage: my_list = [1, 2, 3, 2, 4, 2, 5] element_to_count = 2 count = count_occurrences(my_list, element_to_count) print(f"The element {element_to_count} appears {count} times in the list.")
Top