Minify HTML API with PHP

Minimize HTML from an url with the .Maui APIs in PHP is quick, easy and free. It is necessary to register at dotmaui.com to get the free api key. To run this example, the CURL…

Compile and run a Python file

If you simply want to compile a file or group of python files from the terminal, the py_compile module can run as a script as follows: python -m py_compile file1.py file2.py file3.py Actually, to run…

Set and read cookies within JSP

How to read and create cookies in Java within JSP pages. This example will write the value sel cookie “username”. If the cookie does not exist it will be created and will be visible once…

Free Wildcard certificates starting from 2018

Let’s Encrypt will begin issuing wildcard certificates in January of 2018. A wildcard certificate can secure any number of subdomains of a base domain (e.g. *.example.com). Wildcard certificates will be offered free of charge via their upcoming…

Postgresql enable remote access

To enable remote access to a postgresql database from a computer or server, in Ubuntu server, first we need to know the ip of the computer in question, for example 92.58.201.162. Then, from the terminal,…