Skip to content

Instantly share code, notes, and snippets.

@mcsepes
mcsepes / pdf2jpg.sh
Last active May 12, 2017 01:33 — forked from yura/pdf2jpg.sh
script to PDF to JPG using pdftk and imagemagick
#!/bin/bash
# Script to convert PDF file to JPG images
#
# Dependencies:
# * pdftk
# * imagemagick
for PDF in *.pdf; do
echo "Processing $PDF"
@mcsepes
mcsepes / thebat2mbox.py
Created February 18, 2017 00:52 — forked from alteist/thebat2mbox.py
This dirty script converts "The Bat!" mail databases to Unix mbox ones. It scans directory for .TBB files, reconstructs dir structure and converts databases using another program by Денис Трачук through wine.
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
thebat2mbox.py v0.1
Copyleft 2013 by alteist@gmail.com
This dirty script for *nix converts "The Bat!" mail databases to Unix mbox ones. It scans directory for .TBB files,
reconstructs dir structure and converts databases using another program by Денис Трачук through wine.
Usage:
@mcsepes
mcsepes / vkmusic.user.js
Created January 10, 2016 18:39 — forked from bo33b/vkmusic.user.js
Simple and lightweight vk.com music download enabler userscript for Greasemonkey
// ==UserScript==
// @name VK Music Download
// @namespace bo33b
// @description Simple and lightweight VK music download enabler.
// @downloadURL https://gist.github.com/bo33b/092f3c0cdb47365ffd9d/raw/vkmusic.user.js
// @version 3.4
// @include http://vk.com/*
// @include https://vk.com/*
// @grant none
// ==/UserScript==