Check all open network ports Using lsof lsof is a command meaning “list open files”, which is used in many Unix-like systems to report a list of all open files and the processes that opened them. example, listing all open ports: Using netstat netstat (“network statistics”) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, …
Adding and retrieving comments on PostgreSQL tables
Adding comments in PostgreSQL is not as obvious as it is in MySQL. They cannot be added inline, we need to use an additional query in order to generate them. Creating comments Lets create an example table : For adding comments to this table we just need to run the following commands: Retrieving comments Retrieving comments it’s a bit different …
How to install uWSGI with asyncio on Mac (OS X 10.10 Yosemite)
The installation of uWSGI + Asyncio is defined in the uWSGI documentation however I’ve run into many troubles. So in this tutorial I’m trying to make it a bit easier. I’m assuming that you have Homebrew, Python 3.4 and Virtualenv already installed. If that’s not the case, you should follow this tutorial first. Installing Greenlet First thing we need to …