On a recent project we needed to generate a PDF using Prawn. The PDF has links from a list of contents into a table. The normal way (when not using a table) for adding internal links is to do the...
Read more →
Bash gives us a very simple way of sending a UDP packet to an IP address and port: echo "This is my data" /dev/udp/127.0.0.1/3000 This example will send a UDP packet containing 'This is my data'...
Read more →
After importing a module in python use the following to find out where it was imported from: import astroid astroid.__file__ '/usr/local/lib/python2.7/dist-packages/astroid/__init__.pyc' This is...
Read more →