Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1026956 // isRaspberryPi

JavaX fragment (include)

1  
static cached bool isRaspberryPi() {
2  
  ret isLinux() && cic(loadTextFile("/proc/cpuinfo"), "raspberry pi");
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026956
Snippet name: isRaspberryPi
Eternal ID of this version: #1026956/2
Text MD5: a96c2f1d1c1e4ad53561bcb0da809afa
Author: stefan
Category: javax / system
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-03 18:06:16
Source code size: 111 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 254 / 265
Version history: 1 change(s)
Referenced in: [show references]