Uses 107K of libraries. Click here for Pure Java version (5139L/34K).
!7 sclass NumberOfMics > DynBigNumber { void start { doEveryAndNow(60.0, r actualUpdate); } void actualUpdate { temp enter(); time "arecord -l" { S text = apacheCommonsExec_backtick("arecord -l"); } //printIndent(text); setValue(or(regexpFirstGroup_lastMatch("\\bcard (\\d+):", text), "?")); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016814 |
| Snippet name: | Number of microphones [Dyn Module, Linux] |
| Eternal ID of this version: | #1016814/8 |
| Text MD5: | babdc03e9a6ebfe166414a0687adbfaa |
| Transpilation MD5: | 1108a0ae62977d0fdbc97037ef413a97 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-03 14:25:38 |
| Source code size: | 352 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 773 / 1045 |
| Version history: | 7 change(s) |
| Referenced in: | -