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

11
LINES

< > BotCompany Repo | #1004435 // Direct Image Bot

JavaX source code [tags: butter use-pretranspiled] - run with: x30.jar - homepage

Libraryless. Click here for Pure Java version (2822L/19K/63K).

1  
!7
2  
3  
static O html(S uri, SS params) {
4  
  S q = params.get("q");
5  
  S answer = askSelf(q);
6  
  new Matches m;
7  
  answer = trim(answer);
8  
  if (swic(answer, "lookie here:"))
9  
    ret call(getMainBot(), "serveRedirect", dropPrefixICTrim("lookie here:", answer));
10  
  ret call(getMainBot(), "serve404");
11  
}

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: #1004435
Snippet name: Direct Image Bot
Eternal ID of this version: #1004435/2
Text MD5: 193bbcff28732f6461a83b8878539273
Transpilation MD5: a87f81a130f2a594d5040a19aa2d5489
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-09 13:31:05
Source code size: 302 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 513 / 3660
Version history: 1 change(s)
Referenced in: [show references]