|
1 | | -### |
| 1 | +### |
2 | 2 | # |
3 | 3 | # WEIO Web Of Things Platform |
4 | 4 | # Copyright (C) 2013 Nodesign.net, Uros PETREVSKI, Drasko DRASKOVIC |
5 | 5 | # All rights reserved |
6 | 6 | # |
7 | | -# ## ## ######## #### ####### |
8 | | -# ## ## ## ## ## ## ## |
9 | | -# ## ## ## ## ## ## ## |
10 | | -# ## ## ## ###### ## ## ## |
11 | | -# ## ## ## ## ## ## ## |
12 | | -# ## ## ## ## ## ## ## |
| 7 | +# ## ## ######## #### ####### |
| 8 | +# ## ## ## ## ## ## ## |
| 9 | +# ## ## ## ## ## ## ## |
| 10 | +# ## ## ## ###### ## ## ## |
| 11 | +# ## ## ## ## ## ## ## |
| 12 | +# ## ## ## ## ## ## ## |
13 | 13 | # ### ### ######## #### ####### |
14 | 14 | # |
15 | | -# Web Of Things Platform |
| 15 | +# Web Of Things Platform |
16 | 16 | # |
17 | | -# This file is part of WEIO |
18 | | -# WEIO is free software: you can redistribute it and/or modify |
19 | | -# it under the terms of the GNU General Public License as published by |
20 | | -# the Free Software Foundation, either version 3 of the License, or |
21 | | -# (at your option) any later version. |
| 17 | +# This file is part of WEIO and is published under BSD license. |
22 | 18 | # |
23 | | -# WEIO is distributed in the hope that it will be useful, |
24 | | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
25 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
26 | | -# GNU General Public License for more details. |
| 19 | +# Redistribution and use in source and binary forms, with or without |
| 20 | +# modification, are permitted provided that the following conditions are met: |
| 21 | +# 1. Redistributions of source code must retain the above copyright |
| 22 | +# notice, this list of conditions and the following disclaimer. |
| 23 | +# 2. Redistributions in binary form must reproduce the above copyright |
| 24 | +# notice, this list of conditions and the following disclaimer in the |
| 25 | +# documentation and/or other materials provided with the distribution. |
| 26 | +# 3. All advertising materials mentioning features or use of this software |
| 27 | +# must display the following acknowledgement: |
| 28 | +# This product includes software developed by the WeIO project. |
| 29 | +# 4. Neither the name of the WeIO nor the |
| 30 | +# names of its contributors may be used to endorse or promote products |
| 31 | +# derived from this software without specific prior written permission. |
27 | 32 | # |
28 | | -# You should have received a copy of the GNU General Public License |
29 | | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 33 | +# THIS SOFTWARE IS PROVIDED BY WEIO PROJECT AUTHORS AND CONTRIBUTORS ''AS IS'' AND ANY |
| 34 | +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 35 | +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 36 | +# DISCLAIMED. IN NO EVENT SHALL WEIO PROJECT AUTHORS AND CONTRIBUTORS BE LIABLE FOR ANY |
| 37 | +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 38 | +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 39 | +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 40 | +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 41 | +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 42 | +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | 43 | # |
31 | | -# Authors : |
| 44 | +# Authors : |
32 | 45 | # Uros PETREVSKI <uros@nodesign.net> |
33 | 46 | # Drasko DRASKOVIC <drasko.draskovic@gmail.com> |
34 | 47 | # |
35 | 48 | ### |
36 | 49 |
|
| 50 | + |
37 | 51 | import os, signal, sys, platform, subprocess, datetime |
38 | 52 |
|
39 | 53 | from tornado import web, ioloop, iostream, gen |
|
0 commit comments