This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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? |