Skip to content

Instantly share code, notes, and snippets.

View mefuller's full-sized avatar

Mark E Fuller mefuller

View GitHub Profile
@mefuller
mefuller / Install_ADE_on_Fedora.md
Created April 15, 2026 18:21 — forked from rendyanthony/Install_ADE_on_Fedora.md
Install Adobe Digital Editions (ADE) and Calibre DeDRM on Fedora
@mefuller
mefuller / openpgp.md
Created January 16, 2022 09:36
openpgp.md
@mefuller
mefuller / hebtxt.sh
Created September 14, 2021 11:58
Translate scanned PDFs in the command line
#! /bin/bash
# a simple command line tool for printing translations of the PDF letters sent by the Technion to students
# supply PDF with Hebrew text as argument
# default input filename if not specified
first="${1:-$HOME/Downloads/techtemp.pdf}"
# default out filename if not specified
@mefuller
mefuller / translate.py
Created May 14, 2021 09:03 — forked from vxmute/translate.py
Query google translate from the glorious command line.
#!/usr/bin/env python
import sys
import requests
url = "https://translate.google.com/"
cc = [
{"code":"af","name":"afrikaans"},
{"code":"sq","name":"albanian"},
{"code":"ar","name":"arabic"},
{"code":"hy","name":"armenian"},
@mefuller
mefuller / pycharm-community-to-rpm.sh
Last active December 22, 2020 14:25
Creates an RPM package for PyCharm Community Edition
#!/bin/bash
echo "Creating directory structure"
mkdir -p ./tmproot/usr/local/bin
mkdir -p ./tmproot/usr/share/applications
mkdir -p ./tmproot/usr/share/icons/hicolor/128x128/apps
mkdir -p ./tmproot/usr/share/icons/gnome/128x128/apps
mkdir -p ./tmproot/opt/
cd ./tmproot/opt
#specify current version info here