Skip to content

Instantly share code, notes, and snippets.

@BtbN
BtbN / etcNetworkManagerNetworkManager.conf
Created January 2, 2015 17:47
/etc/NetworkManager/NetworkManager.conf
[main]
no-auto-default=3C:97:0E:86:E8:36,
plugins=keyfile
[keyfile]
unmanaged-devices=interface-name:vmnet1;interface-name:vmnet8
@BtbN
BtbN / combine.py
Created January 6, 2015 17:27
combine.py
#!/usr/bin/env python3
# 5 hinute parts
#files_per_part=410
# 6 hour parts
files_per_part=5400
input_dir="data/union"
output_dir="output"
@BtbN
BtbN / varlogXorg.0.log
Created January 6, 2015 17:46
/var/log/Xorg.0.log
[ 27.371]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 27.371] X Protocol Version 11, Revision 0
[ 27.371] Build Operating System: Linux 3.13.6-gentoo x86_64 Gentoo
[ 27.371] Current Operating System: Linux Syobon 3.16.5-gentoo #1 SMP Thu Nov 13 00:48:57 CET 2014 x86_64
[ 27.371] Kernel command line: BOOT_IMAGE=/kernel-3.16.5-gentoo root=UUID=8efe81d7-c7ed-49c6-ab30-bbae18dfb0d7 ro
[ 27.371] Build Date: 01 April 2014 12:03:56PM
[ 27.371]
[ 27.371] Current version of pixman: 0.32.4
<VirtualHost *:80>
ServerAdmin ...
ServerName ...
RewriteEngine On
RewriteCond %{HTTP_HOST} (.*)
RewriteRule (.*) https://%1$1 [R=permanent,QSA,L]
</VirtualHost>
@BtbN
BtbN / 017_sync.conf
Created January 23, 2015 12:43
017_sync.conf
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName sync.btbn.de
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/ffsync/>
@BtbN
BtbN / stdin
Created January 26, 2015 13:26
stdin
These are the packages that would be merged, in order:
Calculating dependencies ....... ... done!
[ebuild N ] app-text/libexttextcat-3.4.0 USE="-static-libs" 0 KiB
[ebuild N ] sci-libs/suitesparseconfig-4.2.1 USE="-static-libs" 0 KiB
[ebuild UD ] dev-util/boost-build-1.55.0-r1 [1.56.0] USE="-examples -python {-test}" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild UD ] dev-libs/boost-1.55.0-r2:0/1.55.0 [1.56.0-r1:0/1.56.0] USE="icu nls threads -context -debug -doc -mpi -python -static-libs -tools" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
[ebuild N ] dev-util/mdds-0.11.2:0/0.11.2 151 KiB
[ebuild N ] dev-libs/libixion-0.5.0:0/0.5 USE="-static-libs" 0 KiB
@BtbN
BtbN / build.log
Created January 29, 2015 12:09
build.log
 * Package: kde-misc/plasma-nm-0.9.3.5
 * Repository: gentoo
 * Maintainer: [email protected]
 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux linguas_de modemmanager openconnect userland_GNU
 * FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking plasma-nm-0.9.3.5.tar.xz to /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work
>>> Source unpacked in /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work
>>> Preparing source in /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5 ...
>>> Enabling languages: de
@BtbN
BtbN / vartmpportagedev-dbodb-2.4.0tempbuild.log
Created February 11, 2015 13:05
/var/tmp/portage/dev-db/odb-2.4.0/temp/build.log
 * Package: dev-db/odb-2.4.0
 * Repository: odb
 * USE: abi_x86_64 amd64 boost elibc_glibc kernel_linux mysql qt sqlite threads userland_GNU
 * FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking odb-2.4.0.tar.bz2 to /var/tmp/portage/dev-db/odb-2.4.0/work
>>> Source unpacked in /var/tmp/portage/dev-db/odb-2.4.0/work
>>> Preparing source in /var/tmp/portage/dev-db/odb-2.4.0/work/odb-2.4.0 ...
* Running elibtoolize in: odb-2.4.0/
* Applying target-nm/2.4.2 patch ...
@BtbN
BtbN / 0001-avformat-dashenc-Update-codec_str-on-extradata_size-.patch
Created March 1, 2015 22:28
0001-avformat-dashenc-Update-codec_str-on-extradata_size-.patch
From 8be5c958bce80b1812350f8f51aefc34a231691d Mon Sep 17 00:00:00 2001
From: Timo Rothenpieler <[email protected]>
Date: Sun, 1 Mar 2015 22:57:58 +0100
Subject: [PATCH] avformat/dashenc: Update codec_str on extradata_size change
---
libavformat/dashenc.c | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
@BtbN
BtbN / client.cfg
Last active August 29, 2015 14:16
OpenVPN
client
dev-type tun
dev ovpn
proto udp
cipher aes-256-cbc
remote btbn.de 22290
resolv-retry infinite
nobind