Cloud-oriented Life

Cloud Native Technology Improves Lives

pprint

The pprint module provides a capability to “pretty-print” arbitrary Python data structures in a form which can be used as input to the interpreter. If the formatted structures include objects which are not fundamental Python types, the representation may not be loadable. This may be the case if objects such as files, sockets or classes are included, as well as many other objects which are not representable as Python literals.

Read more »

Outline: Access to the free and open Internet

Outline makes it easy to create a VPN server, giving anyone access to the free and open internet.

Outline enables anyone to access the free and open internet more safely by running their own VPN. Running your own VPN server through Outline makes accessing the internet safer and establishes a connection that is harder to block.

Read more »

pdftoimage

PDFToImage is a ruby gem which allows for conversion of a PDF document into images. It uses poppler_utils to first convert the document to PNG and then allows usage of ImageMagick to convert the image into other formats.

The reasoning behind using poppler_utils is due to the fact that ghostscript occasionally has trouble with certain PDF documents which poppler_utils seems to be able to parse without error.

Read more »

Base64

Base64 is the most popular binary-to-text algorithm used to convert data as plain text in order to prevent data corruption during transmission between different storage mediums. In addition, it is often used to embed binary data into text documents such as HTML, CSS, JavaScript, or XML. Given the high popularity of the algorithm, Base64 is well documented, is supported by various programming languages, has spawned several modifications, and, of course, has its own specification.

Read more »

rainbow

Rainbow is a ruby gem for colorizing printed text on ANSI terminals.

It provides a string presenter object, which adds several methods to your strings for wrapping them in ANSI escape code - Wikipedia - https://en.wikipedia.org/wiki/ANSI_escape_code. These codes when printed in a terminal change text attributes like text color, background color, intensity etc.

Read more »

valid_email2

Validate emails with the help of the mail gem instead of some clunky regexp. Aditionally validate that the domain has a MX record. Optionally validate against a static list of disposable email services - https://github.com/micke/valid_email2/blob/master/config/disposable_email_domains.txt. Optionally validate that the email is not subaddressed ([RFC5233 - https://tools.ietf.org/html/rfc5233]{https://tools.ietf.org/html/rfc5233}).

Read more »
0%