Warning: session_start(): open(/var/lib/php/sessions/sess_o8gojdcub577s8n6nsfhdh9780, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
isRaspberryPi [1026956]

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

3
LINES

< > BotCompany Repo | #1026956 // isRaspberryPi

JavaX fragment (include)

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

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: 687 / 657
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)