Libraryless. Click here for Pure Java version (7705L/52K/170K).
!7 p { for (AIConcept c : values(aiConceptsMap_cached())) pcall { if (c.pngFile.has()) { BufferedImage img = c.pngFile->getImage(); if (img != null) { S text = c.globalID + " - " + c.name + (nempty(c.comment) ? " / " + c.comment : ""); print("Uploading " + text); uploadToImageServerIfNotThere(img, text); } } } print("Done image upload."); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007516 |
Snippet name: | Upload All AI Concept Images |
Eternal ID of this version: | #1007516/3 |
Text MD5: | a4229e848fb27d79cfd19a6d86162bce |
Transpilation MD5: | 79485706acfe7b652447ce9e1b7410e1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-25 22:36:40 |
Source code size: | 414 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 601 |
Version history: | 2 change(s) |
Referenced in: | -