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

14
LINES

< > BotCompany Repo | #1007782 // Find latest drawing [web bot, dev.]

JavaX source code (desktop) [tags: archive use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (901L/6K).

!7

html {
  new StringBuilder buf;
  O imageServer = getBot(#1004590);
  L metas = cast call(get(imageServer, "mainConcepts"), "list", "ImageMeta");
  metas = [O meta : metas | startsWithIC(getString(meta, "name"), "Drawing ")];
  metas = sortedByFieldDesc(metas, "created");
  for (O meta : metas) {
    S md5 = getString(meta, "md5");
    buf.append(p(himg(imageServerJPEGLink(md5))) + "\n");
  }
  ret buf;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): cfunsshuasjs, mqqgnosmbjvj

No comments. add comment

-
Snippet ID: #1007782
Snippet name: Find latest drawing [web bot, dev.]
Eternal ID of this version: #1007782/4
Text MD5: 784d24f5b09af1bd5c7829db3f3086c6
Transpilation MD5: 7927315f1660ca3b3fab7696fc0263a1
Author: stefan
Category: javax / a.i. / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): Yes
Created/modified: 2017-04-06 13:43:34
Source code size: 425 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 608 / 1045
Version history: 3 change(s)
Referenced in: