Ambient Light with AmbiBox + Arduino + Bluetooth HC-05 + WS2812b

Introduction From the first time I saw ambient light on tv, I always wanted to do something like this. Luckily, components required to do your own ambient light are not expensive, and it requires a bit of IT thinking and problem solving. In this tutorial, I will try to describe you the whole process of … Read moreAmbient Light with AmbiBox + Arduino + Bluetooth HC-05 + WS2812b

SharePoint SPWeb object Bad Language

If you are running your C# code in different thread (e.g.: async EventReceivers or TimerJob), sometimes you may notice, that your SPWeb object is initialized in different language. You can use SPUtility.SetThreadCulture method to set CurrentThread.CurrentUICulture and CurrentThread.CurrentCulture. MarekCurrently working as SharePoint Developer combining both back-end & front-end development scenarios. Also enthusiastic about Office 365 … Read moreSharePoint SPWeb object Bad Language

GetReferencedAssemblies not returning all referenced assemblies

GetReferencedAssemblies is used to retrieve all referenced assemblies by assembly. But sometimes this list is not complete, and does no contain all assemblies, that are simply added to project references in Visual Studio. The problem is, that assembly is loaded to¬†AppDomain “on demand” – lazy load – you must first “call/use something” from that assembly. … Read moreGetReferencedAssemblies not returning all referenced assemblies

Decode signed ZFO file and get XML Content programatically

ZFO files saves data in standart XML format, they can be opened by 602 XML Filler. But if you want get the content programatically, you need to use SignedCms class (on .net). Especially, Czech system for Data Messages (ISDS) sends signed ZFO file content from their web services. To get clean XML content, without signature … Read moreDecode signed ZFO file and get XML Content programatically