Render PDF
If filename is the absolute path to pdf file:
If filename is the absolute path to pdf file:
Before a while I had the idea to setup my own Gitlab instance to manage my git repositories on my own server. In order to install Gitlab, I ran into a few problems, because I’m already using ISPConfig as administration panel for my root server. Hence I am slightly going to migrate my whole hosting […]
As for Magento 1 it is possible to override classes in Magento 2 as well. Don’t get me wrong. It is not recommended to override classes or methods. It should be the really last resort. Use a plugin or an observer whenever possible. But sometimes the code you’re working against isn’t suitable for one of […]
This short tutorial shows how to create Symlinks in Windows 10 using the standard command prompt (cmd) or the Microsoft PowerShell as well.
Today I stumbled upon the fact that my KODI based media box (Raspberry Pi 4) is still using a dynamic IPv4 address. Hence I want to connect via ssh regularly, I had to set a static IP on LibreElec (former OpenELEC) which my KODI mediacenter is running on. To achieve that, I had to connect […]
All standard attribute types available in Akeneo are listed in “\Akeneo\Pim\Structure\Component\AttributeTypes” (File: src/Akeneo/Pim/Structure/Component/AttributeTypes.php). <?php namespace Akeneo\Pim\Structure\Component; /** * Attribute types dictionary * * @author Willy Mesnage <willy.mesnage@akeneo.com> * @copyright 2015 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ final class AttributeTypes { const BOOLEAN = ‘pim_catalog_boolean’; const DATE = ‘pim_catalog_date’; const […]
New Thing on Thingiverse Recently I realised, that my girlfriend had some FloppyDisk left and wanted to throw them into trash! :-O Hence these awesome relics of computer history reminded me of my childhood and youth, I decided to build something new out of them. To be creative so to say! 😀 As a result […]
Its easy to create a bcrypt hash on commandline with this command: $> htpasswd -nbBC 10 USER PASSWORD Just replace the Placeholder USER and PASSWORD with the corresponding values. The Result should be something like that: USER:$2y$10$gfPbhclOrdjmMLEXSc5CTOWP5aBfjl59hhGvjp/qWXf1FfbQKb5ca The part before “:” is the username. The rest is the bcrypt password hash. The -C parameter specifies […]
This weekend my HomeMatic CCU2 told me, that there is a firmware upgrade for my heating thermostats available. Hence I had some tiny problems during the upgrade process, I decided to write this short how-to.
This tiny tutorial describes how to capture a screenshot of a scrollable iframe in most modern browsers.