Step 1: Download PHP Download PHP from here: https://www.php.net/downloads.php, click on Windows downloads. I just downloaded the .zip file at the top: VC15 x64 Non Thread Safe (2020-Mar-17 16:16:15)Zip [24.78MB]sha256: 1a1a90e07dfcc3b5b0f1847c2de58c7bf5386e5dd4616d680fe8bee27a24985e Extract .zip file I extracted it to C:/data/php-7.4.4-nts-Win32-vc15-x64 Step 2: Add environment path I found this article with some nice images: https://www.forevolve.com/en/articles/2016/10/27/how-to-add-your-php-runtime-directory-to-your-windows-10-path-environment-variable/ Basically you have to: Go to System …
Disk on Home Assistant almost full
For a long time, the disk on Home Assistant box has been slowly filling up. I found that is was the MySQL DB docker container that took up all the space. My setup My Home Assistant runs in docker on an old Dell 7010 with Ubuntu 18.04. Data is recorded in another MySQL docker container. The HA container is running …
Home Assistant
Home Assistant is probably the most flexible and powerful smart home-gateway at this moment!
Using Adldap2
I have been using Adldap v4.x at my work for a while now. After installing a test-server with PHP7, I found that the Adldap needed to be updated. I started with Adldap 5.x, but in the middle of the testing, it looked like the Adldap-project wasn’t maintained anymore. So I had to jump over to Adldap2, which wasn’t as straight …
Digital signage (Infoskjerm)
Today I released a new version of Infoplakat.no, which is a web-application for digital signage (info screen). The application is only available in Norwegian at this moment, but are hoping to translate in to other languages in the future.
Crontab (Linux/CentOS 7) – More frequent than 1 minute
Setting up crontab Open and edit crontab file Add this line (Change the path to your own) This will open the cronscript.sh every minute. Create a new shell-script file The .sh script will open the cron.php every 15 secounds. PHP cronjob manager THIS IS NOT NEEDED TO USE CRONTAB – It’s just my own little crontab manager …
Linux (CentOS 7) cheat sheet
This is mostly a cheat sheet for myself that and it would be updated frequently. Find packages
HTML5: Take photo with webcam
I needed a simple way to take product images on a local webpage. Instead of taking a picture with you phone, send image to your computer and upload it – why not use a simple webcam?
Apache Virtual Hosts on CentOS 7
This is a short guide for creating to virtual hosts on Apache with CentOS 7. For detailed description, see source at the bottom. Use sudo in front of the commands if your not root. Create folders Give users permission to the folders Modify permissions to www-root Create a index.php file with some content on the web-folders we created. Create …
Hysnes fort
Søndag 14.09 tok jeg noen runder over Hysnes fort med dronen. Beklageligvis var batteriet til FPV-brillene flatt, så måtte fly sånn sett innenfor synsrekkevidde til en vær tid uten å se hva jeg egentlig filmet. Filmen ble derfor litt kortere og dårligere enn forventet, men fikk gjort det beste ut av det 🙂 Det er mye mer å se på …
- Page 1 of 2
- 1
- 2