This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Include database connection | |
include 'connect.php'; | |
// Declare result array | |
$result = array( | |
'nameA' => ' Temperatur', | |
'nameB' => ' Setpoint', | |
'category' => array(), | |
'data1' => array(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2015 Kim Henriksen | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '+------------------------------------------------------------------------+' | |
echo ' Spigotmc installation script for Ubuntu based Linux distros' | |
echo -e '\n' | |
echo ' Copyright © 2015 Kim Henriksen' | |
echo -e '\n' | |
echo ' All rights reserved, use this script at your own risk' | |
echo '+------------------------------------------------------------------------+' | |
# Installation parameters | |
DOWNLOAD_URL=https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Returns array of bodies of UNSEEN email message | |
* @param mixed $mbox array of mailbox, username and password OR mailbox opened with imap_open(); | |
* @param string $sender optional: get only messages from $sender email address | |
*/ | |
function mbox_get_unseen_messages($mbox, $sender = NULL) | |
{ | |
// Email bodies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') or exit('No direct script access allowed'); | |
/** | |
* i18n details file | |
* | |
* @author Kim Henriksen <kh@ipimp.at> | |
* @package PyroCMS | |
* @subpackage i18n Module |