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).

!7

static O html(S uri, SS params) {
  S q = params.get("q");
  S answer = askSelf(q);
  new Matches m;
  answer = trim(answer);
  if (swic(answer, "lookie here:"))
    ret call(getMainBot(), "serveRedirect", dropPrefixICTrim("lookie here:", answer));
  ret call(getMainBot(), "serve404");
}

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: 646 / 3831
Version history: 1 change(s)
Referenced in: