Skip to content

Instantly share code, notes, and snippets.

View arselzer's full-sized avatar

Alexander Selzer arselzer

  • TU Wien
  • Vienna, Austria
View GitHub Profile
date lat lon alt epx epy apv temperature pressure humidity light ir_light uv_light mq3 mq135 mq7 mq4
1433899339953 1006.86 32 58 83 47
1433899340166 30.8 1006.86 32 58 83 47
1433899340447 30.8 1006.86 32 58 83 47
1433899340712 30.9 1006.88 32 58 83 47
1433899340950 30.9 1006.86 32 58 83 47
1433899341160 30.9 1006.9 32 57 83 47
1433899341364 30.9 1006.8 32 59 84 47
1433899341571 30.9 1007.02 32 58 82 47
1433899341966 30.9 1006.92 32 58 82 47
date,lat,lon,alt,temperature,pressure,humidity,light,ir_light,uv_light,mq3,mq135,mq7,mq4
1433895663289,,,,,,,,,,32,65,90,49
1433895663565,,,,30,1006.34,,,,,32,65,91,49
1433895663780,,,,30,1006.25,,,,,32,64,91,49
1433895663981,,,,30,1006.28,,,,,32,64,91,49
1433895664185,,,,30,1006.27,,,,,32,64,91,49
1433895664385,,,,30,1006.37,,,,,32,63,91,49
1433895664586,,,,30,1006.34,,,,,33,64,91,49
1433895664786,,,,30,1006.29,,,,,33,64,90,49
1433895664991,,,,30,1006.26,,,,,32,63,90,49
date lat lon alt temperature pressure humidity light ir_light uv_light mq3 mq135 mq7 mq4
1433890221710 35 47 61 86 53
1433890221920 35 1002.21 47 61 86 53
1433890222123 35 1002.4 47 60 86 53
1433890222324 35 1002.34 47 61 86 53
1433890222525 35.1 1002.35 47 61 86 53
1433890222727 35 1002.35 47 61 86 53
1433890222926 35 1002.35 47 61 86 53
1433890223127 35 1002.32 47 61 86 53
1433890223329 35 1002.33 47 61 86 53
date lat lon alt temperature pressure humidity light ir_light uv_light mq3 mq135 mq7 mq4
1433890221710 35 47 61 86 53
1433890221920 35 1002.21 47 61 86 53
1433890222123 35 1002.4 47 60 86 53
1433890222324 35 1002.34 47 61 86 53
1433890222525 35.1 1002.35 47 61 86 53
1433890222727 35 1002.35 47 61 86 53
1433890222926 35 1002.35 47 61 86 53
1433890223127 35 1002.32 47 61 86 53
1433890223329 35 1002.33 47 61 86 53
date lat lon alt temperature pressure humidity light ir_light uv_light mq3 mq135 mq7 mq4
1433890030 44 59 93 52
1433890030 35.1 1002.33 45 59 93 52
1433890030 35.1 1002.3 46 59 93 53
1433890030 48.319963144 16.209171361 217.148 35.1 1002.32 47 60 94 54
1433890031 48.319963144 16.209171361 217.148 35.1 1002.32 47 60 94 55
1433890031 48.319963144 16.209171361 217.148 35.1 1002.24 48 60 94 56
1433890031 48.319963144 16.209171361 217.148 35.1 1002.24 49 61 95 57
1433890031 48.319963144 16.209171361 217.148 35.1 1002.28 49 61 96 58
1433890031 48.319962513 16.209169096 217.184 35.1 1002.35 50 62 96 59
@arselzer
arselzer / amazon.js
Created April 27, 2015 09:35
Amazon purchases total cost (per page)
Array.prototype.slice.call(document.querySelectorAll(".a-color-secondary")).map(function(node) { return node.innerHTML }).filter(function(text) { return /EUR\s\d+\,\d+/.test(text) }).map(function(str) { return str.split(/\s+/)[2].split(",") }).map(function(str) { return parseInt(str[0]) + (str[1] * 0.01) }).reduce(function(a, b) { return a + b })
@arselzer
arselzer / wvdial.conf
Created April 11, 2015 12:04
wvdial TP-Link MA260 hot.at
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Modem = /dev/ttyUSB2
Baud = 9600
[Dialer pin]
Init3 = AT+CPIN="4531"
@arselzer
arselzer / sound.c
Created February 1, 2015 20:23
GPIO buzzer music
#include <wiringPi.h>
#include <math.h>
#define CONTROL_PIN 26
void tone(int length, float freq) {
int i = 0;
int cycles = (length / freq) / 2;
printf("cycles: %d\n", cycles);
@arselzer
arselzer / mt.java
Last active August 29, 2015 14:07
Multiplication table für Andri :)
public class Main {
public static void main(String[] args) {
table(15, 15); // prints a 15x15 table
}
static void table(int x, int y) {
System.out.print("\t"); // even spacing
for (int i = 0; i <= x; i++) {
@arselzer
arselzer / Quastions.java
Created October 1, 2014 11:16
Questions
package co.slzr;
import sun.misc.Regexp;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class Main {
public static void main(String[] args) {