Libraryless. Click here for Pure Java version (687L/5K/17K).
!752 p { int days = args.length != 0 ? parseInt(args[0]) : 30; saveTextFile(getProgramFile("#1001638", "temp-file-retention-time"), str(days*24)); print("Retention time set to " + n(days, "day") + "!"); }
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: | #1004523 |
Snippet name: | Set temp file retention time |
Eternal ID of this version: | #1004523/1 |
Text MD5: | 1b3629cbbd5708ec35f35234c3a5b4c3 |
Transpilation MD5: | 75bbb31818abb8055837531e06ce55d1 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-19 16:04:06 |
Source code size: | 225 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 554 / 570 |
Referenced in: | [show references] |