Skip to content

Instantly share code, notes, and snippets.

View leeomara's full-sized avatar

Lee O'Mara leeomara

  • Whitehorse, Canada
View GitHub Profile
@leeomara
leeomara / gog_unrar.py
Created February 27, 2020 04:37 — forked from ssokolow/gog_unrar.py
innoextract+unrar wrapper for unpacking GOG.com installers using password-protected RAR files
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""Unpack wrapper for GOG.com installers using password-protected RAR files"""
from __future__ import (absolute_import, division, print_function,
with_statement, unicode_literals)
__author__ = "Stephan Sokolow (deitarion/SSokolow)"
__appname__ = "gog_unrar.py"
__version__ = "0.1rc1"
require File.dirname(__FILE__) + '/support/setup'
class DocumentImport < CloudCrowd::Action
def split
inputs_for_processing(document, 'images', 'text')
end
def process
@pdf = document.slug + '.pdf'
#!/usr/bin/perl -w
use strict;
use DBI;
use Net::FTP;
use Switch;
use POSIX qw(strftime);
use Text::Wrap;
$Text::Wrap::columns = 120;
our %remote_login; #ftp or scp log in information
our $remote_type; #is it ftp or scp?