Search results

  1. fukurou

    xcode gif

  2. fukurou

    codes

    *variables* var age = 0 // implicit var declaration var isCompleted:Bool = false // explicit var declaration let num:Int = 2 // const takes less space than var *strings* var str1:String = "1+4 = \(1+4)" // "1+4 = 5" *classes* class MyClass:SomeSuperClass{ var myProperty:Int override init(){...
  3. fukurou

    nintendo switch redout 2 how to drift hard solved

    use left stick to steer left or right and right stick pointed up and (left or right) to drift tight corners
  4. fukurou

    💰moneymaxing bonds

  5. fukurou

    💰moneymaxing investing in commodities

  6. fukurou

    🐦swift LivinGrimoire swift version added

    so yeah there is also a swift version of the living grimoire Artificial General Intelligence software design pattern it took much less time to translate than I had thought, about 1 month, well if you don't count the time it took to learn swift. swift is very much similar to python syntax wise...
  7. fukurou

    LivinGrimoire swift version added

    so yeah there is also a swift version of the living grimoire Artificial General Intelligence software design pattern it took much less time to translate than I had thought, about 1 month, well if you don't count the time it took to learn swift. swift is very much similar to python syntax wise...
  8. fukurou

    🎮gaming gaming setups

  9. fukurou

    arcade hori joy con for nintendo switch

    @ZORO
  10. fukurou

    regex example

    func extractEmailAddrIn(text: String) -> [String] { var results = [String]() let emailRegex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,6}" let nsText = text as NSString do { let regExp = try NSRegularExpression(pattern: emailRegex, options: .caseInsensitive)...
  11. fukurou

    get future / past time

    func getFutureInXMin(extra_minutes: Int) -> String { // '''This method returns the date in x minutes''' if extra_minutes > 1440 {return "hmm"} let nowSum = getHoursAsInt()*60 + getMinutesAsInt() var dif = nowSum + extra_minutes if dif > 1440...
  12. fukurou

    remaining issues

    let playGround = PlayGround() print(playGround.getCurrentTimeStamp()) // at 6:09 the output was 6:9, it should be 6:09 print(playGround.getFutureInXMin(extra_minutes: 60)) // shows minutes + 60 instead of the time in 60 minutes print("getPastInXMin") print(playGround.getPastInXMin(less_minutes...
  13. fukurou

    errors / issues

    //playground class test let playGround = PlayGround() print(playGround.getCurrentTimeStamp()) print(playGround.getSpecificTime(time_variable: enumTimes.day)) print(playGround.getMonthAsInt()) print(playGround.getHoursAsInt()) print(playGround.getFutureInXMin(extra_minutes: 10)) // errors when...
  14. fukurou

    🐍 python regex util class

    ''' REGEXUTIL CLASS''' # returns expression of type theRegex from the string str2Check class RegexUtil: def regexChecker(self, theRegex: str, str2Check: str) -> str: regexMatcher = re.search(theRegex, str2Check) if (regexMatcher != None): return...
  15. fukurou

    🐍 python playground class

    # the PlayGround cls is not a core class but very useful class enumTimes(Enum): DATE = auto() DAY = auto() YEAR = auto() HOUR = auto() MINUTES = auto() SECONDS = auto() class PlayGround: def __init__(self): self.week_days = {1: 'sunday'...
  16. fukurou

    current progress LG python to swift

    // // LivinGrimoire.swift // LivinGrimoireSwiftV1 // // Created by fuki barski on 21/06/2022. // import Foundation class AbsDictionaryDB{ func save(key:String, value: String){ // save to DB (override me) } func load(key:String)->String{ // override me...
  17. fukurou

    🏕️offgrid in comfort

  18. fukurou

    🎮gaming nintendo switch megathread

    transfer user from old to new switch
  19. fukurou

    rumour booster redout 2

  20. fukurou

    🐦swift Left side of mutating operator isn't mutable: 'self' is immutable

    struct Person { // define two properties var name = "" var age = 0 func birthday(){ age += 1 } } // create instance of Person var person1 = Person() birthday attempts to change the struct from within the struct so you need to add the prefix mutating : struct Person {...
Top