1 | // appends a new line with computer id and user signature |
2 | static S signWithUserID(S s) { |
3 | S computerID = getComputerID(); |
4 | s = rtrim(s) + "\n\n" + "-" + computerID() + " [user]"; |
5 | s = fromLines(toLines(s)); |
6 | S signature = s + "sig: " + getUserSignatureForText(s); |
7 | signature = fromLines(toLines(signature)); |
8 | ret signature; |
9 | } |
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: | 506 / 526 |
Referenced in: | [show references] |