Install Spotify for Kodi (Krypton Jarvis)

I prefer to use Kodi on my Raspberry pi, its simple and running very well.
Unfortunately there is no native support for Spotify – Marcel van der Veldt to the rescue.

Marcel put up a nice music add-on for Spotify, it even works very will with Spotify Connect/Streaming devices.

  1. Download and copy the Marcelveldt Repository zip file to your Kodi box
  2. Open Kodi -> System -> Add-ons – > Install from zip file (if you copyed to another folder then the repository folder, the use “browse in root file system”)
  3. Install and wait for add-on enabled notification
  4. Go to install add-on from repository and select Marcelveldt’s Beta Repository.
  5. Select Music Add-ons
  6. Select Spotify
  7. Select Install
  8. Wait for add-on enabled notification
  9. Select Spotify
  10. Select Configure
  11. Add your Spotify username and Password
  12. Reboot

..And you’re done! 🙂

You can access your Spotify playlists from music add-ons.
Your device will also be visible for streaming to/from – I tested it from my iPhone 7, works great! 🙂

 

 

 

Multiple subdomains with LetsEncrypt? YES!

Need to add multiple subdomains with LetsEncrypt?
maybe Certificate for WWW and non-WWW?

do a dry run, to test it

./certbot-auto certonly -d originaldomain.com -d www.originaldomain.com -d new.originaldomain.com -d new2.originaldomain.com -d new3.originaldomain.com –dry-run

I tested it with apache2 works great!

Windows 10 hangs after patches May/17 (Windows Defender & Trend Micro)

There seems to be an issue with Trend Micro and Windows Defender after Windows/ Defender patches has been applied.

The quick workaround is to deploy are registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
The dword value should be 1: DisableAntiSpyware


In case it does not exist, go ahead and create it.
Restart and you should see things start working again.

If you have the issue, you should be able to deploy it using Group Policy Preferences.

NOTE: You can also enter safe mode and create the needed key.

Reference links:

https://technet.microsoft.com/en-us/library/cc749126(v=ws.10).aspx

https://docs.microsoft.com/en-us/windows/threat-protection/windows-defender-antivirus/deploy-manage-report-windows-defender-antivirus

https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode

 

Powering multiple USB devices

Powering devices trough USB is getting more and more common.
If you, like me, have multiple devices like Raspberry PI, Thinker Board, mfi etc etc.

You might want to use one single device to power them all, but what to use?
I’ve tried a few now, some of the devices not delivering the needed effect to the devices, unfortunately.

I ended up with a 50W 10 Ports USB Power supply.

Specifications:

Output: 5.0v-10A (each 2,4 max)
Input: 100-240VV -1.4A 50Hz-60Hz)
Model: XBX09L

its most commonly referred to as a traveling adapter, but works like a charm in your home “datacenter” or for charging multiple devices in your household.

My Setup:

I’m powering 5 Raspberry Pi’s (RPI3), 1 Tinker Board and 1 mFi Port.
For now its been running for 2 months with no issues or power cycles needed.

The Device:

The OEM model is £10 off ebay.

Also available on Amazon

Plug: EU/UK/US/AU
Color: Black/White

 

MCT Program Update: Office365

We are super excited to announce that MCT Software & Services subscription now includes a non-trial version of Office 365 Enterprise Developer. Many of you have been waiting for this for a long time and we have made it happen for you. Office 365 is no longer a one year free trial version. This is effective immediately.

Office 365 Enterprise Developer includes:
• Exchange Online
• Flow for Office 365
• Microsoft Planner, Microsoft Teams
• Mobile Device Management for Office 365
• Office 365 ProPlus
• Office Online for Developer
• PowerApps for Office 365
• SharePoint Online for Developer
• Skype for Business Online

Unable to create REFS file system on storage space with 3 drives

So it was time for a reinstallation, time to cleanup and maybe rethink a few things.          I installed Windows 10 1607 Enterprise x64.

I had my old storage space running, but wanted to add an additional disk.

I had to move some disks around, hence the disks was required to have the same block-size. When running the storage space wizard, I marked the disks to add and create the new pool from 

I wanted to go for ReFS this time (some comparison here: http://thesolving.com/storage/refs-vs-ntfs-comparison/)

 

When trying to format the storage spage, it would switch to deleting storage space and show the following error: The parameter is incorrect: (0x00000057)


 

I recall having seen a similar error in Windows 8, the solution was then to create a registry key, to allow for formatning over non mirrored volumes, specifically for ReFS.

Funny think, it was still needed.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT]
“AllowRefsFormatOverNonmirrorVolume”=dword:00000001

Download RegFile


 

Add the key, reboot and retry.

 

Activation tool to use Windows OEM Key from BIOS

A simple tool to extract and use the Windows activation key from BIOS.
The tool will extract the key Windows Management Instrumentation Command-line.
The key extracted will be install and activated using Windows Software Licensing Management Tool.

Tool is command-line based.

Can be used with your favorite client management tool

https://gallery.technet.microsoft.com/Activate-using-Windows-OEM-db93ca97

HTTP Error 500.0 – The FastCGI process exited unexpectedly

Link

Came across this error today:

HTTP Error 500.0 – Internal Server Error C:\PHP\php-cgi.exe – The FastCGI process exited unexpectedly

I was working on a Windows Server 2012 R2 with IIS installed.

After installing PHP 5.6 the error occured when trying to access any php files.
So apparently you need VC++ 11 runtime for PHP 5.5 or newer.
the solution was quick, download, install and iisreset (http://www.microsoft.com/en-us/download/details.aspx?id=30679)

Make sure you download and install the x86 version (vcredist_x86.exe), PHP on Windows isn’t 64 bit yet.

If you’re running PHP 5.4.x then you need to install the VC++9 runtime (http://www.microsoft.com/en-us/download/details.aspx?id=5582)

 

 

 

Remove dependency for msvcr120.dll/msvcp120.dll in release versions

I know that there are some questions about, how to include msvcr120.dll/msvcp120.dll into your project.

If you want to drop that dependency. If you compile the program in release version, in Visual Studio 2013/2015 and do not depend on any VS-specific commands (#pragma etc.) or precompiled headers etc.

If you want to compile it to one single release .exe and provide it to user WITHOUT demanding enduser to install VC++ Redistributes for VS

You can statically link the runtime to your project by setting the /MT flag. You can find this option in Visual Studio 2013/2015 under Project > [ProjectName] Properties… > Configuration Properties > C/C++ > Code Generation > Runtime Library. Make sure to only set it for the Release configuration.