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…
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…
.Maui respects your privacy. To register to our services, we will give you the opportunity to do so via Telegram, without giving us your email. To do so, look in Telegram and search for @DotMauiBot,…
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…
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…
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…
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,…
To know your ip address just use one of the many services available online. This service is also available on dotmaui.com, free and without annoying advertising, at the address: https://dotmaui.com/my-ip/ For those who want to…
Here is a list of useful JS and CSS resources with CDN that you can include in your sites. Obviously free and with HTTPS protocol. jQuery https://cdn.dotmaui.com/libs/js/jquery-3.2.1.min.js https://code.jquery.com/jquery-3.2.1.min.js https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js jQuery UI https://code.jquery.com/ui/1.12.1/jquery-ui.min.js jQuery Mobile…
Remove script tags (or other types of tags) from a string in PHP is really easy, here’s how: <?php $html = <<<HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="https://cdn.dotmaui.com/dotmaui/css/dark.css" /> <script> alert('1') </script> <script…
To process files with a .htm or .html file extension as PHP files you must add the following line to the file.htaccess (if this file does not exist, create it on the site ROOT). AddType…