Search results

  1. fukurou

    👨‍💻 dev DiMisser

    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()...
  2. fukurou

    👨‍💻 dev DiMisser

    import LivinGrimoire.PlayGround; import java.util.Random; 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 int minutes; // minute interval between...
  3. fukurou

    👨‍💻 dev DiMisser

  4. fukurou

    👨‍💻 dev DiMisser

    // counter <>0 : not home yet I'm home: cron.initTime(10 minutes ago) // counter = 0 "welcome home" if cron.Trg(): switch(cron.getCounter)
  5. fukurou

    [MEDIA]

  6. fukurou

    [MEDIA]

  7. fukurou

    [MEDIA]

  8. fukurou

    Raspberri Pi and Arduino

    install Arduino IDE on the Raspberry Pi open web browser on the Pi and type Arduino IDE Arduino IDE, https://www.arduino.cc/en/software, check your OS: terminal-> uname -m armv7l = arm 32 bit OS x 86 64 = 64 bit OS chose the corresponding download. terminal: cd Downloads/ ls // extract: tar...
  9. fukurou

    Cron java->swift

    class Cron:TrGEV3{ // triggers true, limit times, after initial time, and every minutes interval // counter resets at initial time, assuming trigger method was run private var minutes:Int // minute interval between triggerings private let pl:PlayGround = PlayGround() private...
  10. fukurou

    Cron java->swift

    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 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 = ""...
  12. 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...
  13. 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 = ""...
  14. 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){...
  15. 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) { //...
  16. 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")...
  17. 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")...
  18. fukurou

    [MEDIA]

  19. 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()...
  20. 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...
Top