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

9
LINES

< > BotCompany Repo | #1004858 // signWithUserID - privileged function!! Only if user actually said something.

JavaX fragment (include)

// appends a new line with computer id and user signature
static S signWithUserID(S s) {
  S computerID = getComputerID();
  s = rtrim(s) + "\n\n" + "-" + computerID() + " [user]";
  s = fromLines(toLines(s));
  S signature = s + "sig: " + getUserSignatureForText(s);
  signature = fromLines(toLines(signature));
  ret signature;
}

Author comment

Began life as a copy of #1001566

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: #1004858
Snippet name: signWithUserID - privileged function!! Only if user actually said something.
Eternal ID of this version: #1004858/1
Text MD5: 6be439cb62a278c037fb652bd81039ff
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-06 19:05:44
Source code size: 341 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 505 / 525
Referenced in: [show references]