Archive | Software

800px-Parcelusarus2008

WooCommerce Shipping Plugin “External Fetch”

I just wrote the following shipping plugin for WooCommerce because existing plugins would not cover the case I’m working at. It is available on my github account under the permissive MIT license. https://github.com/michaelfranzl/woocommerce-shipping-external-fetch woocommerce-shipping-external-fetch Shipping Plugin for WooCommerce which HTTP PUTs the cart contents in JSON format to an external web service specified by protocol/host/port/URI, and […]

Continue Reading 2

How to compile ezstream from source

Debian Stretch’s version of ezstream is currently a bit out of date. Here is how you compile ezstream from source to get the latest improvements and bugfixes. Not even the INSTALL file in the ezstream repo has all the steps:

Note that the configuration file structure has changed from what can be found on older blog […]

Continue Reading 0

no.php – Transparent reverse proxy written in PHP that allows you to not have to write PHP any more

This little project will probably be my only contribution to the world of PHP. The code is at https://github.com/michaelfranzl/no.php This short, single-file, 80-line PHP script is a simple and fully transparent HTTP(S) reverse proxy written in PHP that allows you to never have to use PHP again for a new project, if you feel so […]

Continue Reading 0
Gnome on Wayland on Raspberry Pi 2

Raspberry Pi2 and Pi3 running pure Debian 9 (“Stretch”) and the Linux Mainline/Vanilla Kernel

Update 2017 Feb 25: I have updated the step-by-step instructions based on the suggested fixes and improvements contained in the reader comments. I also have copied the step-by-step instructions from this blog post to the README.md file hosted on https://github.com/michaelfranzl/rpi23-gen-image. From now on I will update the instructions only on github, so expect that the instructions in this […]

Continue Reading 53

How to convert images to PDF with paper and image size, without ImageMagick

ImageMagick’s convert tool is handy for converting a series of images into a PDF. Just for future reference, here is one method how you can achieve the same without convert. It is useful if you have 1-bit PBM images (e.g. scanned text) at hand:

This command concatenates all .pbm files, pipes the data to pnmtops to create an […]

Continue Reading 0
Digitizing books 
(International Dunhuang Project, CC BY-SA 3.0)

Digitize books: Searchable OCR PDF with text overlay from scanned or photographed books on Linux

Here is my method to digitize books. It is a tutorial about how to produce searchable, OCR (Optical Character Recognition) PDFs from a hardcopy book using free software tools on Linux distributions. You probably can find more convenient proprietary software, but that’s not the objective of this post. Important: I should not need to mention that depending […]

Continue Reading 2
'Hashed' brown potatoes. Hashing is important on more than just one level (picture by Jamie Davids, CC-BY-2.0)

Hashing passwords: SHA-512 can be stronger than bcrypt (by doing more rounds)

On a server, user passwords are usually stored in a cryptographically secure way, by running the plain passwords through a one-way hashing function and storing its output instead. A good hash function is irreversible. Leaving dictionary attacks aside and by using salts, the only way to find the original input/password which generated its hash, is to simply try all possible […]

Continue Reading 0
Selection_008

100% HTTPS in the internet? Non-Profit makes it possible!

HTTPS on 100% of websites in the internet? This just has gotten a lot easier! Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG), a Section 501(c)(3) Non-Profit entity dedicated to reduce financial, technological, and education barriers to […]

Continue Reading 2
Simple OpenGL output using pyglpainter library

OpenGL programming in Python: pyglpainter

This was a recent hobby programming project of mine for use in a CNC application, using Python and OpenGL. The source code is available at https://github.com/michaelfranzl/pyglpainter . This Python module provides the class PainterWidget, extending PyQt5’s QGLWidget class with boilerplate code neccessary for applications which want to build a classical orthagnoal 3D world in which the user […]

Continue Reading 0
The Bosch BMP180 on an Arduino UNO board

Infrasound Barograph with FFT spectrum analysis: Arduino UNO + Bosch BMP180 Sensor + Qt5 + HTML5

Infrasound sources are ubiquitous in our environment, but humans cannot hear them. In recent years, there has been rising interest and collaboration in infrasound monitoring, for reasons from health concerns regarding large wind turbines to detection of atmospheric nuclear bomb testing, not to mention that the Chelyabinsk meteor of Feb 2013 which created intense shock waves of about 10 […]

Continue Reading 2

Powered by WordPress. Designed by Woo Themes