This file contains hidden or 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
#include <OneWire.h> | |
#include <LiquidCrystal.h> | |
// For every sensor found it outputs to serial: | |
// SensorID,CurrentTemp,Readout time,Current time | |
// Info at: http://wiki.spodeli.org/Хаклаб/Температура | |
OneWire ds(12); // on pin 12 | |
LiquidCrystal lcd(6, 7, 8, 9, 10, 11); |
This file contains hidden or 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
#!/bin/bash | |
## Send number of arp entries to cosm for graphing. | |
## | |
## It tries to guess the number of people currently present in | |
## the Hacklab (every person has on average one lan connected device) by | |
## counting the arp entries on the lan interface of the router. | |
## | |
## Graph: https://cosm.com/feeds/64676 | |
## cron: |
This file contains hidden or 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
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
import couchdbkit | |
import collections | |
database = couchdbkit.Database('http://localhost:5984/marnet') | |
#Kolku se registrirani sekoja godina | |
registrirani_po_godina = collections.Counter() |
This file contains hidden or 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
* { | |
margin:0; | |
padding:0; | |
} | |
html, body { | |
height:100%; | |
} | |
body { |
NewerOlder