Read the contents of an URL with Python

Python provides the urllib2 module that helps us in HTTP requests by defining functions and classes for redirecting, cookies, authentication and more. Here’s an example to take the content of a page and store it…

Install psycopg2 for python 3 via pip3

Install and Update Pip3: sudo apt install python3-pip sudo pip3 install –upgrade pip sudo pip3 install –upgrade setuptools Now launch the installation command for psycopg2: sudo pip3 install psycopg2 If it returns the following error:…

.Maui Loves Telegram

We think Telegram is the best instant messaging app and we love its privacy philosophy, in addition to its speed and security. For these reasons we have opened a Telegram channel where we will update…

How to write a jQuery like library

jQuery is a great JavaScript Library, it helps to write less and simplifies JavaScript programming But often there is no need to include jQuery, because the necessary functions are few.┬áIt might be fun and useful…

Free CDN for your files with dotmaui.com

There are several reasons why a CDN could benefit your website. All of these reasons are all well explained in this article, needless to repeat. That’s why we’ve been thinking of offering our registered users…

Capture a screenshot of a site easily with .Maui APIs

The .Maui APIs offer a Free URL to Screenshot API Service. The service is damn simple, here’s an example in Python: import urllib.parse import urllib.request page_url = “https://api.dotmaui.com/” image_name = “apidotmauicom.png” params = urllib.parse.urlencode({‘apikey’: ‘YOUR_API_KEY’,…

PHP: Some strings comparison functions

PHP is a very popular language for the development of Web sites. In our opinion, however, PHP has several gaps, including the lack of some strings comparison functions. Here are the three useful functions that,…