We tried to use Generic type in a WPF custom control, but later we realized WPF Xaml does not support generic type well, so either we use another non-generic class to wrap the custom control, or avoid using generic type in WPF custom control.
This is for recording.
Don’t know why PHP’s official manual is so confusing for the str_replace function. Replace a substring.
Since most of time we just want to replace a substring from the original string, so here we just give a simple example:
Continue reading “Replace a substring in PHP str_replace”
When you try to use StringFormat binding for a GroupBox Header in WPF, you might find it does not work! Some people mentioned there is a HeaderStringFormat but not StringFormat, but at least in .NET 4.5, we can not find out a HeaderStringFormat.
Continue reading “WPF GroupBox Header StringFormat Binding”
Microsoft has MSDN their online document resources and they have been there for many years. But, in 2016, Microsoft released a new document platform which is docs.microsoft.com, the at that time the new document website was still preview version.
Continue reading “Microsoft’s Help Document Websites”
Style.css and functions.php files are normally modified in WordPress child theme, we can find lots of example about how to do on them. However, when we had a chance to modify template-tags.php in child theme, we spent some time to find solution.
Continue reading “template-tags.php in WordPress Child Theme”
If you want to create a mobile app to read some data from your car or any other common vehicles, you might consider to use OpenXC, which is an open API to help your development.
Continue reading “OpenXC: Open Source API For Vehicle Mobile Apps”
When we use Visual Studio 2015 or 2017, we see the Git feature is provided by default. At least, we do not need to install Git separately, Git can be installed with Visual Studio together. When new cross platform supported Visual Studio Code came, we thought it will come with Git together by default. But actually it is NOT. At least, in current newest version 1.19.3.
Continue reading “Visual Studio Code Does NOT Come With Git Installation by Default”
Never heard all devices including PC, Tablet, Android Phone, iPhone… etc could be attached by same thing: recently discovered security threat – Meltdonwn and Spectre.
Please read here.
Microsoft Connect(); 2017 sessions available at Channel 9
Here is the link