Skip to content

Instantly share code, notes, and snippets.

View Schnouki's full-sized avatar
🖖

Thomas Jost Schnouki

🖖
View GitHub Profile
@Schnouki
Schnouki / iphone-tracker.py
Created April 21, 2011 12:12
iPhone tracking database to KML format converter
#!/usr/bin/env python3
#
# Copyright (C) 2011 Thomas Jost
#
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
@Schnouki
Schnouki / seb.py
Created February 11, 2011 00:09
Simple encrypted backup (designed for a bunch of small files, like mails in the Maildir format). More details on http://schnouki.net/2011/02/11/secure-remote-backup-for-my-mail-folder/
#!/usr/bin/env python3
#
# Simple encrypted backup
#
# Copyright 2011 Thomas Jost
#
# 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 3 of the License, or (at your option) any later
# version.
@Schnouki
Schnouki / movmd.py
Created January 12, 2011 00:57
A small metadata parser for MP4 containers, designed to edit dates saved by digital cameras on .mov videos.
#!/usr/bin/env python3
# -*- mode: python -*-
# This program is free software. It comes without any warranty, to the extent
# permitted by applicable law. You can redistribute it and/or modify it under
# the terms of the Do What The Fuck You Want To Public License, Version 2, as
# published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more
# details.
# Some useful resources:
@Schnouki
Schnouki / ril.py
Created November 26, 2010 14:54
Copy data from a "Read it later" account to an "Instapaper" account
import urllib
import urllib2
import simplejson as json
API_KEY = '37dp9fcqA1299u9aK7gc2c2C84ddnd78'
API_ROOT = 'https://readitlaterlist.com/v2/'
class RILError(Exception):
pass
#!/usr/bin/env python3
#
# This is manolodownload, a simple script that allows one to download comic
# books from the Manolosanctis website (http://www.manolosanctis.com/) and save
# them locally as a .cbz archive, readable by an application like Comix.
#
# This can only download comic books that are already readable on the
# Manolosanctis website (many of them being redistributable under the terms of a
# Creative Commons license), this is in no way intended to harm anybody's
# intellectual property or copyright. This is simply intended to make these
@Schnouki
Schnouki / .Xdefaults
Created May 20, 2010 17:13
Tango theme for urxvt
/* Couleurs Tango */
URxvt.foreground: #C8C8C8
URxvt.background: #323232
URxvt.color0: #2E3436
URxvt.color1: #CC0000
URxvt.color2: #4E9A06
URxvt.color3: #C4A000
URxvt.color4: #3465A4
URxvt.color5: #75507B
URxvt.color6: #06989A
@Schnouki
Schnouki / tedcast
Created May 29, 2009 12:30
Python script to download podcast from TED and convert videos to audio-only .ogg files
#! /usr/bin/env python
#
# Copyright (c) 2009, Thomas Jost <thomas.jost@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF