unnamed file

Text

No Description

<Wolf Ranger Merrick> hmm, galileo mit stromberg dadran muss ich mich noch dran gewöhnen
<Welteneroberer> Du schaust Galileo???
<Wolf Ranger Merrick> hin und wieder. Warum?
<Welteneroberer> Weil die Sendung nur noch Müll ist? Bzw. größtenteils eine Werbesendung?
<Wolf Ranger Merrick> da gebe ich dir recht. in gegensatz zu früher hat die echt nachgelassen. aber hin und wieder kann mans noch gucken

unnamed file

Text

getflag.asm

section .text
global _start
_start:
xor ecx, ecx
push ecx
push 0x47414c46
push $5
pop eax
mov ebx, esp

dvb_signal.c

C/C++

/*
* dvb_signal.c
*
* Copyright (C) 2014 ManiacTwister
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*

unnamed file

XML

No Description

<placement>
<enabled>false</enabled>
<description>Sample entry for external graphics with an extra on mouse over image (displayed only at Score)</description>
<display>score</display>
<pos_x>-20</pos_x>
<pos_y>25.5</pos_y>
<width>40</width>
<height>12</height>
<background_style></background_style>
<background_substyle></background_substyle>

unnamed file

Text

No Description

cd ~
sudo apt-get remove hotot
sudo apt-get build-dep -y hotot
sudo apt-get -y install git
git clone https://github.com/ManiacTwister/Hotot.git
cd Hotot && git checkout search_api
mkdir build && cd build
cmake ..
make
sudo make install

unnamed file

Text

hotot quick fix

sudo su
cd /usr/share/hotot/
wget -N https://raw.github.com/ManiacTwister/Hotot/501c55e4455dac3dbed6b413cfe969428743a61a/data/index.html
cd js
wget -N https://raw.github.com/ManiacTwister/Hotot/501c55e4455dac3dbed6b413cfe969428743a61a/data/js/conf.js
wget -N https://raw.github.com/ManiacTwister/Hotot/501c55e4455dac3dbed6b413cfe969428743a61a/data/js/lib.twitter.js
wget -N https://raw.github.com/ManiacTwister/Hotot/501c55e4455dac3dbed6b413cfe969428743a61a/data/js/ui.prefs_dlg.js

unnamed file

C/C++

No Description

Foo *baz;
// Die folgenden drei Zeilen sollten dasselbe tun wie: baz = new Foo[10];
baz = (Foo*)((size_t*)operator new[](10*sizeof(Foo)+sizeof(size_t))+1);
*((size_t*)baz-1) = 10;
for(int i=0; i<10; ++i) new (baz+i) Foo;
delete[] baz;
cout << endl;

unnamed file

C/C++

No Description

Foo *box;
box = (Foo*)malloc(10*sizeof(Foo));
// Für jeden Konstruktor einen individuellen Parameter:
for(int i=0; i<10; ++i) new (box+i) Foo(i*2+1);
cout << endl;
for(int i=0; i<10; ++i) box[i].~Foo();
free(box);
cout << endl;

unnamed file

C/C++

No Description

Ziehung::Ziehung() {
// Ziehung durchfuehren
for(int i=0; i<6; ++i) {
int j; unsigned int z = 1+rand()%(49-i);
for(j=0; j<i && zahlen[j] <= z; ++j, ++z);
for(int k=i; k>j; --k) zahlen[k] = zahlen[k-1];
zahlen[j] = z;
}
superzahl = rand()%10;
}

unnamed file

SH

kgdb misc help

Trigger breakpoint:
echo g > /proc/sysrq-trigger
Module debugging:
modprobe <module>
/root/debugmodule.sh <module>
Run output in gdb. Path to .ko file must match path where the modules are stored on the gdb CLIENT machine.