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

15
LINES

< > BotCompany Repo | #1001856 // signJavaWithComputerID

JavaX fragment (include)

1  
!636
2  
3  
  !include #1001548 // PKI
4  
  !1001045 // double class remover
5  
  !629 // standard functions
6  
  
7  
  // appends two comment lines with computer id and signature
8  
  static S signJavaWithComputerID(S s) {
9  
    S computerID = getComputerID();
10  
    s = rtrim(s) + "\n" + "// -" + computerID();
11  
    s = fromLines(toLines(s));
12  
    S signature = s + "// sig: " + getMySignatureForText(s);
13  
    signature = fromLines(toLines(signature));
14  
    ret signature;
15  
  }

Author comment

Began life as a copy of #1001566

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: #1001856
Snippet name: signJavaWithComputerID
Eternal ID of this version: #1001856/1
Text MD5: 37bbd0c69199bddcadce44f1210aaf81
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-27 20:17:55
Source code size: 465 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 605 / 851
Referenced in: [show references]