Skip to content

Instantly share code, notes, and snippets.

View aeickho's full-sized avatar

alex, df8av aeickho

View GitHub Profile
void playWav(char* filename, float samplerate)
{
int fp= STDIN_FILENO;
if(filename[0]!='-') fp = open(filename, 'r');
//int sz = lseek(fp, 0L, SEEK_END);
//lseek(fp, 0L, SEEK_SET);
//short* data = (short*)malloc(sz);
//read(fp, data, sz);
// To run:
// wget -O - http://beta.etherpad.org/p/pihackfm/export/txt 2>/dev/null | gcc -lm -std=c99 -g -xc - && ./a.out beatles.wav
// Access from ARM Running Linux
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <math.h>
> host nxdom.de 217.237.150.205
Using domain server:
Name: 217.237.150.205
Address: 217.237.150.205#53
Aliases:
nxdom.de has address 62.157.140.133
nxdom.de has address 80.156.86.78
#!/bin/bash
url[0]="ftp://ftp5.gwdg.de/pub/linux/debian/debian/dists/wheezy/main/binary-i386/Packages.gz";
url[1]="http://debian.morphium.info/debian/dists/wheezy/main/binary-i386/Packages.gz";
url[2]="ftp://ftp.debian.com/debian/dists/wheezy/main/binary-i386/Packages.gz";
kn="12345" # hier die Kundennummer eintragen
tn="" # und hier die Telefon Nummer
sleeptime=600
Nov 27 03:04:00 www3 kernel: [828864.402066] NEW_____IN=eth0 OUT=sixxs MAC=b8:27:eb:76:d1:0d:08:00:27:7a:ef:75:86:dd:60:00:00:00:00:28:06:3f:20:01:06:f8 SRC=2001:06f8:109b:0000:0a00:27ff:fe7a:ef75 DST=2a03:4000:0006:3043:0000:0000:0000:0001 LEN=80 TC=0 HOPLIMIT=63 FLOWLBL=0 PROTO=TCP SPT=50557 DPT=995 WINDOW=28800 RES=0x00 SYN URGP=0
Nov 27 03:04:00 www3 kernel: [828864.442696] in______IN=sixxs OUT=eth0 MAC= SRC=2a03:4000:0006:3043:0000:0000:0000:0001 DST=2001:06f8:109b:0000:0a00:27ff:fe7a:ef75 LEN=80 TC=0 HOPLIMIT=56 FLOWLBL=0 PROTO=TCP SPT=995 DPT=50557 WINDOW=12080 RES=0x00 ACK SYN URGP=0
Nov 27 03:04:00 www3 kernel: [828864.488348] in______IN=sixxs OUT=eth0 MAC= SRC=2a03:4000:0006:3043:0000:0000:0000:0001 DST=2001:06f8:109b:0000:0a00:27ff:fe7a:ef75 LEN=72 TC=0 HOPLIMIT=56 FLOWLBL=0 PROTO=TCP SPT=995 DPT=50557 WINDOW=206 RES=0x00 ACK URGP=0
Nov 27 03:04:00 www3 kernel: [828864.498518] in______IN=sixxs OUT=eth0 MAC= SRC=2a03:4000:0006:3043:0000:0000:0000:0001 DST=2001:06f8:109b:0000:0a00:27ff:fe7a:ef75 L
include $(TOPDIR)/rules.mk
PKG_NAME:=alfred-json
PKG_VERSION:=0.3.1
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/tcatm/alfred-json.git
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=jansson
Frame 80: 86 bytes on wire (688 bits), 86 bytes captured (688 bits) on interface 0
Ethernet II, Src: 16:41:95:40:f7:dc (16:41:95:40:f7:dc), Dst: IPv6mcast_02 (33:33:00:00:00:02)
Internet Protocol Version 6, Src: fe80::1441:95ff:fe40:f7dc (fe80::1441:95ff:fe40:f7dc), Dst: ff02::2 (ff02::2)
Internet Control Message Protocol v6
No. Time VLAN Source Destination Protocol Length Info New Column New C
81 14.812086000 10.109.1.192 74.125.133.113 TCP 66 [TCP Dup ACK 7#1] 43934→80 [ACK] Seq=1 Ack=1 Win=240 Len=0 TSval=184913344 TSecr
Frame 81: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: IntelCor_67:aa:e6 (00:21:6b:67:aa:e6), Dst: 72:f0:d3:60:8d:5f (72:f0:d3:60:8d:5f)
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.960182] BUG: unable to handle kernel NULL pointer dereference at 0000000000000013
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.960489] IP: [<ffffffffa02a4ee3>] _batadv_purge_orig+0x146/0x261 [batman_adv]
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.960793] PGD 1ba5e067 PUD 1c695067 PMD 0
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.960968] Oops: 0000 [#1] SMP
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.961099] CPU 1
2015-04-20T14:41:16+02:00 ffgoe-alex01 kernel: [82494.961174] Modules linked in: nf_conntrack_netlink nfnetlink_log nfnetlink tun ip6table_filter ip6_tables xt_tcpudp iptable_filter xt_mark vboxsf(O) iptable_mangle ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ip_tables x_tables nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc batman_adv(O) crc32c libcrc32c loop vboxvideo(O) drm snd_pcm snd_page_alloc snd_timer snd soundcore i2c_piix4 psmouse i2c_core pcspkr serio_raw j
alex@nb01:~> traceroute 84.46.98.97
traceroute to 84.46.98.97 (84.46.98.97), 30 hops max, 60 byte packets
1 v501.amkampe14.local (192.168.0.1) 1.981 ms 2.071 ms 2.615 ms
2 87.186.224.169 (87.186.224.169) 24.420 ms 26.332 ms 26.531 ms
3 217.0.86.70 (217.0.86.70) 26.759 ms 27.929 ms 29.070 ms
4 hh-eb5-i.HH.DE.NET.DTAG.DE (62.154.32.222) 41.703 ms 46.450 ms 46.956 ms
5 62.157.249.78 (62.157.249.78) 75.824 ms 76.416 ms 77.110 ms
6 212.162.18.14 (212.162.18.14) 81.533 ms 80.303 ms 80.306 ms
7 Bert.routing.wtnet.de (84.46.112.61) 79.160 ms 65.446 ms 64.863 ms
8 bd-rz2.routing.wtnet.de (84.46.114.114) 67.558 ms Ernie.routing.wtnet.de (84.46.112.70) 67.845 ms bd-rz2.routing.wtnet.de (84.46.114.114) 74.145 ms