// standard function adder, auto importer !595 592 public class main { public static void main(String[] args) throws Exception { print "Translator starting" String s = loadMainJava(); String code = loadSnippet("#597"); Matcher matcher = Pattern.compile("\\d+").matcher(s); if (matcher.find()) code = code.replaceAll("port = \\d+", "port = " + matcher.group()); saveMainJava(code); print "Translator done" } }
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, kajysqoxcvfe, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
746 | #1000610 (pitcher) | 2015-08-18 00:07:07 | |
745 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
Snippet ID: | #598 |
Snippet name: | Stub HTTP server from shortcut (translator, shortened) |
Eternal ID of this version: | #598/1 |
Text MD5: | daa5c76b45fc0e2378990d450d9ce59a |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-04-30 17:21:19 |
Source code size: | 461 bytes / 15 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 1193 / 1208 |
Referenced in: | [show references] |