My last Pi’s was one of the first ones (2x USB) from around 2012/13. I just bought the new Pi 3, but not all was straight forward… First of all, the filesystem is limited to 3,5 GB of my 16GB SD Card – after creating it with the Win32 Disk Imager and the default Raspbian image. «df -h» shows that …
Some simple Powershell cmd
I will use this post to update some simple Powershell commands. A cheatsheet that I can share with others 🙂 To get the serial number from a computer run the following PowerShell command: gwmi win32_bios | fl SerialNumber To get more information e.g. bios version and manufacturer just run: gwmi win32_bios
Create a bootable USB to Install ISO from (Linux/Windows…)
Rufus is a easy program that does this for you Download Rufus Run program. Check that the Device is correct. Select ISO (by clicking small CD-rom button at the left… Where it’s written «Create a bootable disk using…») Click Start. The other way Check this link, to do it the hard commando-line-style way – or check one of my old blog post (in Norwegian). …
PHP error: child pid 1234 exit signal Segmentation fault (11)
Just wasted a couple of hours troubleshooting the PHP error: AH00052: child pid 2460 exit signal Segmentation fault (11). The browser (Google Chrome) just returned: ERR_EMPTY_RESPONSE. The /var/log/httpd/my_virtual_domain-error_log didn’t say anything. But the default /var/log/httpd/error_log printed this error [core:notice] [pid 1400] AH00052: child pid 2682 exit signal Segmentation fault (11) for every page request. The problem was actually a PHP recursive error, which …
Centos and Inodes
In progress… This post will be updated if I get any more information/fixes… I currently have a web-server (Centos6) hosted at a third-party. Today the Inodes usage was 100% for the second time in 3 months. It looks like it’s the PHP sessions that fills up. Last time I tried to edit the session-settings in php.ini, but didn’t seem to have any affect, …
Use PHP Composer with an existing project
I have been aware of what PHP Composer has been for a long time, but I never used it before these last days. My goal was to «install» Adldap2 and replace it with the first deprecated version. This wasn’t as straight forward as I thought, because of bad or not relevant documentation everywhere. Almost every documentation about PHP Composer shows what …
WebGUI on ESXi (Howto)
Just installed installed ESXi Embedded host client on my ESXi server to get a Web GUI, instead of using the vSphare console. See my post about my ESXi here (Written in Norwegian). Guide: Download here: https://labs.vmware.com/flings/esxi-embedded-host-client See this video: https://www.youtube.com/watch?v=JRb2BeWSI_4 If video doesn’t work, or you just wan’t a short step-by-step: Download the ESXi Embedded host client. Upload the file …
PHP snippet: Norwegian holidays
Here is a little function to find Norwegian holidays in PHP. The holidays are returned in array with Unix timestamp as key and name of the day as value.
Nissan Connect: New iPhone app
To follow-up the article “Why not to buy Nissan Leaf or Grundig Television”, Nissan actually released a brand new app to the iPhone now. I think it’s appropriate to mention a few words about their new app, since I wrote that this was one of the reasons why not to buy a Nissan Leaf. Why Carwings was a problem? I …
Testing Fibaro Smoke Sensor with Tellstick Znet Lite
I successfully tested the Fibaro smoke sensor with my (Telldus) Tellstick Znet Lite today. Summary: Add it to Association Group 2 under Device settings in Telldus Live. Test it with REAL smoke, as test-alarm won’t trigger. The Fibaro smoke sensor …is actually a beautiful little thing, compared to other ugly smoke sensors. It has some nice features like tamper-protection/alert and …