Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1023673 // agi.blue first bot v2 (move random "robots.txt" page to the robots.txt slice, sign post)

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (6748L/37K).

1  
!7
2  
3  
cmodule AgiBlueFirstBot > DynSingleFunctionWithPrintLog {
4  
  transient PKIKeyPair keys;
5  
  
6  
  start { keys = keyPairForProgram(); }
7  
  
8  
  void doIt {
9  
    Map map = optCastTo Map(print(loadJSONPage("http://agi.blue/bot/randompagecontaining?q=robots.txt")));
10  
    if (map == null) ret;
11  
    
12  
    print(postJSONPage("http://agi.blue/bot/postSigned",
13  
      text := pki_signTextIncludingKey(
14  
        jsonEncode(litorderedmap(url := getString url(map), key := "move to", value := "the robot slice")), keys)));
15  
  }
16  
}

Author comment

Began life as a copy of #1023669

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023673
Snippet name: agi.blue first bot v2 (move random "robots.txt" page to the robots.txt slice, sign post)
Eternal ID of this version: #1023673/4
Text MD5: 535184f513e99753167a16c7f188af06
Transpilation MD5: dac34c32625a3b3bc2ae1069d3d9dca0
Author: stefan
Category: javax / agi.blue
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 17:36:56
Source code size: 523 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 223 / 338
Version history: 3 change(s)
Referenced in: [show references]