Libraryless. Click here for Pure Java version (1201L/9K/27K).
1 | !747 |
2 | !1000805 // awt |
3 | !image classes |
4 | |
5 | m { |
6 | !include #1001425 // ShowBigText |
7 | |
8 | p { |
9 | new ShowBigText sbt; |
10 | sbt.title = "OS Sensor"; |
11 | sbt.showText(getOS() + "!"); |
12 | } |
13 | |
14 | static S getOS() { |
15 | if (isAndroid()) ret "Android"; |
16 | if (isMac()) ret "Mac OS"; |
17 | if (isWindows()) ret "Windows"; |
18 | ret "Linux"; // Everything else is Linux... Yeah it's generous :) |
19 | } |
20 | } |
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001464 |
Snippet name: | OS Sensor |
Eternal ID of this version: | #1001464/1 |
Text MD5: | 2b63b60b11f1b166f651434d47da23a5 |
Transpilation MD5: | c8725f136f95eb600e1b87710ffea4ba |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-17 02:07:21 |
Source code size: | 397 bytes / 20 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 605 / 843 |
Referenced in: | [show references] |