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

9
LINES

< > BotCompany Repo | #1001566 // signWithComputerID

JavaX fragment (include)

1  
// appends a new line with computer id and signature
2  
static S signWithComputerID(S s) {
3  
  S computerID = getComputerID();
4  
  s = rtrim(s) + "\n\n" + "-" + computerID();
5  
  s = fromLines(toLines(s));
6  
  S siged= s + "sig: " + getMySignatureForText(s);
7  
  signed = fromLines(toLines(signed));
8  
  ret signed;
9  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001566
Snippet name: signWithComputerID
Eternal ID of this version: #1001566/2
Text MD5: 390fcc5c6e28877ceb9898799aafefaf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-14 00:49:04
Source code size: 312 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 752 / 980
Version history: 1 change(s)
Referenced in: [show references]