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 […]
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.
if sys.platform in ['linux', 'linux2']:
cmd = "ls -d /home/$USER/.mozilla/firefox/*.default/"
p = subprocess.Popen([cmd], shell=True, stdout=subprocess.PIPE)
FF_PRF_DIR = p.communicate()[0:-2]
FF_PRF_DIR_DEFAULT = str(FF_PRF_DIR,'utf-8')
elif sys.platform == 'win32':
APPDATA = os.getenv('APPDATA')
FF_PRF_DIR = "%s\\Mozilla\\Firefox\\Profiles\\" % APPDATA
PATTERN = FF_PRF_DIR + "*default*"
FF_PRF_DIR_DEFAULT = glob.glob(PATTERN)
Dear contributors, friends and fans: openSUSE 13.2 is out! After one year on continuous improvement in the tools and procedures and many hours of developing, packaging, testing and fixing issues a new stable release is here providing the best that Free and Open Source has to offer with our special green touch: stable, innovative and […]