Search results

  1. 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){...
  2. 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) { //...
  3. 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")...
  4. 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")...
  5. fukurou

    [MEDIA]

  6. 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()...
  7. 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...
  8. 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...
  9. 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()...
  10. fukurou

    cron job java->python

  11. 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")...
  12. 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")...
  13. 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...
  14. fukurou

    cron job java->python

  15. 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...
  16. 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...
  17. 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)...
  18. fukurou

    Raspberri Pi and Arduino

    change Pi wifi settings assuming your computer now uses a different wifi network than the one in thePi settings. power off the Pi, connect the SD card to your computer. the SD card should have the name boot. add a new file to config the wifi: new text document, wpa_supplicant.conf file...
  19. fukurou

    Raspberri Pi and Arduino

    VNC it enables work with the Pi after SSH connection has been established from the computer. on terminal after ssh pi@ip_address // if you need to exit the SSH connection use the command exit sudo raspi-config choose interface options, VNC, would you like VNC to be enabled?, yes finish. back...
  20. fukurou

    Raspberri Pi and Arduino

    connecting to the Pi via SSH use mac terminal or cmd on windows to SSH or puTTy on windows: Download PuTTY - a free SSH and telnet client for Windows ssh user_name(specified on the SD card flash stage by you)@IPaddress found by angry IP scanner ssh [email protected] press enter. yes. enter...
Top