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

20
LINES

< > BotCompany Repo | #1001154 // getServerTranspiled

JavaX fragment (include)

static String getServerTranspiled(S snippetID) {
  ret getServerTranspiled(snippetID, null);
}

sbool getServerTranspiled_printStackTrace;

// returns "SAME" if md5 matches
static String getServerTranspiled(S snippetID, S expectedMD5) ctex {
  if (getServerTranspiled_printStackTrace) printStackTrace();
  long id = parseSnippetID(snippetID);
  /*S t = getTranspilationFromBossBot(id);
  if (t != null) return t;*/
  
  S text = loadPage_utf8(tb_mainServer() + "/tb-int/get-transpiled.php?raw=1&withlibs=1&id=" + id + "&utf8=1"
    + (l(expectedMD5) > 1 ? "&md5=" + urlencode(expectedMD5) : "")
    + standardCredentials());
  if (nempty(text) && neq(text, "SAME"))
    saveTranspiledCode(snippetID, text);
  ret text;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001154
Snippet name: getServerTranspiled
Eternal ID of this version: #1001154/3
Text MD5: c814ad428201f0f4edc380710ecaa31b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-18 18:11:13
Source code size: 739 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 720 / 1390
Version history: 2 change(s)
Referenced in: [show references]