#!/bin/bash
# put the following (not out-commented) into your crontab:
#55 5 21 3 * /dir/radiodump.sh muelheim mplayer /dir/dumps >> /dir/radiomuelheim_mplayer.log &
#55 5 21 3 * /dir/radiodump.sh muelheim vlc /dir/dumps >> /dir/radiomuelheim_vlc.log &
#55 5 21 3 * /dir/radiodump.sh oberhausen mplayer /dir/dumps >> /dir/radiooberhausen_mplayer.log &
#55 5 21 3 * /dir/radiodump.sh oberhausen vlc /dir/dumps >> /dir/radiooberhausen_vlc.log &
#5 10 21 3 * kill `cat /tmp/radiomuelheim_mplayer.pid`
#5 10 21 3 * kill `cat /tmp/radiomuelheim_vlc.pid`
#5 10 21 3 * kill `cat /tmp/radiooberhausen_mplayer.pid`

#!/bin/bash
# put the following (not out-commented) into your crontab:
#55 5 21 3 * /dir/radiodump.sh muelheim mplayer /dir/dumps >> /dir/radiomuelheim_mplayer.log &
#55 5 21 3 * /dir/radiodump.sh muelheim vlc /dir/dumps >> /dir/radiomuelheim_vlc.log &
#55 5 21 3 * /dir/radiodump.sh oberhausen mplayer /dir/dumps >> /dir/radiooberhausen_mplayer.log &
#55 5 21 3 * /dir/radiodump.sh oberhausen vlc /dir/dumps >> /dir/radiooberhausen_vlc.log &
#5 10 21 3 * kill `cat /dir/radiomuelheim_mplayer.pid`
#5 10 21 3 * kill `cat /dir/radiomuelheim_vlc.pid`
#5 10 21 3 * kill `cat /dir/radiooberhausen_mplayer.pid`

<?php
/* vim: set noexpandtab tabstop=2 softtabstop=2 shiftwidth=2: */
class Database extends PDO {
function __construct($dsn, $username="", $password="", $driver_options=array()) {
parent::__construct($dsn,$username,$password, $driver_options);
// Set the statement class to our custom ChainablePDOStatement class
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('ChainablePDOStatement', array($this)));
}

t420

Text

ep@t420 ~ % lspci -vvvtnnn
-[0000:00]-+-00.0 Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104]
+-02.0 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126]
+-04.0 Intel Corporation Device [8086:0103]
+-19.0 Intel Corporation 82579LM Gigabit Network Connection [8086:1502]
+-1a.0 Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d]
+-1b.0 Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20]
+-1c.0-[01]----00.0 Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085]
+-1c.1-[02]--
+-1c.3-[03]----00.0 Ricoh Co Ltd PCIe SDXC/MMC Host Controller [1180:e823]

converttv.py

Python

#!/usr/bin/env python2
#
# Quick and dirty ffmpeg command crafter
#
# Outputs the ffmpeg command to encode your raw MPEG2 Video file with h264 into
# a matroska container. You can optionally select start/end time and a specific
# audio tracks (e.g ac3).
#
# Copyright (c) 2014 by ManiacTwister
#

ip a r

Text

root@eulennest:~# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::12fe:edff:fee6:208c/64 scope link
valid_lft forever preferred_lft forever
26: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 2a02:908:f64:51bc::1/62 scope global noprefixroute dynamic
valid_lft 3146sec preferred_lft 1346sec

ircdlog

Text

Attempting connect.
Connecting ...........
Connected to server: 131.247.1.102 on port: 6668
Sending user info ....
:morgan.hackint.org NOTICE * :*** Looking up your hostname...
:morgan.hackint.org NOTICE * :*** Checking Ident
:morgan.hackint.org NOTICE * :*** Found your hostname
:morgan.hackint.org NOTICE * :*** No Ident response
PING :FFFFFFFF21D7D860
Received PING request, sending PONG :FFFFFFFF21D7D860

sni ircd

Text

$ openssl s_client -connect localhost:6697 -servername test.hackint.org -tlsextdebug
[...]
Certificate chain
0 s:/C=CH/ST=test.hackint.org/L=test.hackint.org/O=test.hackint.org/OU=test.hackint.org/CN=test.hackint.org/emailAddress=test.hackint.org
i:/C=CH/ST=test.hackint.org/L=test.hackint.org/O=test.hackint.org/OU=test.hackint.org/CN=test.hackint.org/emailAddress=test.hackint.org
[...]
:test.hub NOTICE * :*** You are connected with TLS

valgrind

Text

==17680== Jump to the invalid address stated on the next line
==17680== at 0x0: ???
==17680== by 0x5F283DB: SSL_CTX_use_certificate_chain_file (in /usr/lib/libssl.so.1.0.0)
==17680== by 0x4E45ABA: rb_setup_ssl_vserver (openssl.c:605)
==17680== by 0x13CD4C: validate_conf (s_conf.c:886)
==17680== by 0x13CD4C: read_conf (s_conf.c:845)
==17680== by 0x13CD4C: read_conf_files (s_conf.c:1429)
==17680== by 0x119439: main (ircd.c:674)
==17680== Address 0x0 is not stack'd, malloc'd or (recently) free'd

dmesg

Text

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.3.0-1-MANJARO (builduser@manjaro) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Nov 2 09:11:04 UTC 2015
[ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 0x340 bytes, using 'standard' format.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.