unnamed file

Ruby

timediff

#!/usr/bin/ruby -w
require "time"
def time_diff(time1_str, time2_str)
t = Time.at( Time.parse(time2_str) - Time.parse(time1_str) )
t = (t - t.gmt_offset).strftime("%H:%M:%S")
puts t
end

unnamed file

SH

convert_tv

#!/bin/bash
## Little helper to convert recordings.
## Requires (in $PATH as timediff): http://paste.maniactwister.de/show/2082
show_usage() {
printf "Usage: %s <start hh:mm:ss> <end hh:mm:ss> <inputfile>\n" "$0"
}
if [ $# -lt 2 ]; then
show_usage

unnamed file

C/C++

No Description

#include <sys/ioctl.h>
#include <sys/utsname.h>
#include <ctype.h>
#include <fcntl.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <time.h>
#include <stdio.h>

unnamed file

Text

No Description

https://sphotos-b-ord.xx.fbcdn.net/hphotos-frc1/p480x480/1001684_616210135090699_266809255_n.jpg
http://images.derstandard.at/2013/08/08/1375641758860-2a.jpg
http://images.derstandard.at/2013/08/08/1375641758583-1a.jpg
http://images.derstandard.at/2013/08/12/1375653453347-attensamkl.jpg
http://images.derstandard.at/2013/08/12/1375653358187-bluetango2.jpg
http://2.bp.blogspot.com/-IxdUtH-bg7M/UgvWhLjw1pI/AAAAAAAAAAw/GwgrhWYnd4M/s640/0c91d972-e239-42db-8f72-74de05d1b2c9.jpg
https://sphotos-a-vie.xx.fbcdn.net/hphotos-ash4/q77/s720x720/999582_368206879948403_193113043_n.jpg
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/1147649_691401387540554_1563412728_o.jpg
http://img407.imageshack.us/img407/7746/qnm6.jpg
http://img90.imageshack.us/img90/1093/cu2k.jpg

unnamed file

Text

No Description

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdc1 256 481541375 240770560 83 Linux
/dev/sdc2 481548375 3907007999 1712729812+ 7 HPFS/NTFS/exFAT
Partition 2 does not start on physical sector boundary.

unnamed file

Text

Remove Password PDF

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=formelsammlung2.pdf -c .setpdfwrite -f formelsammlung.pdf

unnamed file

Text

No Description

ERORR! i h4xx0r'd u!!!!<div><br></div><div>ERORR&nbsp;<span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><span style="font-size: 10pt;">ERORR&nbsp;</span><br></div><div><span style="font-size: 10pt;"><br></span></div><div>pl4y c0rv1ns r4che!</div>pl4y c0rv1ns r4che!<div>pl4y c0rv1ns r4che!</div>pl4y c0rv1ns r4che!<div>pl4y c0rv1ns r4che!</div>pl4y c0rv1ns r4che!<div>pl4y c0rv1ns r4che!</div>pl4y c0rv1ns r4che!<div>pl4y c0rv1ns r4che!</div>pl4y c0rv1ns r4che!

unnamed file

Text

No Description

&lt;script type="text/javascript"&gt;window.open('http://google.com?q=XSS');&lt;script&gt;<div>l3rn t0 c0d3, n00b</div>

unnamed file

Text

No Description

Mi 01.05.2013 00:50 Adele – Live at the Royal Albert Hall
Mi 01.05.2013 01:45 Kylie Minogue – X 2008
Mi 01.05.2013 02:40 Amy Macdonald und das Orchester
Mi 01.05.2013 03:40 Duffy
Mi 01.05.2013 04:25 Caro Emerald
Mi 01.05.2013 05:10 Rumer
Mi 01.05.2013 06:00 Gary Moore: Blues for Jimi
Mi 01.05.2013 07:00 Doobie Brothers: Live @ Greek Theatre
Mi 01.05.2013 08:00 Alan Parsons: Eye 2 Eye – Live in Madrid
Mi 01.05.2013 09:00 Elton John: Live at Ibiza123 feat. Pnau

unnamed file

Python

54

Jetzt werden die Köpfe so richtig rauchen :)
Der Osterhase - als fremdsprachenaffiner Geek - überlegt sich ein richtig "nettes" Rätsel:
Alle Zahlen von 1 bis 10^10 werden auf Englisch (natürlich nur formalsprachlich korrektes Englisch ;)) ausgeschrieben.
Der Osterhase ist so nett und ignoriert alle Leerstellen und Bindestriche, damit Ihr ihn nicht zu sehr hasst.
Jetzt werden diese Zahlen wie in einem Wörterbuch alphabetisch aufgelistet.
Die Frage ist: Welches ist die erste ungerade Zahl in dieser Liste? (numerisch geschrieben)