Tiny and simple webserver for Basico


Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

While developing the Dashboard module I had problems to display charts generated with Pygal. Charts can only be saved as SVG format (they can be saved as PNG files but I haven’t found any portable library to use easily in Windows). The first solution I came up with was to create an HTML file and […]

Get Firefox profile directory with Python (Linux and Windows)


Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/t00mlabs/blog.t00mlabs.net/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Piece of code used in Basico (util.py module) to get the default user’s Firefox profile directory. This profile must have the SAP Passport imported in the Certificate store.