Skip to content

Instantly share code, notes, and snippets.

View sanderjo's full-sized avatar

Sander sanderjo

  • Netherlands
View GitHub Profile
selftesthost = "test-ipv6.sabnzbd.org"
#selftesthost = "test-ipv6.sabnzbd.org"
import socket
import logging
logging.basicConfig(level=logging.DEBUG)
def test_ipv6():
""" Check if external IPv6 addresses are reachable """
if not selftesthost:
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
<!-- NZB Generated by Binsearch.info -->
<nzb xmlns="http://www.newzbin.com/DTD/2003/nzb">
<file poster="CPP-user@domain.com (CPP-User)" date="1446169549" subject="(Big.Buck.Bunny.2008.1080p.x264-60fps FIXED) [00/34] - &quot;Big.Buck.Bunny.2008.1080p.x264-60fps.nzb&quot; yEnc (1/1)">
<groups><group>alt.binaries.boneless</group></groups>
<segments>
<segment bytes="132186" number="1">nnd$2bf6d77b$4793831a@2afcdd50c16330b8</segment>
</segments>
@sanderjo
sanderjo / Big.Buck.Bunny --- missing segemnts.nzb
Created January 9, 2016 15:11
Test NZB for Big.Buck.Bunny (posted nov 2015) with missing sgement
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN" "http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
<!-- NZB Generated by Binsearch.info (fcgi) -->
<nzb xmlns="http://www.newzbin.com/DTD/2003/nzb">
<file poster="CPP-user@domain.com (CPP-User)" date="1446169549" subject="(Big.Buck.Bunny.2008.1080p.x264-60fps FIXED) [00/34] - &quot;Big.Buck.Bunny.2008.1080p.x264-60fps.nzb&quot; yEnc (1/1)">
<groups><group>alt.binaries.boneless</group></groups>
<segments>
<segment bytes="132186" number="1">nnd$2bf6d77b$4793831a@2afcdd50c16330b8</segment>
</segments>
@sanderjo
sanderjo / naam.py
Created May 24, 2015 19:39
testje van sander
print "hallo daar!"
if True:
print "Ja"