Skip to content

Instantly share code, notes, and snippets.

View danzig666's full-sized avatar

Danzig danzig666

View GitHub Profile
@danzig666
danzig666 / pdfcoloursplitter.py
Created October 18, 2018 07:24 — forked from dalemyers/pdfcoloursplitter.py
PDF Colour Splitter
#!/usr/bin/env python
# Python 2 and 3 compatible.
#This script takes in a PDF and creates two new PDFs. One has the black and
#white pages and the other has the colour pages. It also takes duplex printing
#into account. So a black and white side which is on the same sheet as a colour
#side will be placed into the colour PDF.
#This is from a script created by Iain Murray. The original comment is below.
#This version simply has some different defaults and removes the PDFtoPPM.
@danzig666
danzig666 / main.py
Created October 18, 2015 17:35
Move all your torrents in QBittorrent
# Copyright (c) 2015, Jimmy Zelinskie.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,