Search results

  1. fukurou

    Cron java->swift

    class TrgEveryNMinutes:TrGEV3{ // trigger returns true every minutes interval, post start time private var minutes:Int // minute interval between triggerings private let pl:PlayGround = PlayGround() private var trgTime:TrgTime private var timeStamp:String = ""...
  2. fukurou

    Cron java->swift

    class TrgTime{ var t:String = "null" let regexUtil:RegexUtil = RegexUtil() var pl:PlayGround = PlayGround() private var alarm:Bool = true func setTime(v1:String){ t = regexUtil.regexChecker(theRegex: enumRegexGrimoire.simpleTimeStamp, str2Check: v1) } func...
  3. fukurou

    Cron java->swift

    public class TrgEveryNMinutes extends TrGEV3{ // trigger returns true every minutes interval, post start time private int minutes; // minute interval between triggerings private PlayGround pl = new PlayGround(); private TrgTime trgTime; private String timeStamp = ""...
  4. fukurou

    Cron java->swift

    class TimeAccumulator{ // accumulator ++ each tick minutes interval private let timeGate:TimeGate private var accumulator:Int = 0 init(tick:Int) { // accumulation ticker timeGate = TimeGate(pause: tick) timeGate.openGate() } func setTick(tick:Int){...
  5. fukurou

    Cron java->swift

    public class TimeAccumulator { // accumulator ++ each tick minutes interval private TimeGate timeGate = new TimeGate(5); private int accumulator = 0; public void setTick(int tick) { timeGate.setPause(tick); } public TimeAccumulator(int tick) { //...
  6. fukurou

    Cron java->swift

    class Responder1Word{ // learns 1 word inputs // outputs learned recent words var q:UniqueItemsPriorityQue = UniqueItemsPriorityQue() init() { self.q.input(in1: "chi") self.q.input(in1: "gugu") self.q.input(in1: "gaga") self.q.input(in1: "baby")...
  7. fukurou

    Cron java->swift

    public class Responder1Word { // learns 1 word inputs // outputs learned recent words UniqueItemSizeLimitedPriorityQueue q= new UniqueItemSizeLimitedPriorityQueue(); public Responder1Word() { q.add("chi"); q.add("gaga"); q.add("gugu")...
  8. fukurou

    [MEDIA]

  9. fukurou

    cron job java->python

    class Cron(TrGEV3): # triggers true, limit times, after initial time, and every minutes interval # counter resets at initial time, assuming trigger method was run def __init__(self, startTime: str, minutes: int, limit:int): self._playGround: PlayGround = PlayGround()...
  10. fukurou

    cron job java->python

    public class Cron extends TrGEV3{ // triggers true, limit times, after initial time, and every minutes interval // counter resets at initial time, assuming trigger method was run private PlayGround playGround = new PlayGround(); int minutes; // minute interval between triggerings...
  11. fukurou

    cron job java->python

    class TrgEveryNMinutes(TrGEV3): # trigger returns true every minutes interval, post start time def __init__(self, startTime: str, minutes: str): self._playGround: PlayGround = PlayGround() self._minutes = minutes # minute interval between triggerings...
  12. fukurou

    cron job java->python

    python LGcore update: def getFutureInXMin(self, extra_minutes: int) -> str: '''This method returns the date in x minutes''' right_now = datetime.datetime.now() final_time = right_now + datetime.timedelta(minutes=extra_minutes) regex: RegexUtil = RegexUtil()...
  13. fukurou

    cron job java->python

  14. fukurou

    cron job java->python

    class Responder1Word: # learns 1 word input # outputs learned recent words def __init__(self): self.q: UniqueItemSizeLimitedPriorityQueue = UniqueItemSizeLimitedPriorityQueue(5) self.q.insert("chi") self.q.insert("gaga") self.q.insert("gugu")...
  15. fukurou

    cron job java->python

    public class Responder1Word { // learns 1 word inputs // outputs learned recent words UniqueItemSizeLimitedPriorityQueue q= new UniqueItemSizeLimitedPriorityQueue(); public Responder1Word() { q.add("chi"); q.add("gaga"); q.add("gugu")...
  16. fukurou

    cron job java->python

    from __future__ import annotations from LivinGrimoireCoreV2 import * class TimeAccumulator: # accumulator ++ each tick minutes interval def __init__(self, tick: int): # accumulation ticker self._timeGate: TimeGate = TimeGate(tick) self._accumulator: int = 0...
  17. fukurou

    cron job java->python

  18. fukurou

    cron job dev!

    package AXJava; import LivinGrimoire.PlayGround; import java.util.Random; public class Cron extends TrGEV3{ // trigger true limit times, after initial time, and every minutes interval private PlayGround playGround = new PlayGround(); int minutes; // minute interval between...
  19. fukurou

    cron job dev!

    import LivinGrimoire.PlayGround; import java.util.Random; public class TrgEveryNMinutes extends TrGEV3{ // trigger true at minute once per hour private PlayGround playGround = new PlayGround(); int minutes; // minute interval between triggerings private PlayGround pl = new...
  20. fukurou

    👨‍💻 dev new attention seeker skill

    from __future__ import annotations from LivinGrimoireCoreV2 import * class TimeAccumulator: def __init__(self, tick: int): self._timeGate: TimeGate = TimeGate(tick) self._accumulator: int = 0 self._timeGate.openForPauseMinutes() def setTick(self, tick: int)...
Top